Commit graph

48 commits

Author SHA1 Message Date
Kai Lauterbach
2714e05173 Fixed typo in calculation 2023-05-12 07:04:25 +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
0773d7717f PWM test implementation bugfix 2023-05-11 18:17:08 +02:00
Kai Lauterbach
c2c2425283 Added a pwm test function 2023-05-11 16:48:59 +02:00
Kai Lauterbach
6e4b75025f Reduced memory consumption. Reduced steps per second to reach the brightness. 2023-05-11 11:48:07 +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
120a0e3efd First success full read of json data provided by timing editor webinterface. 2023-05-06 13:43:58 +02:00
Kai Lauterbach
3c69d8bc67 Fixed css mime type 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
3aabfcd58e Added comment 2023-05-03 16:40:39 +02:00
Kai Lauterbach
2a2e3844dc Added flash info print. 2023-05-03 16:21:45 +02:00
Kai Lauterbach
ebf587c73e Fixed config tab look. Rearranged html code. 2023-05-03 14:05:04 +02:00
Kai Lauterbach
caef7945b3 The html generation script removed all comments now from the output pages. Added DEV to the webpage header in development mode. 2023-05-03 11:51:37 +02:00
Kai Lauterbach
48fbf1f7aa Click on on/off on a power button will automatically apply the transition time now. 2023-05-02 14:32:40 +02:00
Kai Lauterbach
c973cf0ed0 First working version with the new html page generation out of SPIFFS files. 2023-05-02 13:46:25 +02:00
Kai Lauterbach
55821b8282 Non working version with replace functions 2023-05-02 09:04:21 +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
3dc7ebf263 Added development version identification define 2023-05-01 19:39:55 +02:00
Kai Lauterbach
a64e4f17cf Added a script which converts html pages into arduino strings. Added beta state code for html page generation. 2023-05-01 19:23:31 +02:00
Kai Lauterbach
301a9d1bea Reverted to old html code generation. 2023-05-01 19:00:00 +02:00
Kai Lauterbach
ad20f1742a Some improvements. 2023-05-01 18:37:33 +02:00
Kai Lauterbach
e9026c064d Replaced the html content by files 2023-05-01 15:55:42 +02:00
Kai Lauterbach
382486000c Replaced html page generation by cleaner version. 2023-05-01 11:18:15 +02:00
Kai Lauterbach
747f7dd985 Added pwm freq setting. 2023-04-30 19:54:16 +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
eb33c94bf2 html page improved. 2023-04-29 20:45:17 +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
c176603240 PWM modified to 8bit 2023-04-29 14:31:49 +02:00
Kai Lauterbach
2d635ba0c4 Fixed some webinterface missbehavior. transition time should be better now. 2023-04-29 12:40:14 +02:00
Kai Lauterbach
ebd742bd21 Fixed light power state in webinterface. Fixed PWM range. Added some output to show the eeprom values read o startup. Newline before several { fixed. 2023-04-29 12:05:13 +02:00
Kai Lauterbach
523292a2fe Fixed vertical line - is shown at the start in case that there is no point before or after the current time available. 2023-04-28 22:38:59 +02:00
Kai Lauterbach
e3454e7e10 Fixed pwm value output - as % now. 2023-04-28 19:49:52 +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
161a7e2a78 Added logic to send slider changes to the controller. Comments updated. 2023-04-27 19:26:06 +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
334dd19614 Added a webserver uri which prints out the tc data blocks json formatted 2023-04-27 13:39:07 +02:00
Kai Lauterbach
211b06ed62 First almost completely working timing controller. 2023-04-27 11:26:21 +02:00
Kai Lauterbach
7a96c055d7 Removed debug output 2023-04-26 09:52:09 +02:00
Kai Lauterbach
f51c0da0de Implemented time based transition timing 2023-04-25 20:06:04 +02:00
Kai Lauterbach
9e998f9c92 Fixed PWM calculation for Lumini p30 LED reef lamp. 2023-04-25 16:40:28 +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
4f0a191d0b Rediced read access to EEPROM by preloading data. Refactorized the setup function into separate functions. 2023-04-25 08:18:36 +02:00
Kai Lauterbach
143c037dd3 Initial commit 2023-04-24 20:26:49 +02:00