@trollsoft wrote:
Hello all,
I try to move the automation intelligence (AI) to HA only and reduce the manual config files. Therefore I use MQTT autodiscovery (setoption19 1, setoption 30 1 for light), which works fine, BUT the switches (typically one switch) per Shelly are not shown - only relay and wifi-state (see picture):
I wish the switch state shows as a binary sensor, then I can work with it for example in Node-Red.
Via MQTT the Tasmota sends:
stat/sh-eg-gaeste/SWITCH1 = {“STATE”:“ON”}
14:45:21 MQT: stat/sh-eg-gaeste/RESULT = {“POWER”:“ON”}
14:45:21 MQT: stat/sh-eg-gaeste/POWER = ON
14:45:23 MQT: stat/sh-eg-gaeste/SWITCH1 = {“STATE”:“OFF”}but mqtt discovery obviously does not consider it a sensor to show.
I don’t know - is it a Tasmota configuration problem (where to search?) or is it a HA MQTT Discovery Issue (where to search)?
Thanks for your help,
br Florian
Posts: 1
Participants: 1