Commit Graph

24 Commits

Author SHA1 Message Date
e9143b6ca8 Removed Edge class. Wasn't needed. Nodes and Corners are anough. 2021-01-18 05:51:56 +01:00
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
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
11dbea0302 LOGln now logs to a central syslog server, if available. 2021-01-16 13:41:46 +01:00
47cd48d572 We now accept and report state changes via JSON. Also added homeassistant MQTT autodiscovery. 2021-01-16 11:15:58 +00:00
a55e5e1ec2 Cleanup of stuff. 2021-01-10 16:34:06 +01:00
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
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
808112ebb0 Status is show during bootup and OTA by lighting some of the LEDs. 2021-01-10 16:29:30 +01:00
14f8e0fd3d Fixed short_corner calculation. 2021-01-10 16:28:08 +01:00
7651e46ee0 Speed can now be changed on-the-fly by setting speedup. 2021-01-10 16:27:49 +01:00
8fe03313ac Added "Effect" AM_STATIC ("static") and some more colors. 2021-01-08 22:22:06 +01:00
40efeee436 Corner.short_neighbours are now searched for based on the coordinates of the nodes. 2021-01-08 22:21:44 +01:00
2715d5aa6a Nodes now calculate their coordinates. But the code now only wirks with triangles. 2021-01-08 20:33:58 +01:00
d966d2ef8e Fixed MQTT stuff. 2021-01-08 17:10:46 +01:00
0d88dc3e0f Added ArduinoOTA to allow updating over-the-air. 2021-01-08 17:10:36 +01:00
31157453cb Handling MQTT commands formatted like HTTP requests. 2021-01-08 16:20:05 +01:00
bfc5f1dffe Added MQTT and WiFi support. 2021-01-08 05:54:55 +01:00
fa888bcfab color_blend_state extended from 0-255 to 0-1023 to allow slower / smoother effects. 2021-01-08 11:30:10 +01:00
77eaea81d1 Added different modes. For now there are AM_CORNERS and AM_NODES. 2021-01-06 11:51:11 +01:00
fdf357a3a1 Start random color changes in random places. 2021-01-04 12:58:47 +01:00
43916c3b78 It's working now! And looks quite nice. 2021-01-04 12:44:41 +01:00
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
3290c7e794 Initial commit 2021-01-03 17:12:47 +01:00