Vasily Davydov
a3332c562f
add vscode stuff
2022-10-27 10:19:17 +03:00
Vasily Davydov
50b77d39f8
lcd: simplify line printing
2022-10-27 10:18:55 +03:00
Vasily Davydov
9492081fbb
timer: modify class to have one common constructor
2022-10-27 09:55:50 +03:00
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
ea61baaa27
Merge pull request #38 from vas-dav/web
...
Several features added
2022-10-26 23:22:19 +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
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
4d9f5a2cf3
root: update README
2022-10-26 21:49:56 +03:00
Vasily Davydov
1e82220e70
root: delete AzureRTOS & freeRTOS junk
2022-10-26 21:43:22 +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
Miisa Ekholm
2cb3347da8
Several features added
...
Login/logout/auth, fan settling, period selection, log data, color themes, automatic logout + user logout if window is closed, alarm limits (colors) to monitor fields
2022-10-25 21:20:56 +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
db449a9b14
pressure-wrpapper: delete unused folder
2022-10-24 09:22:35 +03:00
Vasily Davydov
fc693d8f48
Merge pull request #33 from vas-dav/web
...
mqtt and socket added
2022-10-24 09:15:46 +03:00
Evgenii Meshcheriakov
a1272564f0
Merge pull request #37 from vas-dav/tester
...
Format and cleanup
2022-10-23 10:00:26 +03:00
Vasily Davydov
a2b3cc7e86
timer: correct systicks data type
2022-10-22 13:04:10 +03:00
Vasily Davydov
626e36c6e4
root: fromat folder with clang-formatter
2022-10-22 13:00:03 +03:00
Vasily Davydov
97752f4837
hmp60: format and optimize
2022-10-22 12:56:23 +03:00
Evgenii Meshcheriakov
c72570e1d6
Merge pull request #36 from vas-dav/sensors
...
root: add rest of sensors as static project. Modbus: debug additions
2022-10-22 11:58:33 +03:00
Evgenii Meshcheriakov
c1698446cd
ModbusRegister: clean up
2022-10-22 11:57:28 +03:00
Evgenii Meshcheriakov
5dd5093d55
Merge pull request #35 from vas-dav/state-timer
...
State-timer
2022-10-22 10:19:31 +03:00
Evgenii Meshcheriakov
06a7d997d6
root: add rest of sensors as static project. Modbus: debug additions
2022-10-22 10:11:01 +03:00
Vasily Davydov
486cd3acb7
state-handler: replace while loop to tick
2022-10-21 21:01:42 +03:00
Vasily Davydov
6cfaca32c8
state-handler: format and prepare for timer
2022-10-21 20:55:15 +03:00
Vasily Davydov
995773577e
FORCE Merge pull request #34 from vas-dav/sensors
...
Sensors
2022-10-21 20:27:24 +03:00
Evgenii Meshcheriakov
0be8c9a3f0
StateHandler: redundant code removal
2022-10-21 20:16:53 +03:00