Hello everyone,
I report here a small problem that I am having with a Shelly Plug S.
I use Home Assistant via MQTT, so I activated the MQTT configuration on the shelly, leaving everything by default except the QoS that I set to 1 and obviously I customized the MQTT prefix.
Here are some messages I receive on the MQTT broker:
shellies/mezzanine/plug/nas/relay/0/power 0.00
shellies/mezzanine/plug/nas/relay/0/energy 200
shellies/mezzanine/plug/nas/relay/0 off
shellies/mezzanine/plug/nas/temperatures 33.67
shellies/mezzanine/plug/nas/temperature_f 92.61
shellies/mezzanine/plug/nas/overtemperature 0
shellies/mezzanine/plug/nas/relay/0/power 0.00
shellies/mezzanine/plug/nas/relay/0/energy 200
shellies/mezzanine/plug/nas/relay/0 off
shellies/mezzanine/plug/nas/temperatures 33.67
shellies/mezzanine/plug/nas/temperature_f 92.61
shellies/mezzanine/plug/nas/overtemperature 0
shellies/mezzanine/plug/nas/relay/0 on
shellies/mezzanine/plug/nas/relay/0/power 1.94
shellies/mezzanine/plug/nas/relay/0/energy 200
shellies/mezzanine/plug/nas/relay/0/power 3.50
shellies/mezzanine/plug/nas/relay/0/energy 200
shellies/mezzanine/plug/nas/relay/0/power 22.52
shellies/mezzanine/plug/nas/relay/0/energy 200
shellies/mezzanine/plug/nas/relay/0/power 25.68
shellies/mezzanine/plug/nas/relay/0/energy 200
shellies/mezzanine/plug/nas/relay/0/power 27.87
shellies/mezzanine/plug/nas/relay/0/energy 200
shellies/mezzanine/plug/nas/relay/0/power 29.70
shellies/mezzanine/plug/nas/relay/0/energy 200
shellies/mezzanine/plug/nas/relay/0/power 32.13
shellies/mezzanine/plug/nas/relay/0/energy 200
shellies/mezzanine/plug/nas/relay/0/power 18.12
Alles anzeigen
In practice, as you can see, when the instantaneous absorption (topic power) fluctuates too much between one call and another, it happens that the shelly plug stops sending the other status messages (temperature, switch status, overtemperature).
Being the socket attached to a NAS, there may be that the absorption fluctuates, I guess mainly caused by the rotation of the disks, and as you can see it even oscillates by a few Watts more or less (from 29 to 32W and from 32W to 18W only in the last two calls).
Here it was even in the bootup phase of the NAS.
I tried to connect another load (such as the router for example) and the socket works correctly, sends the additional status messages correctly and constantly, indicating that the configuration, however, on the plug side, is correct. In this case the absorption fluctuates by a few mW.
There isn't the timestamp associated because this is the messages that receive the MQTT Broker (mosquitto, I use a raspberry 4 with raspbian OS), but I can say with certainty that the messages arrives to the broker every 10 seconds more or less, in groups of 3 (every 10 seconds I obtain 3 pairs of power/energy messages) and disappear the other status messages. When I switch off the NAS, the power stabilizes around 2 watts - standby - (oscillates between 2.30 and 2.70 watts, so few milliWatts), and the other status messages appear from nothing without touching anythings.
Has anyone else had this problem before? how did you solve?
Thank you very much
Best Regards,
Valerio