I have several virtual devices that I want to use purely as Status indicators within HSTouch. The basic command I'm using to update the status of the devices within HS is:
http://home.myhsserver.ca/JSON?&request=controldevicebylabel&ref=563&label=Open
However, I don't want these devices to be manually changable directly from within HSTouch nor the Web UI. Initially I tried checking "Status Only Device" on the device to get rid of the change buttons. However, when I do that, the API 'controldevicebylabel' stops working.
So then I unchecked it again, and tried hiding the devices from view. Except when I do that, the devices no longer become selectable to take the status from for HSTouch elements (ie the elements that I want to use to view the status of those devices).
I saw a few posts about trying to use setdeviceproperty but could not find adequate documentation around that option nor an example in the forum that actually worked to change the status and it's associated icon.
Any suggestions?
regards,
Paul
http://home.myhsserver.ca/JSON?&request=controldevicebylabel&ref=563&label=Open
However, I don't want these devices to be manually changable directly from within HSTouch nor the Web UI. Initially I tried checking "Status Only Device" on the device to get rid of the change buttons. However, when I do that, the API 'controldevicebylabel' stops working.
So then I unchecked it again, and tried hiding the devices from view. Except when I do that, the devices no longer become selectable to take the status from for HSTouch elements (ie the elements that I want to use to view the status of those devices).
I saw a few posts about trying to use setdeviceproperty but could not find adequate documentation around that option nor an example in the forum that actually worked to change the status and it's associated icon.
Any suggestions?
regards,
Paul
Comment