Commit graph

36 commits

Author SHA1 Message Date
520370fb59 Return Arduino String object because of a wierd bug where the char* wasn't passing properly 2019-06-15 13:52:14 +01:00
d51b140050 Refactor Sensors to remove publish responsibility and instead return values. Add Screen class to output to OLED screen. 2019-03-03 21:37:31 +00:00
1513e5af70 More reorganisation 2019-03-03 08:58:19 +00:00
905ea49dc7 Reorganise definition settings 2019-03-03 08:36:40 +00:00
0e18b3371b Add ability for PWM controlled RGB. 2019-03-03 08:32:20 +00:00
059ebad84e Instantiate temperature sensor in entry file because it doesn't want to work in the class. 2019-02-02 08:36:07 +00:00
ccbbf6e4c1 Put in hack to reduce flickering issue. 2018-12-09 21:02:46 +00:00
c0c4e75db0 Change timezone offset to 8.5 hours 2018-11-29 22:17:46 +00:00
11c37b7180 Add support for PWM controlled white LED strip 2018-11-28 17:10:42 +00:00
20d0263812 Move network management stuff to own class 2018-10-07 16:09:43 +01:00
a3068a2d15 Move lighting logic in to its own class. Add definition guards around classes. 2018-10-07 15:20:14 +01:00
0052ac0169 Fix sunset not happening 2018-10-07 08:57:05 +01:00
427aae8351 Fix cloud cover calculations. Publish light indexes to MQTT for monitoring. 2018-10-06 18:10:17 +01:00
546a67a5ad Fix heat index limit 2018-09-26 17:08:56 +01:00
a311a69ca2 Hack to get around LINEARBLEND problem (for now, hopefully) 2018-09-26 16:08:57 +01:00
bdbaed972e Create custom pallete. Use more orange sunrise than red. 2018-09-26 09:54:30 +01:00
d69e3540cc Create custom pallete. Use more orange sunrise then red. 2018-09-26 09:46:49 +01:00
690c5575b3 Implement lightening 2018-09-22 14:39:16 +01:00
527cbc9429 Set limits on how much cloud cover can affect light output 2018-09-22 13:34:50 +01:00
e9114275ae Implement cloud cover 2018-09-22 13:04:05 +01:00
5ffc1b8b0c Start work on fetching weather 2018-09-22 10:39:57 +01:00
4567adf91b Move daylight info code in to own file. 2018-09-22 10:21:13 +01:00
9ebb45cdbe Move sensors in to own code file 2018-09-22 09:22:12 +01:00
9c01dc2435 Parse events every 3 hours. FIx variable types for proper calculations 2018-09-22 07:22:30 +01:00
1b18919543 FIx lighting maths 2018-09-22 07:09:43 +01:00
f383baae95 Make variable naming consistent. Organise things a bit. 2018-09-20 17:36:30 +01:00
386f405f15 Replace MQTT light switch with syncronised light 2018-09-20 17:30:29 +01:00
65dcc100e2 Merge from master 2018-09-19 22:18:01 +01:00
590ecc6de9 Add code to get and parse solar event data to syncronise lights with Inle Lake solar activity 2018-09-19 22:16:24 +01:00
948962b8a4 Remove redundant method 2018-09-19 22:10:36 +01:00
725d284723 Remove comment for PH probe links 2018-09-16 20:24:57 +01:00
346706bc2d Sort out colour 2018-09-16 19:43:15 +01:00
58ef89e943 Increase LED count 2018-09-16 18:30:02 +01:00
99019edd1d Lighting improvements 2018-09-16 15:40:44 +01:00
b134bc0334 DIsable sensors (for now) and add lighting 2018-09-16 11:50:22 +01:00
1e257669de Initial commit 2018-07-27 22:49:10 +01:00