in this thread I talk about a "wattbox" that came with my house. Basically a switched outlet that I can control state via IP. You need to be a dealer to get a cloud account and access to the app, but you can control it from a web interface. Thought it might be handy to be able to reboot my modem, etc.
I tried the following script in HS# to turn the outlet off, but got authorization denied in the log. Figures, since I don't have that in the scipt.
&hs.urlaction("http://xxx.xxx.x.x/control.cgi?outlet=3&command=0", "GET", "", "")
The following is the API doc. can someone give me a quick tutorial on how to interpret this and what the script should look like? thanks. (PS, I have no idea what CRLF means).
https://www.snapav.com/wcsstore/Exte...API%20v2.0.pdf
I tried the following script in HS# to turn the outlet off, but got authorization denied in the log. Figures, since I don't have that in the scipt.
&hs.urlaction("http://xxx.xxx.x.x/control.cgi?outlet=3&command=0", "GET", "", "")
The following is the API doc. can someone give me a quick tutorial on how to interpret this and what the script should look like? thanks. (PS, I have no idea what CRLF means).
https://www.snapav.com/wcsstore/Exte...API%20v2.0.pdf
Comment