Shelly Plug S - MQTT Broker problem

  • 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:

    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

    Einmal editiert, zuletzt von Plain#Dew#32385 (22. April 2021 um 11:09)