Tasmota flashed plugs turning on/off when loosing wifi (low signal, router reboot, wifi turning on back...)

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

1 Like

I too have seen this behavior… sometimes…
I haven’t investigated it much more than thinking, “huh that’s weird.” one time I rebooted my router, but it definitely was part of why it happened.
I also think I’ve rebooted my router without this happening, so it’s very strange and would love to know if it’s something with our MQTT brokers or the firmware.

I never check for updates, I should probably do that…
Watch I’ll loose connection to my devices now…

Anyone to help me on this, please ?