Is there an SDK that will allow me to create a basic c# app to controll my z-wave devices? I don’t want to do anything crazy/fancy…mostly just want to play around - lights on/lights off.
BTW: My coding skills are super rusty.
Now I know about the SDK etc. I will dig around for more examples. Maybe I will be able to figure something out. Thanks for pointing me in the right direction.
Now I am trying to determine the status of the lights when the app loads. I have tried and tried to do it by looking at the XML data. I probably have 50 IE tabs open to different XML docs and articles and no joy.
I am able to access the XML info but I can’t search it. It is driving me crazy. LOL. I am not a real programming and the XML learning curve is pretty high. Is there another way to get device status without parsing the XML? My guess is no…
Glad to see you made some progress and came up with something. Are you able to use json parsing in c#? This is the default of what vera uses as xml requires additional cpu time to process. So for your url you would use:
I think there is a way of getting a status of a device via http request. Hopefully someone can chime in here and provide an answer. I know you can get the status via luup code, I do not see why you can not via http request.
Thanks Garrett!! I think this might do the trick. I was just able to use the HTTP links to query one of my lamps and get the proper response code in C#. Now I am off to integrate it into my app. Maybe at a later date I will look at Json if I decide to do something more difficult.
I’m assuming the culprit is the action I’m using for the Dimmable switch - Where did you guys find the ref docs for this? Any help would be appreciated
BTW the response I get is the following:
ERROR: Device does not handle service/action