I have 3 sonoff switches with identical configuration, and they were working properly for a long time, but recently one of them start to disappearing. All of them is accessible via web, all of them is connected to mosquitto broker on Raspberry. But 192.168.10.145 is missing in HA
1538898788: New connection from 192.168.10.147 on port 1883.
1538898788: New client connected from 192.168.10.147 as DVES_2D839C (c1, k15, u’shx’).
1538898788: New connection from 192.168.10.145 on port 1883.
1538898788: New client connected from 192.168.10.145 as DVES_9EC82A (c1, k15, u’shx’).
1538898788: New connection from 192.168.10.146 on port 1883.
1538898788: New client connected from 192.168.10.146 as DVES_86D594 (c1, k15, u’shx’).
This one is missing now:
light:
#Sonoff
- platform: mqtt
name: "Sonoff light"
state_topic: "stat/sonoff_bath_light/POWER"
command_topic: "cmnd/sonoff_bath_light/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
This one is OK:
switch:
- platform: mqtt
name: "Sonoff fan"
state_topic: "stat/sonoff_bath_fan/POWER"
command_topic: "cmnd/sonoff_bath_fan/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true