NS Panel Sonoff With Tasmota and MQTT
Posted: Friday 24 June 2022 11:29
Hi !!
I embarked on the NSPanel adventure.
I use the "Autodiscovery of Tasmota Devices" plugin, which works wonderfully and it shows me the two switches as well as the temperature of the NSPanel (Internal).
Only, I don't know how to process the thermostat information received from the NSPanel in MQTT with the topic : tele/nspanel_7BE460/RESULT.
Handler::onMQTTPublish: device: nspanel_7BE460, cmnd: cmnd/nspanel_7BE460, tail: RESULT, message: {'NSPanel': {'ATCMode': 0, 'ATCExpect0': 24}}
I embarked on the NSPanel adventure.
I use the "Autodiscovery of Tasmota Devices" plugin, which works wonderfully and it shows me the two switches as well as the temperature of the NSPanel (Internal).
Only, I don't know how to process the thermostat information received from the NSPanel in MQTT with the topic : tele/nspanel_7BE460/RESULT.
Handler::onMQTTPublish: device: nspanel_7BE460, cmnd: cmnd/nspanel_7BE460, tail: RESULT, message: {'NSPanel': {'ATCMode': 0, 'ATCExpect0': 24}}
Code: Select all
022-06-24 06:29:48.073 MQTT Discovery: Received 57 bytes of data
2022-06-24 06:29:48.074 MQTT Discovery: 30 37 00 1a 74 65 6c 65 2f 6e 73 70 61 6e 65 6c 5f 37 42 45 07..tele/nspanel_7BE
2022-06-24 06:29:48.074 MQTT Discovery: 34 36 30 2f 52 45 53 55 4c 54 7b 22 4e 53 50 61 6e 65 6c 22 460/RESULT{"NSPanel"
2022-06-24 06:29:48.074 MQTT Discovery: 3a 7b 22 41 54 43 45 6e 61 62 6c 65 22 3a 31 7d 7d .. .. .. :{"ATCEnable":1}}
2022-06-24 06:29:48.075 MQTT Discovery: onMQTTPublish: tele/nspanel_7BE460/RESULT:b'{"NSPanel":{"ATCEnable":1}}'
2022-06-24 06:29:48.091 MQTT Tasmota: Received 57 bytes of data
2022-06-24 06:29:48.091 MQTT Tasmota: 30 37 00 1a 74 65 6c 65 2f 6e 73 70 61 6e 65 6c 5f 37 42 45 07..tele/nspanel_7BE
2022-06-24 06:29:48.091 MQTT Tasmota: 34 36 30 2f 52 45 53 55 4c 54 7b 22 4e 53 50 61 6e 65 6c 22 460/RESULT{"NSPanel"
2022-06-24 06:29:48.091 MQTT Tasmota: 3a 7b 22 41 54 43 45 6e 61 62 6c 65 22 3a 31 7d 7d .. .. .. :{"ATCEnable":1}}
2022-06-24 06:29:48.092 MQTT Tasmota: Handler::onMQTTPublish: topic: tele/nspanel_7BE460/RESULT
2022-06-24 06:29:48.092 MQTT Tasmota: Handler::onMQTTPublish: device: nspanel_7BE460, cmnd: cmnd/nspanel_7BE460, tail: RESULT, message: {'NSPanel': {'ATCEnable': 1}}
2022-06-24 06:29:48.092 MQTT Tasmota: tasmota::findDevices: fullName: nspanel_7BE460, Idxs [1, 2, 3]
2022-06-24 06:29:48.175 MQTT Discovery: Received 71 bytes of data
2022-06-24 06:29:48.175 MQTT Discovery: 30 45 00 1a 74 65 6c 65 2f 6e 73 70 61 6e 65 6c 5f 37 42 45 0E..tele/nspanel_7BE
2022-06-24 06:29:48.175 MQTT Discovery: 34 36 30 2f 52 45 53 55 4c 54 7b 22 4e 53 50 61 6e 65 6c 22 460/RESULT{"NSPanel"
2022-06-24 06:29:48.175 MQTT Discovery: 3a 7b 22 41 54 43 4d 6f 64 65 22 3a 30 2c 22 41 54 43 45 78 :{"ATCMode":0,"ATCEx
2022-06-24 06:29:48.175 MQTT Discovery: 70 65 63 74 30 22 3a 32 34 7d 7d .. .. .. .. .. .. .. .. .. pect0":24}}
2022-06-24 06:29:48.176 MQTT Discovery: onMQTTPublish: tele/nspanel_7BE460/RESULT:b'{"NSPanel":{"ATCMode":0,"ATCExpect0":24}}'
2022-06-24 06:29:48.193 MQTT Tasmota: Received 71 bytes of data
2022-06-24 06:29:48.193 MQTT Tasmota: 30 45 00 1a 74 65 6c 65 2f 6e 73 70 61 6e 65 6c 5f 37 42 45 0E..tele/nspanel_7BE
2022-06-24 06:29:48.193 MQTT Tasmota: 34 36 30 2f 52 45 53 55 4c 54 7b 22 4e 53 50 61 6e 65 6c 22 460/RESULT{"NSPanel"
2022-06-24 06:29:48.193 MQTT Tasmota: 3a 7b 22 41 54 43 4d 6f 64 65 22 3a 30 2c 22 41 54 43 45 78 :{"ATCMode":0,"ATCEx
2022-06-24 06:29:48.196 MQTT Tasmota: 70 65 63 74 30 22 3a 32 34 7d 7d .. .. .. .. .. .. .. .. .. pect0":24}}
2022-06-24 06:29:48.197 MQTT Tasmota: Handler::onMQTTPublish: topic: tele/nspanel_7BE460/RESULT
2022-06-24 06:29:48.197 MQTT Tasmota: Handler::onMQTTPublish: device: nspanel_7BE460, cmnd: cmnd/nspanel_7BE460, tail: RESULT, message: {'NSPanel': {'ATCMode': 0, 'ATCExpect0': 24}}
2022-06-24 06:29:48.197 MQTT Tasmota: tasmota::findDevices: fullName: nspanel_7BE460, Idxs [1, 2, 3]