Commit Graph

30 Commits

Author SHA1 Message Date
Fabian Schlenz 8949041812 Added effect 'rainbow'. 2021-01-19 19:52:40 +00:00
Fabian Schlenz d9708d9159 Better reporting of the analyzed layout at startup. 2021-01-18 05:53:50 +01:00
Fabian Schlenz 5676b5d63c Fixed publish_current_state() 2021-01-18 05:53:11 +01:00
Fabian Schlenz e9143b6ca8 Removed Edge class. Wasn't needed. Nodes and Corners are anough. 2021-01-18 05:51:56 +01:00
Fabian Schlenz db76255a2c Changed the bootup order: Connecting to WiFi first allows us to send the logs of the layout analyzer via syslog. 2021-01-16 18:27:54 +01:00
Fabian Schlenz f4864dec05 Added a delay at bootup to allow pushing an OTA update in case of broken, looping code. 2021-01-16 18:15:17 +01:00
Fabian Schlenz 11dbea0302 LOGln now logs to a central syslog server, if available. 2021-01-16 13:41:46 +01:00
Fabian Schlenz 47cd48d572 We now accept and report state changes via JSON. Also added homeassistant MQTT autodiscovery. 2021-01-16 11:15:58 +00:00
Fabian Schlenz a55e5e1ec2 Cleanup of stuff. 2021-01-10 16:34:06 +01:00
Fabian Schlenz cc3bcb0370 Added a README with useful infos. 2021-01-10 16:33:48 +01:00
Fabian Schlenz 63bb2b43cf You can now define a maximum distance between colors to blend to during random effects in order to prevent extremely colorful displays. 2021-01-10 16:33:04 +01:00
Fabian Schlenz 4b3797f4fc Moved individual calls to node->draw() or corner->draw() to a single central call to show_all. 2021-01-10 16:30:53 +01:00
Fabian Schlenz 808112ebb0 Status is show during bootup and OTA by lighting some of the LEDs. 2021-01-10 16:29:30 +01:00
Fabian Schlenz 14f8e0fd3d Fixed short_corner calculation. 2021-01-10 16:28:08 +01:00
Fabian Schlenz 7651e46ee0 Speed can now be changed on-the-fly by setting `speedup`. 2021-01-10 16:27:49 +01:00
Fabian Schlenz 8fe03313ac Added "Effect" AM_STATIC ("static") and some more colors. 2021-01-08 22:22:06 +01:00
Fabian Schlenz 40efeee436 Corner.short_neighbours are now searched for based on the coordinates of the nodes. 2021-01-08 22:21:44 +01:00
Fabian Schlenz 2715d5aa6a Nodes now calculate their coordinates. But the code now only wirks with triangles. 2021-01-08 20:33:58 +01:00
Fabian Schlenz d966d2ef8e Fixed MQTT stuff. 2021-01-08 17:10:46 +01:00
Fabian Schlenz 0d88dc3e0f Added ArduinoOTA to allow updating over-the-air. 2021-01-08 17:10:36 +01:00
Fabian Schlenz 31157453cb Handling MQTT commands formatted like HTTP requests. 2021-01-08 16:20:05 +01:00
Fabian Schlenz 25b5891f98 Added include/config.h to gitignore. 2021-01-08 05:56:22 +01:00
Fabian Schlenz d7e8a8cbed Removed config.h. 2021-01-08 05:55:30 +01:00
Fabian Schlenz bfc5f1dffe Added MQTT and WiFi support. 2021-01-08 05:54:55 +01:00
Fabian Schlenz fa888bcfab color_blend_state extended from 0-255 to 0-1023 to allow slower / smoother effects. 2021-01-08 11:30:10 +01:00
Fabian Schlenz 77eaea81d1 Added different modes. For now there are AM_CORNERS and AM_NODES. 2021-01-06 11:51:11 +01:00
Fabian Schlenz fdf357a3a1 Start random color changes in random places. 2021-01-04 12:58:47 +01:00
Fabian Schlenz 43916c3b78 It's working now! And looks quite nice. 2021-01-04 12:44:41 +01:00
Fabian Schlenz 4092306eb1 WIP: Strange exceptions in Corner: Crashing when accessing _short_neighbours after a corner is finished animating. 2021-01-04 11:39:46 +01:00
Fabian Schlenz 3290c7e794 Initial commit 2021-01-03 17:12:47 +01:00