Commit graph

150 commits

Author SHA1 Message Date
Kai Lauterbach
76475b7c33 Fixed battery mode main function call. Disabled some debug messages. 2022-09-14 12:18:58 +02:00
Kai Lauterbach
5fcfd89652 Waiting for wind sensor result code changed to be processed by FSM states. Added new battery mode main function. Renamed FSM state names. 2022-09-14 11:58:13 +02:00
Kai Lauterbach
7225866dd4 Newline added 2022-09-14 11:56:53 +02:00
Kai Lauterbach
8c907ce1e1 Added start, wait, read functions and changed main sensor read function. 2022-09-14 11:56:41 +02:00
Kai Lauterbach
4bd4944d6b Code optically cleared 2022-09-14 11:55:43 +02:00
Kai Lauterbach
67d3a7053a Renamed FSM state defines and added some new 2022-09-14 11:55:18 +02:00
Kai Lauterbach
d323eedfae Added serial baudrate define 2022-09-14 11:54:59 +02:00
Kai Lauterbach
f6333c2801 Cleaned order of defines in user config header. 2022-09-14 11:54:27 +02:00
klaute
35c62fbce2 Webupdater moved outside the fsm. Started to implement a semi parallel wind measurement. 2022-09-14 00:10:03 +02:00
klaute
446c7a5807 Read sensor data code replaced by separate function. 2022-09-13 23:18:05 +02:00
Kai Lauterbach
7770f83ef7 Removed sensor_ids array, increased logger list length. 2022-09-13 13:17:38 +02:00
Kai Lauterbach
ed3a956dc6 Some more debug messages disabled. Renamed sensor_values array to sensor_ids 2022-09-13 12:46:18 +02:00
Kai Lauterbach
188473944b Disabled call of sensor functionality again 2022-09-13 11:52:20 +02:00
Kai Lauterbach
ced1e5f7e3 Added some newlines 2022-09-13 11:05:19 +02:00
Kai Lauterbach
d2b9851bc1 Improved sensor data read code. 2022-09-13 10:48:58 +02:00
Kai Lauterbach
0482db2f21 Mostly running main loop and FSM. Call of sensor functions does not work yet. 2022-09-13 09:59:35 +02:00
Kai Lauterbach
0cb4212fc8 Fixed connection check rules 2022-09-12 23:07:05 +02:00
Kai Lauterbach
6f7cb3352f Modified time checks again, removed obsolete debug messages. Still not working. 2022-09-12 21:44:10 +02:00
Kai Lauterbach
0b84725d78 Updated timing checks to use millis() function, added some links to web updater main page. 2022-09-12 20:27:42 +02:00
Kai Lauterbach
0a605c7300 Logging feature added. 2022-09-12 19:31:16 +02:00
klaute
c8626bb5cd First verison with running FSM. Sensor data read not verified. Web updater is fine. 2022-09-12 19:09:43 +02:00
Kai Lauterbach
277e525314 FSM status info debug message added 2022-09-12 15:29:26 +02:00
Kai Lauterbach
b25ea99da0 Initial implementation of the FSM, also cleaned up webUpdater ino file. 2022-09-12 15:26:30 +02:00
Kai Lauterbach
3cea359c49 Fixed sensor values check 2022-08-29 12:42:49 +02:00
Kai Lauterbach
0366456b13 Added a data validation check. The webupdater will output the result of the check and also the hbWebstat json data contain the valid flag now. Also only valid data will logged into the influxDB. 2022-08-28 13:47:10 +02:00
Kai Lauterbach
66440f572e Wifi check moved info separate function. 2022-07-27 10:29:01 +02:00
Kai Lauterbach
930bde2619 Added watchdog support. 2022-06-22 13:52:55 +02:00
Kai Lauterbach
7fdc6d9e23 Added millis() logging support - could be used to debug uptime behavior. 2022-05-27 11:59:57 +02:00
Kai Lauterbach
7c935946ac Updated ESP reset intervak. Modified code formatting. 2022-05-25 21:45:09 +02:00
Kai Lauterbach
01108980dd Fix for interval reset 2022-05-25 20:14:22 +02:00
Kai Lauterbach
73670f5b14 Text fixed 2022-05-24 11:07:51 +02:00
Kai Lauterbach
06f080bd29 Added windspeed measurement web functionality. 2022-05-24 11:03:52 +02:00
Kai Lauterbach
ef6920dbe3 Added http response handling (debug output print). 2022-05-23 17:34:59 +02:00
Kai Lauterbach
d670b753dc Added staus led toggle code 2022-05-23 13:10:15 +02:00
Kai Lauterbach
7ef9dd4e53 Debug output added 2022-05-23 12:52:57 +02:00
Kai Lauterbach
d8dbc00280 HTTP_CALL_ON_WINDSPEED_EXCEED execution bug fix 2022-05-23 12:21:11 +02:00
Kai Lauterbach
174eaa985e Windsensor meas time type is int not float 2022-05-23 12:14:38 +02:00
Kai Lauterbach
79b61baf71 Moved some parts of config.h to the user config file. Also added a constants header. 2022-05-23 12:09:45 +02:00
Kai Lauterbach
bf413c9897 Fixed review findings 2022-05-22 16:35:10 +02:00
klaute
23bf57648c Disabled weatherstation notice functionality. 2022-05-22 09:40:59 +02:00
Kai Lauterbach
7a689034b4 Added windspeed exceed functionality, it calls an url if max windspeed is exceeded 2022-05-22 08:51:24 +02:00
Kai Lauterbach
b61564d206 Added a weather station fix factor 2022-05-21 17:46:06 +02:00
Kai Lauterbach
562d0d294d Updated user config example 2022-05-20 10:13:02 +02:00
Kai Lauterbach
345639395d Added pressure to hbWebstat 2022-05-19 19:41:36 +02:00
Kai Lauterbach
795e00be29 Windspeed measurement time increased 2022-05-18 19:24:49 +02:00
Kai Lauterbach
7d561546ed Changed windspeed tp m/s 2022-05-18 19:08:55 +02:00
Kai Lauterbach
3ee77e178f Changed rotor length again 2022-05-17 16:58:45 +02:00
Kai Lauterbach
fde1c5da2d Optical code changes 2022-05-17 10:13:17 +02:00
Kai Lauterbach
1e534bf86a Added missing influxDB v1 implementation 2022-05-16 22:29:28 +02:00
Kai Lauterbach
6109a2901d Fixed windspeed calculation radius value. 2022-05-16 22:28:42 +02:00