Commit Graph
100 Commits
Author SHA1 Message Date
ollo f2b625f0cb Secure, that the 'space' leds in the middle are only positive numbers 2017-12-29 21:47:23 +01:00
ollo 068f4b62e2 More test passed 2017-02-28 19:14:09 +01:00
ollo 1051abbc45 First characters are counted and tested 2017-02-28 19:01:19 +01:00
ollo 24c5d23bef All tests passed (twenty after and twenty for sounds better 2017-02-28 18:52:29 +01:00
ollo e485f2a0bd More output for the test script 2017-02-28 18:50:43 +01:00
ollo 0085f9ae22 Added new function: count the amount of characters in a time to display (implemented for german) 2017-02-28 18:44:26 +01:00
ollo 467530bec1 Found more code, that is no longer necessary 2017-02-28 18:38:11 +01:00
ollo 4be4e3fcee Moved the three quarter logic into the wordclock module 2017-02-28 18:36:08 +01:00
ollo 0ec3e0c159 More documentation of function 2017-02-28 18:24:38 +01:00
ollo e42edd7ccc Twenty minutes before is used 2017-01-04 21:54:54 +01:00
ollo 542bd6613d Twenty after is used correct 2017-01-04 21:52:49 +01:00
ollo 2acd9af762 Color is transformed between RGB and GRB 2017-01-04 21:31:57 +01:00
ollo 9adf5b9ed7 Background color can be set 2017-01-03 14:46:09 +01:00
ollo 353e6f0117 Added another parameter to set the background color of the clock 2017-01-03 14:40:03 +01:00
ollo fba6a90085 Added another parameter to set the background color of the clock 2017-01-03 14:38:17 +01:00
ollo 11bf35f22e Stored color has now also the format: red, green, blue 2017-01-03 14:29:52 +01:00
ollo b0d64e4140 Immidealty update the variables, when storing a new configuration; Another name for the foreground color in HTML page 2017-01-03 14:27:30 +01:00
ollo cee1eeb6f3 Updated blacklisted files 2017-01-03 14:26:13 +01:00
ollo 84a36f2c6b Set baud rate to 115200 2017-01-03 14:07:23 +01:00
ollo 4ee159cba3 Try to reduce memory 2017-01-03 13:48:24 +01:00
ollo a68f7571e7 Stop parsing, when reboot is triggered 2017-01-03 13:38:56 +01:00
ollo 1bbfb7feee Send the answer 5 milliseconds after writing the file 2016-12-30 15:41:19 +01:00
ollo 38e591d061 Clear memory when safing configuration 2016-12-30 14:23:34 +01:00
ollo 4810985a54 Handle uninitialized constants 2016-12-30 14:16:19 +01:00
ollo b80a604b46 Only try to compile lua files 2016-12-30 13:39:22 +01:00
ollo 687a2bbbb9 More dynamic content is generated 2016-12-29 23:20:40 +01:00
ollo d2ad06abf1 More HTML5 2016-12-29 22:42:05 +01:00
ollo 8aa34ce408 More content in the page added; parsers skips the amount of read bytes, not the amount of sent bytes 2016-12-29 22:20:19 +01:00
ollo b99728ada6 Replace constants with dynamic content 2016-12-29 21:57:12 +01:00
ollo 60066bfca2 Comments updated 2016-12-29 21:32:37 +01:00
ollo d1ad170955 Frubi made me to make it RFC compatible 2016-12-29 21:27:27 +01:00
ollo 3cb00ff3df Webpage can be delivered, once 2016-12-29 21:01:15 +01:00
ollo a4eda884e3 use the Green,Red,Blue format for the new WS8266 2016-07-03 18:48:46 +02:00
ollo dc8c5b5361 WS2812 library changed with the last ROM update 2016-07-03 18:41:32 +02:00
ollo 6e8a35307e Automatically reboot the device after the inital flash 2016-07-03 18:41:09 +02:00
ollo eebe794df2 Documentation for the first setup updated 2016-06-23 20:45:07 +02:00
ollo 141b1b25d9 6k more RAM when used a minimalistic compiled firmware for this use-case 2016-06-23 20:36:21 +02:00
ollo 065caa4ddd Added Script to inital setup an ESP 2016-06-23 18:42:58 +02:00
ollo 28fca5989b Moved scripts around 2016-06-23 18:38:33 +02:00
ollo 28a5bdae85 The WLAN configuration can be done via the Access-Point mode 2016-06-23 18:35:12 +02:00
ollo 10fa0b67a6 Dreiviertel can be activated or deactivated 2016-06-19 23:09:43 +02:00
ollo d166fb68df Color can be set via the WebInterface 2016-06-19 22:48:44 +02:00
ollo 4ddbebd040 EIN is no longer EINS 2016-06-19 22:23:29 +02:00
ollo 8321e5f112 Directly show the time after finding the WiFi 2016-06-19 18:14:28 +02:00
ollo b1f702df75 Webserver can be accessed (sometimes... when no Wifi is found, or clock is newly setup 2016-06-19 18:09:33 +02:00
ollo 499cbcbbc5 Setupmode modes! 2016-06-19 17:48:39 +02:00
ollo 1dc2530d38 Moved the custom dofile-logic into the init fmodule 2016-06-19 17:04:30 +02:00
ollo d9f8d04f55 Extracted the webpage into a seperate file 2016-06-19 16:33:02 +02:00
ollo d25d3d55a7 More local variables; ~ 2k more RAM 2016-06-19 15:57:57 +02:00
ollo 1c0b5883b9 Work more with even less memory! what a terrible world :-/ 2016-06-19 00:50:18 +02:00
ollo 27ca03878c Timezone calculation ony once 2016-06-19 00:34:30 +02:00
ollo 7140717696 Added time synchronization again 2016-06-19 00:30:09 +02:00
ollo 6874d1545b The code is compiled 2016-06-19 00:08:21 +02:00
ollo 58eed3bef5 cleanup 2016-06-18 23:20:24 +02:00
ollo 4a97dbe0ca So so so! Clean code 2016-06-18 23:19:39 +02:00
ollo fc8ddab368 Webserver is included into the autostart 2016-06-18 19:46:23 +02:00
ollo 3e5327447b Integrated the configuration generation 2016-06-18 19:35:22 +02:00
ollo bab4c89d7b Added Boot snake 2016-06-18 19:12:31 +02:00
ollo 07852a6f25 Added Firmware from https://github.com/C3MA/ws2812-clock 2016-06-18 19:11:52 +02:00
ollo c19d33d24f Color can be set externally 2016-06-18 17:07:49 +02:00
ollo 16b9675a4b Moved logic into seperate file 2016-06-15 21:24:40 +02:00
ollo 0c8ab7155f LEDs are controlled 2016-06-07 23:30:13 +02:00
ollo b252453f1e Extracted LED generation into seperate function 2016-05-22 15:31:43 +02:00
ollo 309641c023 Merge branch 'master' of https://github.com/0110/Wordclock 2016-05-18 23:06:24 +02:00
ollo 61c97d7a20 When minute4 is reached, all LEDs are set to zero 2016-05-18 23:06:19 +02:00
ollo 67434714ee Integrated wordclock into main 2016-05-18 22:50:56 +02:00
ollo c431d93895 NTP integrated 2016-05-16 13:54:42 +02:00
ollo 1c7f3156ad Prepared main module 2016-05-16 11:15:48 +02:00
ollo 2c652c68dc Exclude the new testscript, as it is always generated with the same test values and must not stored therefore 2016-05-15 23:00:18 +02:00
ollo 1f73de74d2 Updated code after executing new testscript 2016-05-15 22:59:17 +02:00
ollo 8c81a73af9 New test script to generate all minutes and seconds for the last week in March and October 2016-05-15 22:58:10 +02:00
ollo 20171cfc48 Cleanup started 2016-05-15 18:16:52 +02:00
ollo 4de0b20d37 Added new function returing the current time for a given timezone also handling the summer and winter time 2016-05-15 17:31:22 +02:00
ollo 27dcb5e2fb Removed no longer used functions 2016-05-15 17:29:00 +02:00
ollo 591f0f496a Refactoring the summer time function needs an struct as parameter instead of each time variable on its own 2016-05-15 17:27:24 +02:00
ollo 7df7c53159 The function getUTCtime returns a struct'time' instead of all values seperatly 2016-05-15 16:37:55 +02:00
ollo b441e62a4d Successfully tested unixtimestamp to UTC time convertion 2016-05-15 16:21:16 +02:00
ollo 34e3f1a78e Renamed test for wordclock 2016-05-15 16:16:45 +02:00
ollo 6f77b7fa0a Tweaked some user output 2016-05-15 16:06:09 +02:00
ollo b1f70fdc9f Added some documentation for this folder; Updated the tests up to 2020 (testTimes.lua) to the new interface for summer and winter time calculation 2016-05-15 16:05:43 +02:00
ollo 7dabbb241c Added some comments for doxygen 2016-05-15 15:46:00 +02:00
ollo 8bb594d190 Refactored summer-time calcuating function. Now, only the state summertime or wintertime is returned 2016-05-15 15:44:19 +02:00
ollo 4793f3fe0e Removed unused code 2016-05-14 23:35:59 +02:00
ollo 3deaea6709 Fixed leap time calculation; tested unixtimestamp convertion for the years 2016 to 2020 2016-05-14 23:28:20 +02:00
ollo 2dccb0e09a Integrated unixtime to year, month, day, hour, minute, second, dayofweek convertion into the timecore module 2016-05-14 12:25:55 +02:00
ollo 20d367005d Moved around the firmware 2016-05-14 12:14:48 +02:00
ollo 4d661aaff4 Added month and day calculation 2016-05-14 00:22:47 +02:00
ollo c109fe41f8 NTP test 2016-05-04 23:23:49 +02:00
ollo a822ad20a9 New Operating system with SNTP integrated 2016-05-02 17:27:01 +02:00
ollo 1fe0a2b80c Minute 1 to 4 are also correctly set, next to the displayed logic 2016-04-20 17:51:28 +02:00
ollo bf3304cc38 Merge branch 'master' of https://github.com/0110/Wordclock 2016-04-20 17:41:41 +02:00
ollo a56817c018 Typo fixed 2016-04-17 16:21:01 +02:00
ollo 58f8779cd1 All summer and winter time is correctly generated. (Tested up to 2100) 2016-04-17 16:16:17 +02:00
ollo f6c675aae7 We need each hour at least once, not the first 24 minutes 2016-04-17 16:07:51 +02:00
ollo 69245dcb5b Renamed LUA script 2016-04-17 15:53:16 +02:00
ollo eccd23951a Generate until year 2100 2016-04-17 15:50:52 +02:00
ollo cf93603efc Script generates LUA file that can be executed 2016-04-17 15:37:25 +02:00
ollo 81c3dabd79 updated dependency 2016-04-12 21:11:50 +02:00
ollo 6c6b5ddae8 Removed software to run on the host into the unit folder 2016-04-12 21:11:11 +02:00
ollo 0c57c73de3 Removed software to run on the host into the unit folder 2016-04-12 21:10:52 +02:00