Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 1.61 KB

implemented-api.md

File metadata and controls

29 lines (27 loc) · 1.61 KB

shelly 1pm

implemented

api description
shellies//relay/0 to report status: on, off or overpower (the latter only for Shelly1PM)
shellies//relay/0/command accepts on, off or toggle and applies accordingly
shellies//relay/0/power reports instantaneous power in Watts
shellies//temperature reports internal device temperature in °C
shellies//temperature_f reports internal device temperature in °F
shellies//temperature_status reports Normal, High, Very High

implemented (but not existing in gen1)

api description
shellies//relay/0/voltage last measured voltage in Volts

not implemented

api description
shellies//input/0 reports the state of the SW terminal
shellies//input_event/0 reports input event and event counter, e.g.: {"event":"S","event_cnt":2} see /status for details
shellies//longpush/0 reports longpush state as 0 (shortpush) or 1 (longpush)
shellies//overtemperature reports 1 when device has overheated, normally 0
shellies//relay/0/energy reports an incrementing energy counter in Watt-minute
shellies//relay/0/overpower_value reports the value in Watts, on which an overpower condition is detected