Sascha
7526439d85
Return random vaule for sensor nodes
...
the return value in the sensor sketches was missing the random function. Fixed that.
2 years ago
Sascha
7c15bdf675
Update fdrs_globals.h
...
No change to the content - just putting blocks together for simpler overview.
2 years ago
Sascha
c0e28b0403
LoRa debug: show band and sf for better debugging
2 years ago
Timm Bogner
a8339f1136
Merge branch 'main' into dev
2 years ago
Timm Bogner
17e33b82af
Update README.md
2 years ago
Timm Bogner
699d7a2840
shwoop
2 years ago
Timm Bogner
5adb4a6728
Update README.md
2 years ago
Timm Bogner
1ce8a3eb2b
dink
...
Changed the spammer a little and adjusted some other stuff.
2 years ago
Timm Bogner
6a5e7acd13
sensors are go
2 years ago
Timm Bogner
d3e137ab8b
unifying gateways etc
...
more to come
2 years ago
Timm Bogner
c5f9064f03
Merge pull request #64 from Gulpman/dev
...
Small improvement to debug messages in fdrs_sensor.cpp
2 years ago
Sascha
087b9f30c8
house keeping
...
Added some comments for easier browsing through the source and corrected a type.
2 years ago
Sascha
dbf6d5b082
Removed double-include of fdrs_gateway_config.h
...
fdrs_gateway_config. h was included twice. I also simplified th USE_LED configuration block (was defined twice, could be done in one block.
2 years ago
Sascha
454365d453
House keeping on keywords.txt, library.properties and README.md
...
- added missing categories in keywords.txt
- added dependency of ArduinoJson in library.properties (I didn't add LoRa and PubSubClient but think they should go there as well)
- reformatted paragraph on dependencies as list for better readability
2 years ago
Sascha
3878c27725
Fixed #59
...
Fixed #59 with the help of aviateur17. Explanation here: https://github.com/timmbogner/Farm-Data-Relay-System/issues/59#issuecomment-1183915731
2 years ago
Sascha
e958b328a0
Update fdrs_globals.h
...
Added header comment
2 years ago
Sascha
54b21e9a3b
Fixed unallowed extra tokens after #endif
...
Extra tokens at end of #endif directive are not allowed. Arudino IDE does not care but Platform IO does. The specification forbids is as well, so adding a comment behind the endif is a good compromise between overview and conformity.
2 years ago
Sascha
c6b16143a9
Replaced undefined sleep_time with seconds
2 years ago
Sascha
4b2892dd55
Small improvement to debug messages in fdrs_sensor.cpp
...
Just two small additions making debugging a little bit more convenient:
- Added value of data to FDRSBase::load
- Added additional text tp FDRSLoRa::init
2 years ago
Timm Bogner
16507eb25a
Merge pull request #62 from thefeiter/use-internal-ntp-api
...
Use internal NTP api
2 years ago
theFeiter
d1872b1d53
replace external ntp with internal ntp
2 years ago
Timm Bogner
b91920517f
Merge pull request #58 from Gulpman/dev
...
Bugfix: Updated fdrs_sensor.h of Universal_Sensor_beta
2 years ago
Sascha
0fd7a84dca
Added support to choose either LoRa or ESPNow sensor
...
by defining USE_LORA or USE_ESPNOW the sensor is set up as exactly that.
2 years ago
Sascha
daf4adefd9
Debug helper :)
...
I find it very convenient for testing to have altering values within the sensor sketches, as it is easier to see if new values are arriving. Therefore replaced the fixed humidity value to a random value between 0-100.
2 years ago
Sascha
ef573a8f45
Bugfix: Updated fdrs_sensor.h of Universal_Sensor_beta
...
A "LORA" was missing in the definition for FDRS_... Lora settings which led to a compile error. Fixed.
2 years ago
Timm Bogner
d952081a22
Merge pull request #56 from thefeiter/buffer-log-writes
...
Buffer log writes before saving them to the file.
2 years ago
Timm Bogner
5822d8e0d9
Merge branch 'dev' into okay-wait-now-i-really-got-this
2 years ago
Timm Bogner
7a6a411547
Merge pull request #57 from Gulpman/dev
...
Dev: Cleaned up naming of configuration files
2 years ago
Timm Bogner
d37fdec9fc
moved to its folder
2 years ago
Sascha
0d7c767070
Added example from @Devilbinder to the repo
...
Added the example sketch.
At the moment this resides in a separate folder but after the Universal_Gateway has been finished this could be moved into the Full_System_Example or a generic Gateway_Examples folder.
2 years ago
Sascha
9ab5be2258
Update keywords.txt
...
Added further entries to keywords.txt
2 years ago
Sascha
700f87b6a4
houeskeeping in Universal Sensor's config file
...
Put FDRS_DEBUG to top
Some formatting and further explanations on the settings.
Uncommented local LoRa settings, so by default the global fdrs settings are taken.
This makes the setup process easier and less error-prone.
2 years ago
Sascha
acf53e6ed5
Refactored gateway config files
...
Refactored fdrs_config.h to fdrs_gateway_config.h
This way it is directly visible from within a folder, what the config is for.
2 years ago
Sascha
249904fbc4
Refactoring for easier understanding while coding
...
Step one: refactor sensor_setup.h -> fdrs_sensor.h
2 years ago
Sascha
52f0d0c9ce
Merge branch 'timmbogner:dev' into dev
2 years ago
theFeiter
85b1e16144
add newline
2 years ago
theFeiter
92c17d3567
release logbuffer every 10 seconds if not empty
2 years ago
theFeiter
48d2a6f012
only count seconds_since_reset when logging is enabled
2 years ago
Timm Bogner
3979c09dd7
changed reading_id to uint16_t
2 years ago
theFeiter
f29e7ce916
add defined filename
2 years ago
theFeiter
107c1413a1
use buffering for all logs
2 years ago
theFeiter
876d860a05
use internal seconds since reset only when wifi not enabled
2 years ago
theFeiter
3854593bf7
use internal seconds since reset only when wifi not enabled
2 years ago
Timm Bogner
59196b7829
fixed if/else
2 years ago
Timm Bogner
e10315bc28
used enum to make newData more expressive
2 years ago
Sascha
06036e54e4
Fixed issue with ignored global settings in fdrs_sensor.h
...
This needs to be checked, especially in the new class-based model of sensors and gateways: First the global settings must be checked and the corresponding local settings for a sensor / gateway commented out.
Then either the one or other is saved in a FDRS_prefix variable. After that checks must soley be done against FDRS_variables.
2 years ago
Timm Bogner
47ba30d167
Merge pull request #45 from thefeiter/spiffs-logging
...
Create internal flash (LittleFS) logging functionality
2 years ago
Timm Bogner
635977b789
Merge pull request #53 from Gulpman/dev
...
DEV: Refactored DEBUG and DBG to FDRS_DEBUG and FDRS_DBG
2 years ago
theFeiter
d8317daf83
this just fixed the write speed issue
2 years ago
theFeiter
83c11c27ed
Merge branch 'dev' into spiffs-logging
2 years ago