Miisa Ekholm
7a46f5a528
Merge pull request #40 from vas-dav/web
...
Final changes
v1.0.0
2022-10-28 09:17:00 +03:00
Vasily Davydov
c7ed343fa2
main: add sensors display with A2 switch
2022-10-28 00:44:10 +03:00
Miisa Ekholm
a4cd746fed
Final changes
...
Changed login to both modes and layout, modified period selection in chart
2022-10-27 22:49:37 +03:00
Evgenii Meshcheriakov
759bc5034f
state-handler: lcd update only with non 0 values
2022-10-27 20:33:15 +03:00
Evgenii Meshcheriakov
641cdefe58
state-handler: fix: reset of integral value after error state. Display wiht 3 digits
2022-10-27 20:23:34 +03:00
Evgenii Meshcheriakov
3d9ea14c76
main: state-handler: cleanup
2022-10-27 18:51:36 +03:00
Vasily Davydov
857e50a62b
error-handler: pending task
2022-10-27 18:45:43 +03:00
Vasily Davydov
dc43afd441
timers: create proper timeouts
2022-10-27 18:05:16 +03:00
Evgenii Meshcheriakov
6cf950cc98
state-hander: timer for sensors
2022-10-27 17:43:16 +03:00
Vasily Davydov
8212890897
state-handler: fix switch between modes
2022-10-27 17:29:35 +03:00
Evgenii Meshcheriakov
9423d81e41
state-handler: lcd display change
2022-10-27 17:21:52 +03:00
Vasily Davydov
45c2ec6409
pid: fix coefficents
2022-10-27 17:07:59 +03:00
Evgenii Meshcheriakov
fa8734a9a8
state-handler: fix auto mode
2022-10-27 16:33:36 +03:00
Vasily Davydov
58dbbf0f06
state-handler: fix button delay
2022-10-27 14:25:06 +03:00
Vasily Davydov
2bef3ce8c0
modbus: include timer
2022-10-27 13:14:37 +03:00
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