theFeiter
d1872b1d53
replace external ntp with internal ntp
2022-07-12 21:32:27 +02:00
Timm Bogner
5822d8e0d9
Merge branch 'dev' into okay-wait-now-i-really-got-this
2022-07-11 18:59:23 -05:00
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.
2022-07-11 16:07:46 +02:00
theFeiter
85b1e16144
add newline
2022-07-11 12:55:45 +02:00
theFeiter
92c17d3567
release logbuffer every 10 seconds if not empty
2022-07-11 12:50:52 +02:00
theFeiter
48d2a6f012
only count seconds_since_reset when logging is enabled
2022-07-11 12:15:55 +02:00
theFeiter
f29e7ce916
add defined filename
2022-07-10 19:50:47 +02:00
theFeiter
107c1413a1
use buffering for all logs
2022-07-10 19:26:45 +02:00
theFeiter
876d860a05
use internal seconds since reset only when wifi not enabled
2022-07-10 13:06:49 +02:00
theFeiter
3854593bf7
use internal seconds since reset only when wifi not enabled
2022-07-10 13:06:03 +02:00
Timm Bogner
59196b7829
fixed if/else
2022-07-09 20:22:33 -05:00
Timm Bogner
e10315bc28
used enum to make newData more expressive
2022-07-09 20:05:34 -05:00
Timm Bogner
47ba30d167
Merge pull request #45 from thefeiter/spiffs-logging
...
Create internal flash (LittleFS) logging functionality
2022-07-08 18:59:05 -05:00
theFeiter
d8317daf83
this just fixed the write speed issue
2022-07-08 11:33:46 +02:00
theFeiter
83c11c27ed
Merge branch 'dev' into spiffs-logging
2022-07-08 10:13:17 +02:00
Sascha
9e57a8f299
Refactored DEBUG and DBG to FDRS_DEBUG and FDRS_DBG
...
Changed those values to be prevent compiling issues with PlatformIO and also as it is good practice not to use names which easily could collide with other libs.
Also removed a duplicate line from keywords.txt
2022-07-08 08:41:58 +02:00
Timm Bogner
a8e94156dd
Updated gateway .ino
2022-07-07 23:29:03 -05:00
Timm Bogner
64bcbf947a
Merge branch 'dev' into create-sd-card-logging
2022-07-07 21:19:10 -05:00
Timm Bogner
64eb35a918
fixed macro names
2022-07-07 21:15:50 -05:00
Timm Bogner
8825396298
Merge pull request #49 from Gulpman/dev
...
Dev: refactoring GLOBALS to FDRS_GLOBALS
2022-07-07 18:06:01 -05:00
theFeiter
2eb8755ce9
add spi Initialization for ESP32
2022-07-07 12:47:30 +02:00
theFeiter
d093128e7c
only use defined spi pins on ESP32
2022-07-07 12:38:57 +02:00
theFeiter
6b51e1c978
add prefixes to defines
2022-07-07 12:37:04 +02:00
theFeiter
d013f38196
apply some compiler suggestions
2022-07-07 11:59:04 +02:00
theFeiter
5d4d0d40cc
Merge branch 'create-sd-card-logging' into spiffs-logging
2022-07-07 11:55:25 +02:00
theFeiter
5e7f277bcd
small corrections
2022-07-07 11:53:37 +02:00
theFeiter
cb47f6c02e
use littlefs since spiffs is deprecated
2022-07-07 11:49:57 +02:00
theFeiter
d67e831e64
Revert "use littlefs since spiffs is deprecated"
...
This reverts commit da4b403246
.
2022-07-07 11:45:18 +02:00
theFeiter
da4b403246
use littlefs since spiffs is deprecated
...
apply some suggestions from the compiler
2022-07-07 11:42:17 +02:00
Sascha
25fb6b4d26
refactored GLOBALS to FDRS_GLOBALS
...
Globals is just too... global :)
Could also conflict with other libraries.
2022-07-07 11:40:12 +02:00
theFeiter
9d5a1062dc
change filename
2022-07-07 00:48:58 +02:00
theFeiter
5624ac30af
create SPIFFS logger function
2022-07-07 00:27:01 +02:00
theFeiter
61d6556373
create SPIFFS logger function
2022-07-07 00:26:55 +02:00
theFeiter
0738fc1e72
rename again to match other
2022-07-06 23:17:04 +02:00
theFeiter
a7ab16d9f7
rename again to match other
2022-07-06 23:14:25 +02:00
theFeiter
abd9593869
rename method
2022-07-06 23:03:28 +02:00
theFeiter
520ce3f050
add column information
2022-07-06 22:58:28 +02:00
theFeiter
b822698b81
uncomment
2022-07-06 22:53:17 +02:00
theFeiter
4ae1b18cfb
added ntp time keeping
2022-07-06 22:42:59 +02:00
theFeiter
fa0f8c1336
update readme
2022-07-06 16:14:01 +02:00
theFeiter
50500d0188
filename defined on function call
2022-07-06 16:06:35 +02:00
theFeiter
2b14e3171b
add space
2022-07-06 15:40:37 +02:00
theFeiter
c49fe47bd8
move overload method
2022-07-06 15:38:56 +02:00
theFeiter
e867cbc9e7
use csv format on sd log
2022-07-06 15:36:10 +02:00
theFeiter
b7dcadf011
if sending mqtt fails, log to sd
2022-07-04 21:54:39 +02:00
theFeiter
60242ab2cd
dont log when sending serial,
...
dont try to init sd if not in use
2022-07-04 20:01:17 +02:00
theFeiter
f6debe8f00
added crude timestamp method
2022-07-03 20:23:12 +02:00
theFeiter
04e253566d
go into endless loop when sd init fails
2022-07-03 19:21:58 +02:00
theFeiter
f4b5799b16
renamed defines
2022-07-03 18:50:56 +02:00
theFeiter
60e6c66cea
make filename configurable, dont do anything when sd not in use
2022-07-03 18:50:41 +02:00