I am trying to start really simple but even then fail. My starting point is the test.aspx file that is included with HS3. I do see the site and it reports the HomeSeer version and the name of the z-wave plugin. So clearly it was able to establish a connection. What I did next is modify the Button1_Click function by simply executing the following:
hs.SetDeviceValueByRef(22, 99, True)
22 it the reference ID of my device. The value 99 represents ON. I also tried SetDeviceValue and SetDeviceValueByName. However, whenever I click on the button nothing happens. Any pointers how to get this to work?
Edit: Btw, is there a way to debug this? On the client side the button is rendered with type='submit' so I can't really do anything on the client side and I don't know how to intercept calls on the 'server side'.
hs.SetDeviceValueByRef(22, 99, True)
22 it the reference ID of my device. The value 99 represents ON. I also tried SetDeviceValue and SetDeviceValueByName. However, whenever I click on the button nothing happens. Any pointers how to get this to work?
Edit: Btw, is there a way to debug this? On the client side the button is rendered with type='submit' so I can't really do anything on the client side and I don't know how to intercept calls on the 'server side'.
Comment