Increase brightness with JSON?

  • 127 Views
  • Last Post 27 April 2015
eliashall posted this 22 April 2015

Is there a way to use JSON to run a script that will increment brightness or temperature on a device each time the script is executed?
this way you could have a script that would increase or decrease the setpoint each time it was run by one degree, or a light by 10%.



There's an API that will do it. You could also use a regular script to do the same thing.

Order By: Standard | Newest | Votes
Ryan-Scott posted this 24 April 2015

Is there a way to use JSON to run a script that will increment brightness or temperature on a device each time the script is executed?
this way you could have a script that would increase or decrease the setpoint each time it was run by one degree, or a light by 10%.



There's an API that will do it. You could also use a regular script to do the same thing.

eliashall posted this 25 April 2015

Sorry, I need a little more hand holding.
Do you have any sample code for the API calls? I need to be able to execute them from a windows command line.

Ryan-Scott posted this 27 April 2015

Sorry, I need a little more hand holding.
Do you have any sample code for the API calls? I need to be able to execute them from a windows command line.


I don't have one specifically for setting the level, but you could adopt this one to do it.

Close