I’m at the very start of trying to support an RV thermo stat and have collected the MAC, UUID’s and commands from NRF connect. This is a successful log:
|V|15:35:33.890|Writing request to characteristic 0000ee01-0000-1000-8000-00805f9b34fb|
|---|---|---|
|D|15:35:33.891|gatt.writeCharacteristic(0000ee01-0000-1000-8000-00805f9b34fb, value=0x7B2254797065223A20224368616E6765222C224368616E676573223A207B227A6F6E65223A302C226D6F6465223A312C2022706F776572223A224F6E227D7D)|
|I|15:35:34.203|Data written to 0000ee01-0000-1000-8000-00805f9b34fb, value: (0x) 7B-22-54-79-70-65-22-3A-20-22-43-68-61-6E-67-65-22-2C-22-43-68-61-6E-67-65-73-22-3A-20-7B-22-7A-6F-6E-65-22-3A-30-2C-22-6D-6F-64-65-22-3A-31-2C-20-22-70-6F-77-65-72-22-3A-22-4F-6E-22-7D-7D, {Type: Change,Changes: {zone:0,mode:1, power:On}}|
|A|15:35:34.203|(0x) 7B-22-54-79-70-65-22-3A-20-22-43-68-61-6E-67-65-22-2C-22-43-68-61-6E-67-65-73-22-3A-20-7B-22-7A-6F-6E-65-22-3A-30-2C-22-6D-6F-64-65-22-3A-31-2C-20-22-70-6F-77-65-72-22-3A-22-4F-6E-22-7D-7D, {Type: Change,Changes: {zone:0,mode:1, power:On}} sent|
When I try and use the following config my device says its unsuccessful:
{
"ble_write_address": "24:DC:C3:21:05:EE",
"ble_write_service": "000000FF-0000-1000-8000-00805f9b34fb",
"ble_write_char": "0000EE01-0000-1000-8000-00805f9b34fb",
"ble_write_value": "7B2254797065223A20224368616E6765222C224368616E676573223A207B227A6F6E65223A302C226D6F6465223A312C2022706F776572223A224F6E227D7D",
"value_type": "HEX",
"ttl": 2,
"immediate": true
}
One quirk of the device I know for sure is you have to send a Write Request, but I’m pretty sure OpenMQTTGateway is doing that. Anyone had anything similar who might be able to point me in the right direction? I’m going on messing around with this for around 20 hours now.