Hi, I’m new in HA, I just setup everthing via DrZz’s guide on youtube.
I’ve flash sonoff sv to latest tasmota firmware 8.3.1, then set GPIO14 to switch2(10)，GPIO 4 to Relay2 (22) and put following commands in tamota console:
- Switchretain 1
- Powerretain 1
- switchtopic2 garagestate
- switchmode1 0
- switchmode2 2
I can see the status changes of reed switch in console
18:12:11 MQT: cmnd/garagestate/POWER2 = ON (retained)
18:12:13 MQT: cmnd/garagestate/POWER2 = OFF (retained)
But the two arrows do not turn to grey when I test the reed switch, they are always black
I do not know where I’m wrong, could anyone help me? please.
It works when I click any arrows, just can not see the status
My configuaration in HA
cover: - platform: mqtt name: garage state_topic: cmnd/garagestate/POWER2 command_topic: cmnd/sonoff/POWER payload_open: ON payload_close: ON payload_stop: ON state_open: ON state_closed: OFF optimistic: false