Comand line client for working with TP-Link HS110
gcc -Wall hs110_client.c -o hs110_client
./hs110_client IP [command]
Get system info:
$ ./hs110_client 192.168.1.2 "{\"system\":{\"get_sysinfo\":null}}"
Get power usage:
$ ./hs110_client 192.168.1.2 "{\"emeter\":{\"get_realtime\":null}}"
Full list of commands: https://github.com/kettenbach-it/FHEM-TPLink-HS110/blob/master/tplink-smarthome-commands.txt