Page 2 of 2

Re: General usage lost values

Posted: Saturday 27 July 2024 19:15
by FireWizard
Hi @sailmich,

You wrote:
Hello @FireWizard I have a plug S
This is a generation 1 device and you can find the API at: https://shelly-api-docs.shelly.cloud/ge ... plug-plugs

The data is published under the following topics.
MQTT topics used by Plug / PlugS (where <model> is either shellyplug or shellyplug-s):

shellies/<model>-<deviceid>/relay/0 to report status: on, off or overpower
shellies/<model>-<deviceid>/relay/0/power to report instantaneous power consumption rate in Watts
shellies/<model>-<deviceid>/relay/0/energy to report amount of energy consumed in Watt-minute
shellies/<model>-<deviceid>/relay/0/overpower_value reports the value in Watts, on which an overpower condition is detected
shellies/<model>-<deviceid>/relay/0/command accepts on, off or toggle and applies accordingly

Shelly PlugS adds:

shellies/shellyplug-s-<deviceid>/temperature reports internal device temperature in °C
shellies/shellyplug-s-<deviceid>/temperature_f reports internal device temperature in °F
shellies/shellyplug-s-<deviceid>/overtemperature reports 1 when device has overheated, normally 0
You can collect the data with the MQTT input node and use the desired topics.

Regards

Re: General usage lost values

Posted: Sunday 28 July 2024 12:23
by sailmich
Good morning @FireWizard, thanks for explanation and sharing. I really appreciate it.