feature/http_call_send_json #3

Merged
f merged 56 commits from feature/http_call_send_json into master 2022-11-27 11:02:22 +01:00

56 commits

Author SHA1 Message Date
Kai Lauterbach
35f1635a3d Fixed wind sensor interrupt handling. 2022-11-24 19:17:21 +01:00
Kai Lauterbach
0ae44ec987 Added a preprocessor flag to enable/disable sensor walue table on webupdater main page. 2022-11-15 14:39:21 +01:00
Kai Lauterbach
1253123e46 Added preprocessor check to prevent adding wifimanager reset link to webupdater html interface. 2022-11-15 09:46:50 +01:00
Kai Lauterbach
53ca46e7bd Fixed wrong temperature value. 2022-11-11 14:34:42 +01:00
Kai Lauterbach
a210c94721 Removed temperature overwriting. Added some disabled debug output messages. Reformatted code. 2022-11-11 13:25:28 +01:00
Kai Lauterbach
baff93865c Added fix to prevent sending nan value through http get to the destination webserver. 2022-11-11 11:23:08 +01:00
Kai Lauterbach
3e206715fd Updated required libraries 2022-11-11 11:11:25 +01:00
Kai Lauterbach
dc2eb61584 Added documentation about includes. 2022-11-11 11:11:10 +01:00
Kai Lauterbach
4b737ce350 Added http get call functionality and fixed spaces in code. 2022-11-11 10:49:42 +01:00
Kai Lauterbach
ba1cc54d2e Cleaned include list in main firmware file. 2022-11-10 14:00:13 +01:00
Kai Lauterbach
a009a19261 Inverted status LED on behaviour 2022-11-10 13:49:50 +01:00
Kai Lauterbach
0a08e8d974 Updated firmware library folder content 2022-11-10 13:34:35 +01:00
Kai Lauterbach
02c84949bc code formatting changed 2022-11-10 13:33:09 +01:00
Kai Lauterbach
8c28468563 Added BMP280 sensor config flag to user config file. 2022-11-04 09:12:01 +01:00
Kai Lauterbach
ff71dad13f Added a comment to descript a for loop behaviour. 2022-11-04 08:41:28 +01:00
Kai Lauterbach
e699c8b37b Fixed debug output in dmp280 sensor code and removed unused function. 2022-11-04 08:37:53 +01:00
Kai Lauterbach
bcda387d26 Added missing network configuration init code. 2022-11-02 19:22:05 +01:00
Kai Lauterbach
94a1e785f1 Added BMP280 sensor (like BME280 but without humidity). Updated kicad files to new file standard. 2022-11-02 19:10:39 +01:00
Kai Lauterbach
93114b0f49 Added non wifimanager wifi connection support. 2022-10-31 11:56:44 +01:00
Kai Lauterbach
17fdbe6155 Moved wifi depending code to separate function. 2022-09-20 08:21:24 +02:00
Kai Lauterbach
1f2b4ec38c Sensor read will now performed directly after startup. 2022-09-18 09:52:02 +02:00
Kai Lauterbach
6d2d5e2aa0 Updated library files. 2022-09-16 09:20:19 +02:00
Kai Lauterbach
9ceb77ea8d Removed library content 2022-09-16 09:13:09 +02:00
Kai Lauterbach
6aa242da85 Removed obsolete debug messages 2022-09-15 13:28:53 +02:00
Kai Lauterbach
f22ec9b02d Refresh of webupdater increased. 2022-09-15 13:14:58 +02:00
Kai Lauterbach
3e8d65d121 Improved InfluxDB code to prevent deadlock 2022-09-15 13:04:42 +02:00
Kai Lauterbach
417493c8ba Updated required libraries 2022-09-15 10:23:02 +02:00
Kai Lauterbach
7a97677e0d Reduced portal timeout again. 2022-09-14 20:40:08 +02:00
Kai Lauterbach
9abd468fbc Added a separate function to set the windspeed to the webupdater. 2022-09-14 20:24:43 +02:00
Kai Lauterbach
40b2550c89 Reduced autoconnect timeout and portal uptime. 2022-09-14 20:11:59 +02:00
Kai Lauterbach
6e1f64b14f Added reconnect info. Also added the info to the webupdater. 2022-09-14 20:05:50 +02:00
Kai Lauterbach
c89486bd31 Fixed valid data checks and prevented to copy nan data to webUpdater. 2022-09-14 12:42:01 +02:00
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
e409d7fa39 New entry to git ignore file added 2022-09-13 12:45:44 +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