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
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
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
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
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
fde1c5da2d
Optical code changes
2022-05-17 10:13:17 +02:00
Kai Lauterbach
8852f13d04
Comments added
2022-05-16 10:47:20 +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
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
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
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
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
1cef0e43c8
Clean up power settings logic
2019-01-27 18:49:28 +01:00
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
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
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
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
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
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
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
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
729d2b8650
Der stand geht
2017-12-09 18:07:46 +01:00
11c8c9a587
Add the sensor readings #1
2017-11-20 20:42:02 +01:00
f6d8abc723
Add influxdb and push the sensor data to the database
2017-11-20 20:15:42 +01:00
dd0e2b2e40
Update 'firmware/firmware.ino'
2017-11-17 16:57:09 +01:00
c9fd2ad2ac
Add reliable wifi connection #2 #3
2017-11-12 22:34:08 +01:00
f5042a3ec4
Implement the anemometer sensor
2017-11-12 21:37:55 +01:00
def78c8f92
Add come notes
2017-11-07 22:36:18 +01:00
4c174fda5e
Lets start ...
2017-11-07 22:20:14 +01:00
da2ee9acab
Initial setup. Add some datasheets
2017-10-20 00:13:40 +02:00