Commit Graph

183 Commits

Author SHA1 Message Date
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