Commit graph

57 commits

Author SHA1 Message Date
Kai Lauterbach 74a7a1e3a3 Added version info to the web interface, and the DEV string will only appear on development versions now. 2023-05-19 10:51:26 +02:00
Kai Lauterbach 5d1ea14e2e Added the functionality to rewrite the ip config by the web interface. 2023-05-19 10:21:36 +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 d336c047cb Splitted firmware main ino file into multiple separate files 2023-05-12 22:19:31 +02:00
Kai Lauterbach 7452882ea7 process_lightdata function fixed - division by 0 was possible. 2023-05-12 12:23:45 +02:00
Kai Lauterbach 076a81a101 Switch off of the lights fixed. brightness will be set to 0 now. PWM frequency set to 500Hz. 2023-05-12 12:19:00 +02:00
Kai Lauterbach c974e394d8 Added range checks 2023-05-12 11:43:27 +02:00
Kai Lauterbach 013cd8a8bf Added a comment 2023-05-12 07:19:03 +02:00
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