Commit graph

31 commits

Author SHA1 Message Date
Kai Lauterbach
60334d3109 More debug messages disabled. 2023-05-14 10:42:49 +02:00
Kai Lauterbach
dec0695d92 Disabled some debug output. 2023-05-14 10:33:57 +02:00
Kai Lauterbach
9ad3db73bf Fixed target data block reading. Added some more debug output. 2023-05-14 10:29:00 +02:00
Kai Lauterbach
c177404a75 Added a FSM to the main loop to prevent resets and improved performance. Added some comment v-lines. Improved readability of the code. 2023-05-13 23:01:34 +02:00
Kai Lauterbach
7452882ea7 process_lightdata function fixed - division by 0 was possible. 2023-05-12 12:23:45 +02:00
Kai Lauterbach
9d02e054f5 Added brightness range check to brightness webserver set feature. Added a reset function to the timing control module. Fixed the pwm test feature by adding tc reset function call. 2023-05-11 19:37:17 +02:00
Kai Lauterbach
1efca24ff2 timing counter call added to the pwm test, updated the tc_update functions to check if the tc is anabled. 2023-05-11 18:21:55 +02:00
Kai Lauterbach
c2c2425283 Added a pwm test function 2023-05-11 16:48:59 +02:00
Kai Lauterbach
4cb1007062 Indention fixed. 2023-05-11 10:59:30 +02:00
Kai Lauterbach
93c9a02deb Added a bugfix which sets the correct light data 2023-05-11 07:46:12 +02:00
Kai Lauterbach
4b02bba607 Disabled slider button styles. Fixed minute range in tc editor. Fixed transition time after sliders were changed in non tc mode. Fixed indention in lights control thml page. Added color gradient to tc editor. 2023-05-10 10:48:50 +02:00
Kai Lauterbach
f935948402 Fixed end of the timing data setup, all values will be set to zero. 2023-05-10 08:33:12 +02:00
Kai Lauterbach
120a0e3efd First success full read of json data provided by timing editor webinterface. 2023-05-06 13:43:58 +02:00
Kai Lauterbach
975e0d140d Added some more code to the timing controller editor tab. 2023-05-06 13:43:58 +02:00
Kai Lauterbach
94a347d3d0 Extracted the javascript code to separate files. Added a initial table for configuring the tc data blocks.
Extracted the css styles into a separate file.
2023-05-05 10:16:30 +02:00
Kai Lauterbach
096849b6ef Added third tab which should represend the timing control data blocks editor. 2023-05-04 18:24:41 +02:00
Kai Lauterbach
3cbdf20e79 Fixed replacement of some placeholder. Added a timezone string to the config. 2023-05-02 08:03:14 +02:00
Kai Lauterbach
e0310f8c40 tc link switches in website are now automaticalle optical changes in relation to tc_enabled state. 2023-04-30 10:48:32 +02:00
Kai Lauterbach
75e5541e5e Fixed pwm start in case that the timing control mechanism is activated in a part of the data blocks. Updated tc link buttons to prevent reload of the web interface. 2023-04-29 20:30:42 +02:00
Kai Lauterbach
c31af61fc0 Added test if timing controller is enabled to the init function to prevent calling tc update. 2023-04-29 12:00:20 +02:00
Kai Lauterbach
26d43a6070 Added a slider for each light to show pwm state 2023-04-28 14:26:02 +02:00
Kai Lauterbach
ad31eb0748 Fixed vertical line position in tc data graph. Added current pwm info to state light=x output 2023-04-28 12:01:50 +02:00
Kai Lauterbach
c7c90ff4b0 Fixed time reading and timezone settings. Fixed vertical position in webinterface tc data graph. 2023-04-28 10:56:26 +02:00
Kai Lauterbach
fb98d1c28b Added dynamic handling of the on/off buttons of the lights. Added a graph which shows the current timing control data. 2023-04-27 16:40:27 +02:00
Kai Lauterbach
b553db6206 Indention fixed 2023-04-27 13:51:00 +02:00
Kai Lauterbach
99042a9792 Added functions to receive the tc data blocks as json and also to write the tc data blocks, json formatted, into the eeprom. 2023-04-27 13:38:41 +02:00
Kai Lauterbach
211b06ed62 First almost completely working timing controller. 2023-04-27 11:26:21 +02:00
Kai Lauterbach
f51c0da0de Implemented time based transition timing 2023-04-25 20:06:04 +02:00
Kai Lauterbach
0188bb763f Fixed NTP read and init of tc data block in RAM. 2023-04-25 15:35:04 +02:00
Kai Lauterbach
510f6756b0 Broken timing stuff 2023-04-25 14:32:42 +02:00
Kai Lauterbach
143c037dd3 Initial commit 2023-04-24 20:26:49 +02:00