Sorry if this isn’t the right place for this question… If not, let me know where, and I’ll go re-ask… BUT, I’m trying to develop my own webpage… something that will be similar to, but a dynamic subset of, the dashboard. Basically, I want to have simple web pages on a device (ipad?) around the house that would have shortcuts to run scenes or control individual devices that are relevant for where the device is… Ie: in the basement, I might have a different page / view than in the livingroom…
What I’m toying with is a webpage written with Visual Studio Community edition (for convenience and familiarity, but willing to use other if needed) and I’ve got a quick test page deployed on which
I’ve figured out how to turn a regular lightswitch on/off with an HTTP request like this:
That server side “get” request would be triggered by a simple button press on a regular HTML page.
What I can’t figure out is how to set a DIMMER switch.
I’ve seen documentation and discussion that says it SHOULD be something like this:
and I’ve tried seemingly dozens of similar variations on the above, but can’t get anything to work.
So… I have a few questions…
First - Am I reinventing the wheel? Is there something out there that would be very configurable that I might not need to go through what I’m doing because someone already wrote it? Even if there is, I may continue, because this is going to FORCE me to learn Vera better, and will ultimately be more personalized when I get it to work, but if there’s something out there already, I’ll take a look…
Second - How SHOULD I be able to do what I am trying to do? And, probably even more importantly, what files can I look at, that would tell me how to interact with any given device from a 3rd party application? I assume there’s an XML file or SOMETHING for every device, and if I knew how to interpret that file, I could have answered this question for myself… Let’s say, for example that the next thing I want to do is to query the status of a power monitor device on the system. Where would I look in the device config to find out what syntax, and what pollable / controllable variables there are on any given device?
And… Third, although maybe most important of all, is there a BETTER way for me to be doing this? I’ve seen some documentation talking about an http request with
data_request?id=lu_action
and some with
data_request?id=action
Why the difference? How can I tell which one I should use?
Thanks in advance!! This whole vera thing has been awesome to begin to learn… cant wait to learn more!!
Steve