I have a very simple config - tryinf to manage some Sonoff devices that have been flashed with the Tasmota firmware.
I can see instuctions / feedback, but whenevr I switch an item ON, it reverts back to off.
Logs show the following:
cmnd/sonoff-kieraroom/POWER OFF
stat/sonoff-kieraroom/RESULT {“POWER”:“OFF”}
stat/sonoff-kieraroom/POWER OFF
cmnd/sonoff-kieraroom/POWER ON
stat/sonoff-kieraroom/RESULT {“POWER”:“OFF”}
stat/sonoff-kieraroom/POWER OFF
Note that even when I send an ON command, the return status is still off.
Weirdly, if it is ON already, it switches off?
Openhab logs show the following when I attempt an ON in the sitemap:
21:09:38.081 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ‘kiera_heating’ received command ON
21:09:38.088 [INFO ] [smarthome.event.ItemStateChangedEvent] - kiera_heating changed from OFF to ON
21:09:38.127 [INFO ] [smarthome.event.ItemStateChangedEvent] - kiera_radiator_status changed from 0 to 1
21:09:38.227 [INFO ] [smarthome.event.ItemStateChangedEvent] - kiera_heating changed from ON to OFF
21:09:38.255 [INFO ] [smarthome.event.ItemStateChangedEvent] - kiera_radiator_status changed from 1 to 0
The switch in the sitemap appears to switch on and off as per logs above.
The Sonoff device shows only an OFF instruction.
Items file is very simple for this:
Switch kiera_heating “Kiera Room Heating”
{ mqtt=">[broker:cmnd/sonoff-kieraroom/POWER:command:*:default],
<[broker:stat/sonoff-kieraroom/POWER:state:default]" }
I have tried running this with ZERO rules in place!
Any ideas?