I have 2 homeSeer systems in different locations. I'm currently setting a device value in 1 system from the other system using the script below (thank you Jon00!):
&hs.URLAction("http://<ip_address>/JSON?user=<user name>&pass=<password>&request=controldevicebyvalue&ref=<dev_ ref_ID>&value=<dev_value>", "GET", "", "")
This works great for sending a specific value that doesn't change. But what I would like to do now is have a device value that changes (i.e. temperature) in 1 system, set the device value in the other system.
I suspect the answer is with changing "controldevicebyvalue&ref=<dev_ref_ID>&value=<dev_value> " but I haven't been able to find the command or syntax on how to do it. If someone can point me in the right direction it would be appreciated.
&hs.URLAction("http://<ip_address>/JSON?user=<user name>&pass=<password>&request=controldevicebyvalue&ref=<dev_ ref_ID>&value=<dev_value>", "GET", "", "")
This works great for sending a specific value that doesn't change. But what I would like to do now is have a device value that changes (i.e. temperature) in 1 system, set the device value in the other system.
I suspect the answer is with changing "controldevicebyvalue&ref=<dev_ref_ID>&value=<dev_value> " but I haven't been able to find the command or syntax on how to do it. If someone can point me in the right direction it would be appreciated.
Comment