Commit Graph
100 Commits
Author SHA1 Message Date
Ollo eff23d14cf compile command updated 2021-10-29 22:33:22 +02:00
Ollo 2790a62175 buffer is filled with expected color 2021-10-28 21:26:08 +02:00
Ollo d5986470fe Added mqtt library 2021-10-28 21:09:49 +02:00
Ollo 19ff6d11c2 Ignore the shrinked LUA scripts, which are uploaded to the ESP 2021-10-28 21:06:49 +02:00
Ollo f021012a67 Update the time once a second 2021-04-04 19:17:15 +02:00
Ollo 9b113099aa Fixed minute colors 2021-04-03 14:57:39 +02:00
Ollo e10ad2fafc Dimm Boot process, and compile all modues 2021-04-03 14:19:32 +02:00
Ollo 1863ab15b9 Reconnect to MQTT if necessary (checked every 30 seconds) 2021-04-03 14:03:59 +02:00
Ollo 379233327c Update debug message 2021-04-03 13:28:10 +02:00
Ollo 8b58d4a39f All colors can be changed via MQTT 2021-04-03 13:15:37 +02:00
Ollo 23bcd36a34 Publishing is simulated, too 2021-04-03 12:55:27 +02:00
Ollo 6fbaec749a Removed usage of callback parameter 2021-04-03 12:42:23 +02:00
Ollo e497bbe48e Added MQTT client in simulation 2021-04-03 12:35:09 +02:00
Ollo 97bf9357f7 Custom configuration for the simulation can be added 2021-04-01 18:22:22 +02:00
Ollo 682201626c Parse MQTT connect function 2021-04-01 18:15:10 +02:00
Ollo 9508542158 All MQTT dummy function added 2021-03-26 22:44:18 +01:00
Ollo 41179c4afd set buffer with red, green and blue 2021-03-26 21:54:42 +01:00
Ollo 94e554843f Added MQTT simulation 2021-03-24 21:01:34 +01:00
Ollo 92a1c2c8d2 Only update in main loop 2021-03-23 21:48:57 +01:00
Ollo 667350781c row has one LED less 2021-03-23 21:32:53 +01:00
Ollo 7ef7efbdad MQTT status character updated 2021-03-21 21:05:27 +01:00
Ollo 7d60405877 Temperature must be compiled 2021-03-21 21:00:47 +01:00
Ollo 9cd54da774 Temperature library can be initialized 2021-03-21 20:52:27 +01:00
Ollo 91ab8609b9 Remote update worked 2021-03-21 20:38:03 +01:00
Ollo 7a2814d327 Remove compiled file before compiling 2021-03-21 20:37:53 +01:00
Ollo 116c30f5e5 Remote upgrade script detects clock successfully 2021-03-21 18:21:04 +01:00
Ollo c513f7c899 Status of mqtt connection 2021-03-21 18:00:07 +01:00
Ollo 3832e89afa Fixed ws2812 buffer on the target 2021-03-21 17:30:50 +01:00
Ollo 7939bf578d config file can be uploaded with this script, too 2021-03-21 16:06:26 +01:00
Ollo 2e77516d43 Show boot process 2021-03-21 15:31:05 +01:00
Ollo fd5ec411f1 Removed debug code 2021-03-21 15:12:37 +01:00
Ollo 2d7d1f65d5 Show minutes in the first 5 characters of the word 2021-03-21 15:05:53 +01:00
Ollo b06ee392ab refactored helper function to the beginning 2021-03-21 14:48:09 +01:00
Ollo 1ef3cf4f53 Less debugging in simulation 2021-03-21 14:14:51 +01:00
Ollo e2592cc774 More word decoding debug output 2021-03-21 14:13:48 +01:00
Ollo 4d4be95a3c Double buffer for simulation added 2021-03-20 17:46:33 +01:00
Ollo 447e17bb56 even lines are working 2021-03-20 17:24:54 +01:00
Ollo 273e8c5b64 simulation: Color to number convertion fixed 2021-03-20 16:57:44 +01:00
Ollo d4617d9861 Removed variable, as function was refactored 2021-03-20 16:28:38 +01:00
Ollo 93504e3d96 Fix reading color from buffer 2021-03-20 16:19:28 +01:00
Ollo e924b638f1 Handle not drawn characters 2021-03-20 16:19:03 +01:00
Ollo 6a70803b6c Internal variables for swapping 2021-03-20 16:07:05 +01:00
Ollo 070d5de729 Show IP if connected to Wifi 2021-03-20 15:49:54 +01:00
Ollo e7032a62b0 Offset between LUA and simulation adapted 2021-03-20 15:43:59 +01:00
Ollo 48b7751092 Output on panel added while starting 2021-03-19 19:55:15 +01:00
Ollo 54a3761cee Buffer filling works 2021-03-19 19:02:17 +01:00
Ollo db22d50c26 Adapted multithreadding 2021-03-19 18:45:07 +01:00
Ollo 639ce7ea72 swap line gets all as parameter 2021-03-19 18:44:41 +01:00
Ollo 5714c9f004 WS2812 Buffer added get-function 2021-03-19 18:36:52 +01:00
Ollo 37b551c3fc Added line swapping functionality 2021-03-19 18:21:41 +01:00
Ollo 6f7b4b111e next step: one argument, started 2021-03-18 21:58:59 +01:00
Ollo a7bec14521 Debug message on wrong parameter count added 2021-03-18 21:55:26 +01:00
Ollo feaddece6e Fixed generateLEDs call 2021-03-18 21:55:10 +01:00
Ollo a66f2839c3 Added timer ALARM constants 2021-03-18 21:50:44 +01:00
Ollo 238618b245 All functions implement, but not running 2021-03-18 21:38:26 +01:00
Ollo d1a67f1cb4 Fixed code for simulation 2021-03-18 21:38:10 +01:00
Ollo 890c84dfbd GPIO module added to simulation 2021-03-18 21:32:03 +01:00
Ollo efee1dab1f WS2812 Buffer is initialized in simulator, too 2021-03-18 21:05:20 +01:00
Ollo efadc4bc06 Merge branch 'master' of github.com:0110/Wordclock 2021-03-18 19:30:12 +01:00
Ollo 5f8aa3c221 adapted code to be executable in the simulation 2021-03-17 21:52:44 +01:00
Ollo 07e4ac2c43 Defined lua function with the correct amount of arguments 2021-03-17 21:47:48 +01:00
Ollo 780ea8f738 Fixed debug output 2021-03-16 22:12:54 +01:00
Ollo 87c157fd10 Simulation starts implementation of dynamic nodemcu tasks 2021-03-16 22:12:02 +01:00
Ollo cf74a0ae90 Added rgbBuffer as argument 2021-03-16 22:11:28 +01:00
Ollo 6b67a058cb Start displayword refactoring 2021-03-14 21:52:46 +01:00
Ollo d4f9e53ad4 Speedup initialization screen 2021-03-14 18:57:02 +01:00
Ollo 34e7f173fc Fixed WS2812 buffer manipulation 2021-03-14 16:52:53 +01:00
Ollo fc5bd38ac1 used new example with pipe based telnet server 2021-03-14 16:23:33 +01:00
Ollo eb1760cbaa Added pipe module to the firmware 2021-03-14 15:53:11 +01:00
Ollo 7b31b01259 Added serial debug information 2021-03-14 15:45:32 +01:00
Ollo 5fafff7abc Main function has buffer included 2021-03-14 14:13:46 +01:00
Ollo dcc660d8d6 Set connection status, if MQTT get disconnected 2021-03-14 13:44:54 +01:00
Ollo 9da84127f4 Formatting 2021-03-14 13:23:14 +01:00
Ollo b02392dc64 Refactored telnet code 2021-03-14 13:20:38 +01:00
Ollo bf360700d3 Different way to access table 2021-02-13 15:39:43 +01:00
Ollo c5a99e58f0 Documented parameter for diet tool once everything is working 2021-02-13 15:12:11 +01:00
Ollo 6232bf5180 Use table syntax to work with >lines< 2021-02-13 15:11:42 +01:00
Ollo 621cef2ab5 Extract IP address for telnet server from MQTT 2021-02-13 14:25:57 +01:00
Ollo d309315e28 Mainloop is stopped on upload 2021-02-13 14:17:58 +01:00
Ollo d1908c99c4 Brightness is published on mqtt 2021-02-13 13:39:40 +01:00
Ollo a355cff6e2 timecore and displayword needs to be compiled 2021-02-11 22:14:04 +01:00
Ollo 72734f1337 clear more variables 2021-02-11 21:48:05 +01:00
Ollo 744c36b8b5 Dump memory usage on several places 2021-02-11 21:33:06 +01:00
Ollo bb1aaa32a6 Changed architecture of lua modules 2021-02-11 21:23:32 +01:00
Ollo 407ea2d2fa Shrinked RTC to the necessary modules 2021-02-11 20:51:05 +01:00
Ollo b5f36e5445 Serial flashing while controller is running is possible 2021-02-10 23:05:54 +01:00
Ollo 3059744dd7 Update Readme 2021-02-10 21:51:11 +01:00
Ollo 712ddaafeb Renamed briPercent to briPer 2021-02-10 20:04:22 +01:00
Ollo e4b22a9921 Removed debug code in main; shrinked struct name in displayword 2021-02-10 19:55:07 +01:00
Ollo 40447dd521 Used more local variables 2021-02-10 19:45:28 +01:00
Ollo 7941501cc5 Shrinked wordclock struct 2021-02-10 19:45:08 +01:00
Ollo 84f5611a67 mqtt cleanup 2021-02-09 20:22:05 +01:00
Ollo 0857eb0e3c tweaked timings 2021-02-09 20:18:24 +01:00
Ollo 92276aff2d Less memory 2021-02-09 20:07:21 +01:00
Ollo 0b9e96518f Clock is booting without mqtt 2021-02-09 19:58:59 +01:00
Ollo 1f92adc195 Subfolder does not exist on esp8266 2021-02-08 19:51:54 +01:00
Ollo e9325a6c19 Second flash script added, to compress lua on the host, not on the ESP8266 2021-02-08 19:47:35 +01:00
Ollo 55e4c78572 Added folder for the compressed files 2021-02-08 19:20:12 +01:00
Ollo 404bb708db Webserver is running without compiling anything 2021-02-08 19:18:55 +01:00
Ollo 08f310c149 Further RAM optimization 2021-02-07 17:57:58 +01:00