add 'energy' command for realtime voltage/current/power stats from hs110.
This commit is contained in:
parent
7fabe4574c
commit
49cf14d92f
@ -45,7 +45,8 @@ commands = {'info' : '{"system":{"get_sysinfo":{}}}',
|
|||||||
'countdown': '{"count_down":{"get_rules":{}}}',
|
'countdown': '{"count_down":{"get_rules":{}}}',
|
||||||
'antitheft': '{"anti_theft":{"get_rules":{}}}',
|
'antitheft': '{"anti_theft":{"get_rules":{}}}',
|
||||||
'reboot' : '{"system":{"reboot":{"delay":1}}}',
|
'reboot' : '{"system":{"reboot":{"delay":1}}}',
|
||||||
'reset' : '{"system":{"reset":{"delay":1}}}'
|
'reset' : '{"system":{"reset":{"delay":1}}}',
|
||||||
|
'energy' : '{"emeter":{"get_realtime":{}}}'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Encryption and Decryption of TP-Link Smart Home Protocol
|
# Encryption and Decryption of TP-Link Smart Home Protocol
|
||||||
|
Loading…
Reference in New Issue
Block a user