I"m on the latest version of Hassio.
I have tasmotized a couple of Sonoff Minis wtih V6.6
TasmoAdmin can see all the Minis and can control them correctly.
-
I am able to control them through the UI only when the payload is “2” as noted below. If I use a payload of “ON” and “OFF” I can only turn them ON, the OFF does not work.
-
The switch in the UI is acting like a momentary switch or button. When I click it, it turns on and then turns off. The mini will toggle correctly, but I have no visibility of the status, since the switch flipped to the off status. (I read something similar that was fixed on Tuya devices)
-
I can correctly control the Mini using the MQTT under Developer tools with the following commands:
topic:
cmnd/tas02_stairs_light/POWER
payload:
ON or OFF or Toggle or 1 or 0 or 2 (they all work correctly)
Here is the config for one of them
- platform: mqtt
name: "Tas02_stairs_light"
state_topic: "stat/tas02_stairs_light/RESULT"
value_template: '{{ value_json["POWER1"] }}'
command_topic: "cmnd/tas02_stairs_light/POWER1"
availability_topic: "tele/tas02_stairs_light/LWT"
qos: 1
payload_on: "2"
payload_off: "2"
payload_available: "Online"
payload_not_available: "Offline"
retain: true