Hi there,
I’ve been struggling with this for a few days now, read a lot about it, specially The Hook Up page here or this, this and this but still have my Tasmota flashed plugs (Blitzwolf SHP6) turning on and off when loosing/catching the Wifi (eg. router rebooting after an update, when I turn on the wifi back, probably when losing wifi signal if low even though I got a good coverage). I understand this is probably because of a retain problem but I just can’t figure out what needs to be done exactly.
-
As MQTT broker, I use the built-in addon Mosquitto under hassio
-
In Tasmota (5 plugs under 7.0.0.3, 2 plugs under 8.1.0.2), all my plugs are PowerRetain on, PowerOnState 3 except for two of them that are PowerOnState 4 because they are used with the laundry appliances.
-
In Home Assistant, the plugs are
retain: false
- see the yaml :
- platform: mqtt
name: 'Blitzwolf SHP6 9087'
state_topic: 'stat/blitzwolfSHP6_9087/POWER'
command_topic: 'cmnd/blitzwolfSHP6_9087/POWER'
availability_topic: 'tele/blitzwolfSHP6_9087/LWT'
qos: 1
payload_on: 'ON'
payload_off: 'OFF'
payload_available: 'Online'
payload_not_available: 'Offline'
retain: false
Hopefully someone can help me on that one - Thanks