Commit graph

495 commits

Author SHA1 Message Date
6ac79f2978 sensor wip 2024-12-05 00:34:28 +01:00
6d94bb224c fix sensorindex iteration 2024-11-19 00:32:48 +01:00
3a55104f55 sensor index length 2024-11-19 00:08:10 +01:00
270806e5fa cannot use array , because of pointer
https://www.reddit.com/r/C_Programming/comments/q1it3p/help_why_cant_you_assign_an_array_to_another_array/
2024-11-18 23:11:04 +01:00
4ecb478354 compiles now again, but its the old state 2024-11-18 22:09:02 +01:00
13d86ba88f add missing files 2024-11-18 13:18:10 +01:00
1624289496 does not compile, i guess i use the wrong pointer stuff thing for in CanGrow_Sensor.h stuff 2024-11-18 10:44:33 +01:00
16f4871306 improve output/sensor table 2024-11-17 07:16:01 +01:00
df6435f6e1 add gpio pin or i2c address to output/sensor table if used 2024-11-17 06:54:13 +01:00
156849782b save i2c sensor addr as char, use it later with strtol() 2024-11-17 05:47:59 +01:00
4b3451c2fa sensor edit now works too 2024-11-17 05:00:18 +01:00
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
fba2210bbd playground - i think using form and submit button for actions edit and delte looks good 2024-10-27 00:42:35 +02:00
aaf9688d1a playing around with html css js 2024-10-27 00:36:08 +02:00
8955824884 playing around with html css js 2024-10-27 00:36:00 +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