Commit Graph

197 Commits

Author SHA1 Message Date
d3c56d3aa8
add validation to RGBColor 2020-03-24 00:26:06 -05:00
f947b9b1ab
add ls to lume 2020-03-24 00:25:46 -05:00
fe40294f52
rename variables 2020-03-22 14:41:54 -05:00
adc8b72e0e
add some default color constructors 2020-03-22 14:40:41 -05:00
7773883688
add set-white subcommand 2020-03-22 14:06:14 -05:00
7c27d173f4
refactor white constructors 2020-03-22 11:31:10 -05:00
dc4159550c
add new CLI tool called lume 2020-03-14 11:08:12 -05:00
de669f159e
remove scratch test cli tool 2020-03-12 16:47:38 -05:00
6a5e6d0753
forgot to add utils file 2020-03-08 13:47:21 -05:00
39a9d377d1
use pointers 2020-03-08 13:47:01 -05:00
73a666a216
make method naming more consistent 2020-03-07 20:06:22 -06:00
05566f480f
add SetDelta function 2020-03-07 20:02:37 -06:00
e39d81f6cc
add ListLights function 2020-03-06 23:00:21 -06:00
40a7a9d741
refactor client class again 2020-03-06 20:55:31 -06:00
c3b8d84968
there is no JSON response in fast mode 2020-03-06 01:34:28 -06:00
243d0f6f31
refactor SetState function 2020-03-06 01:28:39 -06:00
f58f523d35
handle HTTP statuses 2020-03-06 01:28:12 -06:00
43465c6ae9
extended response struct 2020-03-06 01:27:46 -06:00
3a94226aa8
fix float format string 2020-03-05 20:21:18 -06:00
46991b2ba3
fix up the default named white levels 2020-03-05 20:20:54 -06:00
2da20d6ec7
zero is valid 2020-03-05 20:20:16 -06:00
35a5b99bf4
add default preset white temperatures from the app 2020-03-02 23:52:41 -06:00
888f29383e
add User-Agent header 2020-03-01 11:27:26 -06:00
0427121975
add proper Content-Type header 2020-03-01 11:23:59 -06:00
de4a4a8643
restructured client 2020-02-29 23:15:39 -06:00
f4013e5672
add NamedColor type 2020-02-29 16:09:05 -06:00
e9a4d586b4
move remaining structs 2020-02-29 16:01:46 -06:00
cc6645fb48
move color code 2020-02-29 16:00:21 -06:00
becc179184
move light struct 2020-02-29 15:58:20 -06:00
37d3179662
move client structs 2020-02-29 15:57:32 -06:00
1c99d42224
separete light API 2020-02-29 15:56:03 -06:00
821bd26595
change variable name 2020-02-29 13:05:07 -06:00
bb5aec36a7
add Makefile 2020-02-29 12:55:28 -06:00
abc9e0a978
add new color structs 2020-02-29 12:54:56 -06:00
ad8315668e
change token variable names 2020-02-29 00:43:32 -06:00
0ccbc0aec6
added more error handling 2020-02-29 00:38:53 -06:00
ed55cc3fbf
handle 404 errors 2020-02-29 00:09:06 -06:00
2fbfe9cae8
add SetState method 2020-02-29 00:08:39 -06:00
cd04dd47b6
remove unnecessary pointers 2020-02-29 00:07:32 -06:00
fb36967670
add success logic 2020-02-28 22:15:40 -06:00
c0c49b6d7c
use struct for toggle endpoint 2020-02-28 22:14:55 -06:00
e05efa9d57
rename Session struct to Client 2020-02-28 21:56:33 -06:00
76cdfd3de3
add more methods 2020-02-28 19:34:59 -06:00
584c2b2ec5
more error handling, separate request function 2020-02-25 00:41:29 -06:00
57d7dd6f85
remove debug output 2020-02-23 21:13:31 -06:00
7358c00200
initial commit 2020-02-23 21:01:12 -06:00
25fd03b1b1 Initial commit 2020-02-24 02:57:02 +00:00