Commit graph

301 commits

Author SHA1 Message Date
de0cf2390c basic sensor config works 2024-11-17 04:46:32 +01:00
44c5b060d7 Sensor stuff wip 2024-11-17 02:51:46 +01:00
ac707d0367 fix asyncwebserver template engine bug when document has a certain size 2024-11-17 02:51:24 +01:00
0571acc350 system/sensor stuff wip 2024-11-12 22:25:02 +01:00
92724fa1f4 fix css and javascript bug for hiding/show stuff 2024-10-29 01:43:40 +01:00
cf824c1c61 output edit now works as intended 2024-10-29 01:32:56 +01:00
b28c71c9a4 basic work done for editing output
i had to use a global variable to put the outputId to edit in I receive
from the GET param edit. I havent found another solution. I wish I could
just pass the GET param to the template processor, but it seems this is
not possible at the moment or I havent seen the correct solution yet.
2024-10-29 00:15:28 +01:00
790b9bb9c9 put stuff into seperate functions 2024-10-28 22:30:20 +01:00
735cff463e chunked response makes no sense here and does not solve my problem, because it is (afaik) not related 2024-10-27 20:49:23 +01:00
9af343bd3e delete output implemented 2024-10-27 01:33:10 +02:00
1419d625a4 add css to File_cangrow_CSS for linkForm class 2024-10-27 00:44:13 +02:00
40d0175564 main stuff for adding new output is done. for i2c i have not idea atm what i need. 2024-10-26 22:10:39 +02:00
b7d21ca868 use toggleDisplay JS func for hiding static ip config when dhcp is used 2024-10-26 20:22:53 +02:00
c466f1396f correct wrong mimetype for cangrow.js 2024-10-26 18:26:04 +02:00
54b6d48e1e call Check_GPIOindex_Used only once 2024-10-26 18:14:44 +02:00
a983129085 put GPIO_Index.note description into char const 2024-10-26 18:05:10 +02:00
c8247268cc implement checks if gpio is free when adding new output 2024-10-26 16:54:39 +02:00
22c316edbb only show configured values 2024-10-26 06:43:37 +02:00
bc15bbab46 first values saving foir the output ports. 2024-10-26 06:26:42 +02:00
b0f3d05576 output:add put next free output id into hidden input. if none available, return 255 2024-10-26 06:04:10 +02:00
f7f5fe073b put the chunked response stuff into own function, fix html javascript include 2024-10-26 05:01:58 +02:00
55997e82eb cleanup - i leave chunked in system/output/add for now, document will get bit bigger i geuss 2024-10-26 04:52:54 +02:00
bba1687022 cleanup - i leave chunked in system/output/add for now, document will get bit bigger i geuss 2024-10-26 04:52:37 +02:00
f4624f860e this was my problem i debbuged the last three hours!? >:(( At least i learned how to use chunked responses, yay 2024-10-26 04:42:26 +02:00
10a0906a93 chunked response works now - but does not solve my problem >:( 2024-10-26 04:33:27 +02:00
f7c4739f0d add output add dialog, try to use chunked response, but not working atm 2024-10-26 03:39:36 +02:00
9c51386be9 cosmetics 2024-10-25 23:43:51 +02:00
dadaf09232 playground output add dialog, add cangrow.js 2024-10-25 23:40:20 +02:00
98ef3de395 add output table , playing around with html in playground 2024-10-25 22:03:16 +02:00
945c208ba4 add gziped favicon as byte array, playground output dialog stuff 2024-10-25 00:30:57 +02:00
3517f6abf4 put cangrow.css and favicon to sepereate webserver path and not incldue them in the html body 2024-10-24 23:22:56 +02:00
d679d896b2 cangrow.sh update arduino-cli to 1.0.4 2024-10-24 21:55:32 +02:00
ca4eb8cfd6 cangrow.sh - add arduino-cli lib update-index before installing libs 2024-10-24 21:52:21 +02:00
8e5268df22 Arduino/CanGrow/cangrow.sh aktualisiert 2024-10-24 21:46:19 +02:00
0d0efbb2c1 add some diff to force new line when inline-block 2024-10-24 19:56:34 +02:00
4808af281c remove headings from system and wifi pages. 2024-10-24 17:20:50 +02:00
7da5bc38d7 implemented highlighting active system subnav entry 2024-10-24 17:16:31 +02:00
1765748422 implemented highlighting active nav entry 2024-10-24 16:53:21 +02:00
bafb623392 i am a webdeveloper! 2024-10-24 15:59:24 +02:00
e3c739e745 i am a webdeveloper! 2024-10-24 15:49:59 +02:00
2ad9c4c03d playing around with css 2024-10-24 15:14:25 +02:00
00a4acfd13 add subnav to every subpage of system 2024-10-24 14:49:31 +02:00
dc8ba42909 cangrow.sh put build target dir into variable 2024-10-24 14:28:11 +02:00
5c019f8df6 add config.system.output.device , add POST stuff for /system/ 2024-10-24 04:14:19 +02:00
458077442a cleanup 2024-10-24 02:54:18 +02:00
99d598e05d it does work with a structure and arrays in it. this is fine 2024-10-24 02:24:23 +02:00
bf1e25d04c playing around, output_ip load/save was broken. fixed. 2024-10-24 01:54:15 +02:00
d68d0fbf79 putting output config into json
i could not apply the structure of configSystemOutputs into json, so i had to
switch to use arrays instead. it works, but looks not that nice as a struct.
2024-10-24 01:45:06 +02:00
4c9c280d45 try to add config.system.outputs to json, but esp8266 actually crashes at loading json 2024-10-24 00:00:35 +02:00
94e79b8fa2 replacing all old configSystem style variables with config.system.something 2024-10-23 21:21:26 +02:00