Commit graph

204 commits

Author SHA1 Message Date
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
Aaron Fischer 92908452fc „firmware/config_user.h.example“ ändern 2019-03-31 18:48:37 +00: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
Thomas Kopp 44e9b02cf1 latest version 2019-02-03 19:13:33 +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 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
Thomas Kopp 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
klaute 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
Thomas Kopp 1cef0e43c8 Clean up power settings logic 2019-01-27 18:49:28 +01:00
Thomas Kopp 07ed99f9a2 Pushing only valid values 2019-01-27 16:29:58 +01:00
Aaron Fischer d9256c2194 Remove humidity * 2 2019-01-08 22:41:48 +01:00
Aaron Fischer 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
klaute 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
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 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
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 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
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 cf162c9dce WebUpdater documentation updated. 2018-06-24 12:13:46 +02:00
klaute 5fa712a0cd WebUpdater documentation updated. 2018-06-24 12:03:05 +02:00
klaute 2a5097b9fd WebUpdater documentation updated. 2018-06-24 12:01: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
klaute 814d00f24d Broken newline removed. 2017-12-09 18:26:12 +01:00
klaute 2fefed97e5 Broken newline removed. 2017-12-09 18:25:54 +01:00
klaute 0652515727 Added som debug messages 2017-12-09 18:08:37 +01:00
Aaron Fischer 729d2b8650 Der stand geht 2017-12-09 18:07:46 +01:00
Aaron Fischer 11c8c9a587 Add the sensor readings #1 2017-11-20 20:42:02 +01:00
Aaron Fischer f6d8abc723 Add influxdb and push the sensor data to the database 2017-11-20 20:15:42 +01:00
Aaron Fischer dd0e2b2e40 Update 'firmware/firmware.ino' 2017-11-17 16:57:09 +01:00
Aaron Fischer c9fd2ad2ac Add reliable wifi connection #2 #3 2017-11-12 22:34:08 +01:00
Aaron Fischer f5042a3ec4 Implement the anemometer sensor 2017-11-12 21:37:55 +01:00
Aaron Fischer def78c8f92 Add come notes 2017-11-07 22:36:18 +01:00
Aaron Fischer 4c174fda5e Lets start ... 2017-11-07 22:20:14 +01:00
Aaron Fischer da2ee9acab Initial setup. Add some datasheets 2017-10-20 00:13:40 +02:00