Commit graph

175 commits

Author SHA1 Message Date
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
Kai Lauterbach
ad2502db2a Just commiting 2022-05-16 14:26:17 +02:00
Kai Lauterbach
236034d890 Comment added 2022-05-16 14:00:35 +02:00
Kai Lauterbach
676a67c3c0 Fixed webserver update time and modified webstat website content. 2022-05-16 13:34:33 +02:00
Kai Lauterbach
747724c2ed Updated homebrew web status code to get it compatible to github.com:metbosch/homebridge-http-temperature and github.com/UnPoilTefal/homebridge-advanced-http-temperature-humidity 2022-05-16 11:01:06 +02:00
Kai Lauterbach
8852f13d04 Comments added 2022-05-16 10:47:20 +02:00
Kai Lauterbach
fe3232cfe3 Debug output of windspeed calculation added. 2022-05-16 10:45:08 +02:00
Kai Lauterbach
e13d72fa2c Fixed homebrew stat json data generation. 2022-05-16 10:25:07 +02:00
Kai Lauterbach
dea274117c Removed old unused code 2022-05-16 10:12:36 +02:00
Kai Lauterbach
fdc9ddbf31 Removed unused code 2022-05-16 08:46:05 +02:00
Kai Lauterbach
bce0c81139 #ifdef fixed 2022-05-15 23:06:02 +02:00
Kai Lauterbach
4250c6c9cc Temperatur const value added to fix temperature issues. Updated user config example. Fixed wifi setup. 2022-05-15 22:47:23 +02:00
Kai Lauterbach
5f0614ce4f Moved Homebridge webstat to webUpdater logic. Fixed Windspeed calculation. Added a interval firmware reset functionality. 2022-05-15 22:34:36 +02:00
Kai Lauterbach
116dfa658f Added include of wifiManager to webUpdater 2022-05-14 19:54:51 +02:00
Kai Lauterbach
4fcb7ba2a7 Added ; 2022-05-14 19:53:31 +02:00
Kai Lauterbach
f392fce1cc WifiManager reset feature added to webUpdater. 2022-05-14 19:38:58 +02:00
Kai Lauterbach
c0b59dd421 Updated InfluxDB connection to get it compatible with InfluxDB 2.2.0 2022-05-09 09:42:42 +02:00
Kai Lauterbach
0cf171093b Libraries 2022-05-09 09:34:49 +02:00
klaute
35e1234798 Added battery pin configuration 2020-02-20 19:49:44 +01:00
klaute
f9ee9740ae Fixed apds9960 read call. 2020-02-18 20:06:03 +01:00
Florian Eitel
d383677b80
Add README.md file to firmware 2019-08-04 13:21:17 +02:00
Florian Eitel
01d6737d60
Use NaN to signal no sensor values
The InfluxDB client will filter NaNs
2019-08-04 13:21:16 +02:00
Florian Eitel
007d2e4e73
Refactor webUpdater to remove logic from firmware.ino 2019-08-04 13:21:15 +02:00
Florian Eitel
ed913d740e
Make influxdb and serial feature configurable 2019-08-04 13:21:14 +02:00
Florian Eitel
be334245ff
Refactor sensor interface with extra files and function pointer
That makes it easier to enable/disable sensors.

