The HS server is chosen by the login. So if you want to just send a command to your HS server with login "joe", password "1234", you can do this:
Where ### is the reference # of the device you want to control and the label is the control string you want to send. You can get the control strings from the "Status/Graphics" tab in the device properties. You can get the device reference # from the Advanced tab.
USER and PASS are the username and password for the HS system you want to connect to. Note that if you have a premium account you can create multiple users, make sure that each user is set to access only ONE system, otherwise the call will fail.
There are some other JSON commands you can use if you want to control a device by some other means, or maybe just trigger an event that does the work.
Originally Posted by deanrparry
I am trying to do this remotely from work to home but i cannot get it to talk to the right server as i have two listed on myhs
Could you provide example of changing value in device 1234 for example if it was server #2 on myhs list