Vasily Davydov
8f54fe85aa
main: move mqtt defines in common_values
2022-10-26 23:55:08 +03:00
Jaakko Nahkala
4b0b4ab2c9
esp-vent-main: Mqtt classes ready ( #39 )
...
* Relocated subreposiroty and added ESP-classes, problem with systick.h persists
* added test to main
* Clean directory by moving MQTT related classes to their own folders in /src /inc
* Relocated subreposiroty and added ESP-classes, problem with systick.h persists
* added test to main
* rm MQTT test func
Co-authored-by: Vasily Davydov <vasilydavydovmail@yahoo.com>
2022-10-26 23:25:58 +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
e4634a14e8
fan: init wrapper class
2022-10-26 22:26:28 +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
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
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