Hi,
I cant get my sitemap switch to update when using the sonoff switch or MQTT client.
Many thanks to the other MQTT posters as they have helped narrow down the issue.
I have a sonoff flashed with Tasmota, using mosquitto & MQTT spy. Mosquitto appears to be working ok.
The sonoff relay & light switches on & off ok, when I use the sitemap switch in OH2.
The sonoff relay & light switches on & off ok when I use “cmnd/bench/POWER ON” via MQTT spy
The sonoff relay & light switches on & off ok when I use the button on the sonoff
But when I use MQTTspy or the sonoff button it wont update the sitemap switch in OH2. Based on the posts I’ve read the other members who have had this problem added "
<[mosquitto:stat/bench/POWER:state:*:default]
My items file is
Switch mySwitch {mqtt="<[mosquitto:stat/bench/POWER:state:*:default],>[mosquitto:cmnd/bench/POWER:command:ON:1],>[mosquitto:cmnd/bench/POWER:command:OFF:0]", autoupdate="false"}
Any pointers would be greatly appreciated.