Now that my Toon is rooted I figured it shouldn't be too hard to actually find a way to resolve this. Many Toon features are called via web-type links or commands. Reading the smart meter values for instance via 192.168.1.11:10080/hdrv_zwave?action=ge ... vices.json. The output of the command includes a list of devices - not only the smart meter but also the Fibaro plugs configured in the system.
I could open the base URL http://192.168.1.11:10080/hdrv_zwave/index.html in any browser. This gives some sort of control panel with which you can switch on/off the Fibaro's. I traced what parameters were sent to the Toon to switch on/off and these are:
http://192.168.1.11:10080/hdrv_zwave?ac ... =4&state=1 for on and
http://192.168.1.11:10080/hdrv_zwave?ac ... =4&state=0 for off.
Scripting this turned out to be not very complex:
Code: Select all
curl --data "action=basicCommand&nodeID=4&state=1" http://192.168.1.11:10080/hdrv_zwave?
curl --data "action=basicCommand&nodeID=4&state=0" http://192.168.1.11:10080/hdrv_zwave?