Commit graph

138 commits

Author SHA1 Message Date
Kai Lauterbach
2446632324 Merge branch 'develop' 2023-05-10 11:02:00 +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
eea9c75c21 Minutes are only set in a step of 10 2023-05-10 08:24:54 +02:00
Kai Lauterbach
a14f3aa0d5 Added css rules to modify the html sliders 2023-05-09 13:41:07 +02:00
Kai Lauterbach
e7f0564ff0 Updated main branch webinterface content to the current development branch implementation. 2023-05-08 10:36:45 +02:00
Kai Lauterbach
c802ed1b3c Merge branch 'develop' 2023-05-08 10:34:50 +02:00
Kai Lauterbach
b41127e325 Removed old firmware binary 2023-05-08 10:28:38 +02:00
Kai Lauterbach
9844d9fca8 Removed the select boxes from the timing control editor and replaced them by sliders. 2023-05-08 10:27:35 +02:00
Kai Lauterbach
a6ac0be517 Replaces static code which generates the timing control data editor by a dynamic block. 2023-05-08 10:05:10 +02:00
Kai Lauterbach
967a3071af Lights control main page newline removed 2023-05-08 09:47:55 +02:00
Kai Lauterbach
25c2e8622f Added a toast message to the webinterface. 2023-05-08 09:46:25 +02:00
Kai Lauterbach
b95c73cfb5 Added a check which verifies the data in the timing data block editor 2023-05-08 09:30:37 +02:00
Kai Lauterbach
db6dff5a97 Empty line with spaces removed 2023-05-08 09:13:46 +02:00
Kai Lauterbach
90b6b36f26 Updated SPIFFS binary 2023-05-07 17:00:28 +02:00
Kai Lauterbach
bc74f68e15 Merge branch 'develop' 2023-05-07 16:57:47 +02:00
Kai Lauterbach
1ca1f3e6e3 Status output implemented - after click on a button 2023-05-07 16:57:24 +02:00
Kai Lauterbach
21952bd0e3 PNG of the schematics added. 2023-05-07 16:13:26 +02:00
Kai Lauterbach
3d54da7f75 First automatically updated timing edit plotly graph. 2023-05-07 11:31:52 +02:00
Kai Lauterbach
ba63edfc5f Fixed the range of the lights graph y axis (255 before 100 max after) 2023-05-07 09:45:18 +02:00
Kai Lauterbach
e7dbeac70b Updated firmware and spiffs binary files. 2023-05-07 07:58:40 +02:00
Kai Lauterbach
99e8a0fa82 Merge branch 'develop' 2023-05-07 07:53:41 +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
8f76e5d846 Added table container diff, misstakenly removed 2023-05-06 13:43:58 +02:00
Kai Lauterbach
60b110b4b9 Added first function to fill the editor with default values 2023-05-06 13:43:58 +02:00
Kai Lauterbach
de5dbda939 Newline added 2023-05-06 13:43:58 +02:00
Kai Lauterbach
402b63d680 Input types of tc edit modified 2023-05-06 13:43:58 +02:00
Kai Lauterbach
840443e46e Enabled mode css 2023-05-06 13:43:58 +02:00
Kai Lauterbach
6fec2cffaa Fixed CSS problem that the tabs are not working correct. 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
b328adb177 Added table update of timing editor 2023-05-06 13:43:58 +02:00
Kai Lauterbach
39dc462114 Fixed tab switching 2023-05-06 13:43:58 +02:00
Kai Lauterbach
d1a0aeb404 Indention fixed to save space 2023-05-06 13:43:58 +02:00
Kai Lauterbach
fe8b70a5b9 Indention fixed 2023-05-06 13:43:58 +02:00
Kai Lauterbach
2f7ce5019b Disabled console logging. 2023-05-05 10:16:52 +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
2025765fec Added primary bin files 2023-05-03 16:50:39 +02:00
Kai Lauterbach
fc9baddfbd Removed development setting for main branch 2023-05-03 16:46:35 +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
8f10cd9e8e Typo fixed 2023-05-03 14:17:06 +02:00
Kai Lauterbach
fa90339fea Fixed light power button optical handling. 2023-05-03 14:16:00 +02:00
Kai Lauterbach
ebf587c73e Fixed config tab look. Rearranged html code. 2023-05-03 14:05:04 +02:00
Kai Lauterbach
d015f5b31c Added a third tab and renamed the old one. Also updated the javascript code. 2023-05-03 12:49:39 +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
0de094eee2 Added non development binary 2023-05-02 15:05:48 +02:00
Kai Lauterbach
09aa8824f8 First stable development binary. 2023-05-02 14:40:02 +02:00
Kai Lauterbach
ea7c61f691 Disabled development for main branch. 2023-05-02 14:39:45 +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
6fd27bea16 Dos2unix and power link handling added. 2023-05-02 14:21:15 +02:00
Kai Lauterbach
1fe243fb27 The webinterface is splitted into two inner tabs now 2023-05-02 14:06:10 +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
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
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
b553db6206 Indention fixed 2023-04-27 13:51:00 +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
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
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