Commit Graph

105 Commits

Author SHA1 Message Date
6afe13812a fix variable name 2020-03-26 02:16:08 -05:00
079b1a469d refactored command line tool 2020-03-24 19:12:35 -05:00
2283a91ab8 housekeeping 2020-03-24 18:41:56 -05:00
83c96812d7 fix typo 2020-03-24 18:33:22 -05:00
4420c20933 a full ANSI color library is not required yet 2020-03-24 09:14:22 -05:00
25172da555 move ls printing into separate function 2020-03-24 01:35:18 -05:00
f31fc298cd calculate column widths with less looping 2020-03-24 01:31:31 -05:00
7d8e5f8b92 deserialize as time 2020-03-24 00:26:22 -05:00
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