23 Commits

Author SHA1 Message Date
Vasily Davydov
58dbbf0f06 state-handler: fix button delay 2022-10-27 14:25:06 +03:00
Vasily Davydov
50b77d39f8 lcd: simplify line printing 2022-10-27 10:18:55 +03:00
Vasily Davydov
4c3cd99e38 esp-vent-main: main cleanup and doc
- Delete unnused stuff in main
- Create common values header
- Minor fix
2022-10-26 23:10:20 +03:00
Vasily Davydov
fe75d4e992 fan: include fan into state-handler 2022-10-26 22:41:32 +03:00
Vasily Davydov
e7298c7ada state-hanlder: displaySet() modify ERROR_TIMEOUT
Remove not needed variables
2022-10-26 22:22:00 +03:00
Vasily Davydov
adb4d955b1 state-handler: rename private members to be consistent 2022-10-26 22:14:00 +03:00
Vasily Davydov
cc7a0e40f2 state-handler: wrap up etick into a separate method 2022-10-26 21:28:27 +03:00
Vasily Davydov
a6d7bc0b27 state-handler: add timeout_error handling 2022-10-26 21:21:54 +03:00
Evgenii Meshcheriakov
39a114d9fa state-handler: on large scale equipment scale for fan is normal: 0-1000. No needs in normalization 2022-10-26 12:26:44 +03:00
Evgenii Meshcheriakov
a8bb6e44ff state-handler: remove stateSensors 2022-10-25 16:50:53 +03:00
Evgenii Meshcheriakov
940b978764 Timer: fix atomic add 2022-10-25 16:49:03 +03:00
Evgenii Meshcheriakov
e899ba9cc9 state-handler: stateSensors: 10ms sleep for humitiy sensor 2022-10-25 16:15:47 +03:00
Vasily Davydov
566d1d2659 state-handler: simplify displaySet()
Simplify the function with a switch
2022-10-25 15:21:53 +03:00
Vasily Davydov
cd06e2b3ba state-handler: format code and document 2022-10-25 15:16:19 +03:00
Evgenii Meshcheriakov
42251f7ed7 state-handler: cleanup, displaySet() can display sensors data or modes 2022-10-25 14:56:53 +03:00
Evgenii Meshcheriakov
893a41a7d7 state-handler: stateAuto operational with working pid() displaySens() to show sensors reading on LCD 2022-10-25 14:18:45 +03:00
Evgenii Meshcheriakov
1db8da098d state-handler: fan_speed_normalized() first version. 2022-10-24 18:02:23 +03:00
Vasily Davydov
59486a746a sttae-handler: set timeout for sensor reading 2022-10-24 16:49:26 +03:00
Vasily Davydov
54b09fc46d state-handler: add sttaeGetPressure functionality 2022-10-24 16:34:43 +03:00
Vasily Davydov
7871953fe6 pressure: create state for reading pressure 2022-10-24 16:16:49 +03:00
Vasily Davydov
cf8d491516 state-handler: prepapre for pressure state 2022-10-24 16:03:01 +03:00
Vasily Davydov
9608200f91 global: remove timers 2022-10-24 15:24:34 +03:00
Vasily Davydov
84e50cdec7 fuckit: clean slate 2022-10-24 12:16:38 +03:00