Also added support for APDS9930
2019-08-04 12:53:20 +02:00
Florian Eitel
abcfcd276c
Remove unused Adafruit_Sensor import
Would be nice if all sensors are supported by the common sensor
interfacce - but right now both are not supported. Unfortunately BME280
still depend on it, even when it's not used :(
2019-08-04 12:27:41 +02:00
Florian Eitel
2f9bae5622
Refactor ifdef's to be less verbose and better to read 2019-08-04 12:27:40 +02:00
Florian Eitel
f4139b27c8
Update firmware libraries 2019-08-04 12:27:37 +02:00
92908452fc „firmware/config_user.h.example“ ändern 2019-03-31 18:48:37 +00:00
449654c250 working without light sensor 2019-03-31 17:01:04 +02:00
b0ec86890d Fixing ifdef logic 2019-03-31 16:17:57 +02:00
klaute
c2f1571305 Charge / charging test modified. 2019-02-09 09:52:49 +01:00
klaute
808cf6a40d Nodemcu board support added. 2019-02-06 21:26:13 +01:00
11c991e687 Add some hints to reset the credentials. Fixes #16 2019-02-03 21:14:18 +01:00
44e9b02cf1 latest version 2019-02-03 19:13:33 +01:00
bd95532bc4 Fix a lot of compiler warnings (#MDST) 2019-02-03 19:10:38 +01:00
f24858d162 Move all dependencies to the repository
This step seems bold, but is saves us so much hassle. Even better, we have a
reliable codebase, with all the dependencies (and their versions) we
need in order to build the project. If a library got an update, we can
replace it inplace if the code is still compatible.
2019-02-03 16:15:00 +01:00
klaute
091ab25196 Fixed typo 2019-02-03 15:09:01 +01:00
klaute
b4284ccb3c Added user specific humidity/light calculation factor constants. 2019-02-03 14:53:08 +01:00
klaute
589be0474f Logic fixed for charging/charged pin 2019-02-02 15:21:03 +01:00
1ea0ea410d Fix limititing number of retries 2019-02-02 14:59:00 +01:00
klaute
e869f03c2c Some more constants. 2019-02-02 14:01:13 +01:00
klaute
29c52d0a34 Fixed influxdb write 2019-02-02 13:58:47 +01:00
klaute
2bdc615ddb Some logic fixes 2019-02-02 13:31:21 +01:00
klaute
ef2a6c15de Timeout constant values are used now. 2019-02-02 11:58:44 +01:00
klaute
740bfc600b Battery charging states added. 2019-02-02 11:15:27 +01:00
klaute
87fe6c6e7a Added battery charging states. 2019-02-02 10:09:00 +01:00
f0974e6e79 Update 'firmware/sensors.ino'
Comments comments comments
2019-01-28 10:54:16 +00:00
klaute
b5a7b36869 user config example updated 2019-01-27 20:31:15 +01:00
klaute
96894fbc39 Fixed compilation errors... config_user.h includes twice. 2019-01-27 20:14:43 +01:00
1cef0e43c8 Clean up power settings logic 2019-01-27 18:49:28 +01:00
07ed99f9a2 Pushing only valid values 2019-01-27 16:29:58 +01:00
d9256c2194 Remove humidity * 2 2019-01-08 22:41:48 +01:00
169bd36c3d Allow user specific modifications 2019-01-08 22:41:24 +01:00
klaute
ec349aec13 disabled debugging 2019-01-08 21:07:56 +01:00
klaute
7bb62b5e4e Fixed anemometer read and humidity value. 2019-01-08 21:07:16 +01:00
c1b19add3b Update 'firmware/firmware.ino'
Removed variable check which is always true.
2019-01-06 17:13:37 +00:00
klaute
dd7054d853 Fix for 03962a board 2019-01-06 15:24:02 +01:00
klaute
a95f5c648e Fix for 03962a board 2019-01-06 15:23:48 +01:00
klaute
53c6bbcb6c Fix for 03962 board 2019-01-06 15:21:59 +01:00
klaute
5ebbd6377c Fix for 03962 board 2019-01-06 15:21:03 +01:00
klaute
845e637c59 manual merge 2019-01-05 18:58:01 +01:00
82e450708a More energy saving features 2018-12-02 17:06:06 +01:00
klaute
7be4fe23ab HT stopfen modifies. Some improvements in the firmare. 2018-08-05 09:50:46 +02:00
klaute
e3327a54e9 influxdb ip replaced by hostname. 2018-07-19 21:56:43 +02:00
klaute
d744fffeb0 InfluxDB hostname replaced by IP v4 address. Added a config setup portal timeout. 2018-07-19 20:13:08 +02:00
klaute
a8c40a7e23 Minimum voltage check moved into a separate function. Minimum voltage constant added. 2018-07-13 20:20:56 +02:00
984dfc07dd Update 'firmware/firmware.ino'
Added undervoltage preventing deep sleep to setup function.
2018-07-13 08:21:59 +00:00
e3a9ecc595 Update 'firmware/firmware.ino'
Moved the deep sleep call in case of low battery to the top of the main loop.
2018-07-13 08:02:50 +00:00
klaute
1da7da3b64 Changed the measurement interval to 10 minutes. 2018-07-12 22:34:01 +02:00
klaute
10977e14b7 Powersaving implemented. The web update mechanism is disabled. 2018-07-12 22:30:30 +02:00
klaute
f52e7afc87 Added a reload interval to the main html page. 2018-07-11 12:09:29 +02:00
klaute
cee44bee6b Fixed the main html page. 2018-07-11 11:55:58 +02:00
klaute
9dd90841a5 Frickelt in a sensor status page. 2018-07-11 11:49:58 +02:00
klaute
c16d431c89 Added the battery voltage code. 2018-07-11 11:12:53 +02:00
5cdaf48d36 Set connection timeout 2018-06-27 19:43:34 +02:00