Olá amigos,
Estou com um problema que não consigo resolver. Tenho um interruptor Sonoff Touch que está desligando sozinho. Não sei se ele perde conexão e quando volta a luz fica apagada, ou se é configuração.
Abaixo está o log do console dele
` 00:00:00 Project closet Closet (Topic closet, Fallback closet, GroupTopic closet) Version 6.1.1-2_4_0
00:00:00 WIF: Connecting to AP1 XXXXXXXX in mode 11N as Closet...
00:00:05 WIF: Connected
00:00:05 DNS: Initialized
00:00:05 HTP: Web server active on Closet.local with IP address 192.168.0.113
00:00:07 MQT: Attempting connection...
00:00:07 MQT: Connected
00:00:07 MQT: tele/closet/LWT = Online (retained)
00:00:07 MQT: cmnd/closet/POWER =
00:00:07 MQT: tele/closet/INFO1 = {"Module":"Sonoff
Touch","Version":"6.1.1","FallbackTopic":"closet","GroupTopic":"closet"}
00:00:07 MQT: tele/closet/INFO2 =
{"WebServerMode":"Admin","Hostname":"Closet","IPAddress":"192.168.0.113"}
00:00:07 MQT: tele/closet/INFO3 = {"RestartReason":"Software/System restart"}
00:00:07 MQT: stat/closet/RESULT = {"POWER":"OFF"}
00:00:07 MQT: stat/closet/POWER = OFF (retained)
00:00:07 MQT: stat/closet/RESULT = {"POWER":"OFF"}
00:00:07 MQT: stat/closet/POWER = OFF (retained)
00:00:07 MQT: stat/closet/RESULT = {"POWER":"OFF"}
00:00:07 MQT: stat/closet/POWER = OFF (retained)
12:49:51 MQT: stat/closet/RESULT = {"POWER":"OFF"}
12:49:51 MQT: stat/closet/POWER = OFF (retained)
Abaixo segue o config.yaml
#### SONOFF TOUCH SANDRA´S CLOSET
- platform: mqtt
name: "Closet"
command_topic: "cmnd/closet/power"
state_topic: "stat/closet/POWER"
availability_topic: "tele/closet/LWT"
payload_available: "Online"
payload_not_available: "Offline"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
Abraços,