I'm playing around with some Philips Hue Light bulbs, and had the idea to control them via WD. I'm no wizard though, and everything I do is done by trial and error, rinse repeat, and so on. So before I use too much of my (not so) precious time, I was wondering if this can even be done?
So far I've been able to control the light via the standard Windows command prompt, using cURL and Json with the following command (which turns off light 1) as an example:
- Code: Select all
c:/curl --request PUT --data "{\"on\": false}" http://<IP>/api/<user>/lights/1/state
So, anybody able to chime in on whether this is translatable into something WD can work with? I've tried playing around with the JsonRequestToVar and JsonRequestItemToVar commands in WD, but to no avail.
Thank You In Advance