Commit graph

61 commits

Author SHA1 Message Date
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 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
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
Thomas Kopp 449654c250 working without light sensor 2019-03-31 17:01:04 +02:00
Thomas Kopp 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
Aaron Fischer 11c991e687 Add some hints to reset the credentials. Fixes #16 2019-02-03 21:14:18 +01:00
Aaron Fischer bd95532bc4 Fix a lot of compiler warnings (#MDST) 2019-02-03 19:10:38 +01:00
Aaron Fischer 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 e869f03c2c Some more constants. 2019-02-02 14:01:13 +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
Thomas Kopp 1cef0e43c8 Clean up power settings logic 2019-01-27 18:49:28 +01:00
Aaron Fischer 169bd36c3d Allow user specific modifications 2019-01-08 22:41:24 +01:00
klaute 7bb62b5e4e Fixed anemometer read and humidity value. 2019-01-08 21:07:16 +01:00
klaute c1b19add3b Update 'firmware/firmware.ino'
Removed variable check which is always true.
2019-01-06 17:13:37 +00: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
Aaron Fischer 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 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
klaute 984dfc07dd Update 'firmware/firmware.ino'
Added undervoltage preventing deep sleep to setup function.
2018-07-13 08:21:59 +00:00
klaute 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 10977e14b7 Powersaving implemented. The web update mechanism is disabled. 2018-07-12 22:30:30 +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
Aaron Fischer 5cdaf48d36 Set connection timeout 2018-06-27 19:43:34 +02:00
klaute c47116af89 Main loop timing optimized. 2018-06-24 16:54:57 +02:00
klaute 0e33d52af4 Comment added: delay of 100ms added to the energy saver dummy code. 2018-06-24 16:01:05 +02:00
klaute b2d513dcde The update mechanism is now always enabled. 2018-06-24 15:53:58 +02:00
klaute f33a9f098e Working implementation of the OTA (webbased). 2018-06-24 12:00:51 +02:00
klaute b03df134c5 Added the webbased OTA update mechanism. 2018-06-23 21:49:11 +02:00
klaute 107d9544c0 Dropped the code of the man in the moon. 2018-06-23 20:14:45 +02:00
klaute 60561224d4 First fully working implementation. But the measured wind speed has to be verified. Added some links for documentation. 2018-06-23 20:13:33 +02:00
Thomas Kopp d5aee1ca54 Change firmware to use D7 instead of D4 for anemometer 2017-12-30 20:06:18 +01:00
klaute 284e3940ea Bugfix array size 2017-12-09 19:10:31 +01:00
klaute f7c1d4dee9 Revert "Broken newline removed."
This reverts commit 2fefed97e5.
2017-12-09 18:33:43 +01:00