22 Commits

Author SHA1 Message Date
Evgenii Meshcheriakov
4b1ef018dd StateHandler: first version of pid() for fan 2022-10-19 09:46:55 +03:00
Evgenii Meshcheriakov
2de40ba7c0 StateHandler: stateAuto: fan speed control by changing pressure value. Without PID regulation. 2022-10-18 17:43:13 +03:00
Evgenii Meshcheriakov
4a414ea70f StateHandler: add functionality to control fan speed in Manual mode. Main: Modbus object + pressure display 2022-10-18 15:21:34 +03:00
Vasily Davydov
15bf2150ca state-handler: add proper way of non-blinking lcd
This commit adds a save() method for comparison of
values communicating via main and stateHandler to avoid
printing every milliseconds
2022-10-16 14:33:49 +03:00
Vasily Davydov
5ff0c22758 state-handler: make temporary fix for flashing lcd 2022-10-16 14:30:32 +03:00
Vasily Davydov
fe1d8eea61 event: add pressure member
Addition of a pressure parameter called from main
and displayed on lcd
2022-10-14 16:55:26 +03:00
Vasily Davydov
acb1b73b9a state-handler: create eKey fucntionality
This commit introduces buttonHandling of esp-vent
within the StateHandler class and main().
2022-10-14 14:04:03 +03:00
Vasily Davydov
885b23b832 state-handler: add buttonHandler 2022-10-14 12:44:14 +03:00
Vasily Davydov
0a0f55a079 state-handler: add printout in displaySet
Create printouts on lcd for both manual and auto modes.
2022-10-10 15:06:47 +03:00
Vasily Davydov
e4f295427d state-handler: #6 fix name of the 'set' counter arr 2022-10-10 13:16:40 +03:00
Vasily Davydov
c82d4c75e8 state-handler: fix merge conflicts 2022-10-10 11:09:29 +03:00
Vasily Davydov
f8d1462113 Merge branch 'state-handler' of github.com:vas-dav/ESP-Ventilation into state-handler 2022-10-10 10:52:21 +03:00
Vasily Davydov
3dfc3d6d2a state-handler: #6 add basic states
Add the states:
- init
- manual
- auto
2022-10-10 10:47:14 +03:00
Vasily Davydov
69d767a73e state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-10 10:43:29 +03:00
Vasily Davydov
0c389658fa state-handler: #6 prepare for displaying values
Add internal fucntionality for:
- getBarPressure()
- getBarSpeed()
- displaySet(int, int)
2022-10-10 10:38:36 +03:00
Vasily Davydov
0e404c4a92 state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-10 10:38:36 +03:00
Vasily Davydov
ff94a455a5 state-handler: #6 prepare for displaying values
Add internal fucntionality for:
- getBarPressure()
- getBarSpeed()
- displaySet(int, int)
2022-10-05 16:34:14 +03:00
Vasily Davydov
2b2ffb6dcf state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-05 16:34:14 +03:00
Vasily Davydov
15a825bbd0 state-handler: #6 add event class 2022-10-05 11:26:08 +03:00
Vasily Davydov
b231d6e9db state-handler: replace EVENT_HANDL struct with enum
This is done due to passing the values to the key event of the state
2022-10-05 11:16:22 +03:00
Vasily Davydov
19424b0976 state-handler: #6 rename header 2022-10-05 10:55:29 +03:00
Vasily Davydov
5eb7933676 state-handler: #6 rename the class 2022-10-05 10:27:12 +03:00