Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95480

Shelly1 with Tasmota 8.2 -> MQTT Discovery for switch (not relay)

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 95480

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>