Vasily Davydov
|
fe75d4e992
|
fan: include fan into state-handler
|
2022-10-26 22:41:32 +03:00 |
|
Vasily Davydov
|
e4634a14e8
|
fan: init wrapper class
|
2022-10-26 22:26:28 +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 |
|
Vasily Davydov
|
942e87b37c
|
state-handler: rewrite description
|
2022-10-26 21:05:43 +03:00 |
|
Vasily Davydov
|
d2a5970426
|
inc: add nlohmann json lib
Add nlohmann lib to use it with mqtt messages
|
2022-10-26 21:03:41 +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
|
94518925f8
|
switch-controller: modify sw behaviour
|
2022-10-24 17:04:32 +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 |
|
Evgenii Meshcheriakov
|
905fbd3634
|
PressureWraper: isAwake() and wakeUp() add
|
2022-10-24 16:32:17 +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 |
|
Vasily Davydov
|
e2cbbf4322
|
SDP600: link static lib
|
2022-10-24 09:52:30 +03:00 |
|
Vasily Davydov
|
626e36c6e4
|
root: fromat folder with clang-formatter
|
2022-10-22 13:00:03 +03:00 |
|
Vasily Davydov
|
486cd3acb7
|
state-handler: replace while loop to tick
|
2022-10-21 21:01:42 +03:00 |
|
Evgenii Meshcheriakov
|
611ae13362
|
StateHandler: save() now takes only two params. is able to check if pressure provided from main or inside of state machine.
|
2022-10-21 10:37:11 +03:00 |
|
Evgenii Meshcheriakov
|
45ae1d0e3e
|
StateHandler: new state - stateSensors which pools data from sensors and displays it
|
2022-10-20 17:25:54 +03:00 |
|
Evgenii Meshcheriakov
|
ab184498e1
|
root: init sensors: humidity+temp, CO2. Pressure sensor is now static class
|
2022-10-20 14:48:40 +03:00 |
|
Evgenii Meshcheriakov
|
0d70f8b464
|
StateHandler: simple fan speed adjustment. pid() needs improvments
|
2022-10-19 16:46:32 +03:00 |
|
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 |
|
Evgenii Meshcheriakov
|
56e63e3e20
|
PressureWrapper: get_Pressure: fix to condition of crc check
|
2022-10-18 14:02:11 +03:00 |
|
Evgenii Meshcheriakov
|
cf21bacbf2
|
Merge pull request #31 from vas-dav/pressure-wrapper
Pressure wrapper
|
2022-10-18 12:27:41 +03:00 |
|
Evgenii Meshcheriakov
|
cf01a8bf58
|
PressureWrapper: getPressure() improvments
|
2022-10-18 12:23:22 +03:00 |
|
Vasily Davydov
|
e57564c3ea
|
main: resolve pressure conflicts
|
2022-10-18 10:40:04 +03:00 |
|
Evgenii Meshcheriakov
|
3bbbf2ae4a
|
PressureWrapper: add getPressure()
|
2022-10-17 17:29:31 +03:00 |
|
Vasily Davydov
|
4bbe567b41
|
pressure-wrapper: make p-w a separate project
|
2022-10-17 15:11:03 +03:00 |
|
Vasily Davydov
|
fc013f8dd4
|
Merge branch 'main' into pressure-wrapper
|
2022-10-17 14:47:52 +03:00 |
|
Evgenii Meshcheriakov
|
bb1d94c0f8
|
esp-vent-main: add temporary I2C class and PressureWrapper to the main. Create a static project further on
|
2022-10-17 14:40:41 +03:00 |
|
Evgenii Meshcheriakov
|
98ae07bc18
|
pressure-wrapper: add structure for pressure_data
|
2022-10-17 10:45:45 +03:00 |
|
Vasily Davydov
|
6155ac7089
|
switch-controller: add basic functionality to main
|
2022-10-17 09:27:44 +03:00 |
|
Evgenii Meshcheriakov
|
1524171e31
|
Merge branch 'main' into pressure-wrapper
|
2022-10-17 09:00:05 +03:00 |
|
Vasily Davydov
|
338bcea5ce
|
timer: place global timer as a global variable
|
2022-10-16 14:30:32 +03:00 |
|
Vasily Davydov
|
dd00c13714
|
main: display blank values
|
2022-10-16 12:46:36 +03:00 |
|
Vasily Davydov
|
1709c0520b
|
event: add pressure member
Addition of a pressure parameter called from main
and displayed on lcd
|
2022-10-14 16:33:44 +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 |
|