mirror of
https://github.com/softScheck/tplink-smartplug
synced 2026-07-10 00:49:03 +02:00
add 'energy' command for realtime voltage/current/power stats from hs110.
This commit is contained in:
+2
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user