Smart Plug
value change
attribute | description |
---|---|
status | on / off |
load_voltage | voltage of the load device, unit: mV |
load_power | power of the load device, unit: W |
power_consumed | consumed power, unit: kWh |
{"cmd":"report","model":"plug","sid":"112316","short_id":4343,"token":"7","data":"{\"status\":\"on\"}" }
heartbeat (every 60 minutes)
{"cmd":"heartbeat","model":"plug","sid":"112316","short_id":4343,"token":"7","data":"{\" load_voltage \":\" 234300 \"}" , \" load_power \":\"9.57\", \" power_consumed \":\"0.57\"}"}
{"cmd":"write","model":"plug","sid":"112316","short_id":4343,"token":"8","data":"{\"status\":\"on\"}" }