Thomas Göttgens
70dc13a998
use BSEC2 only
2023-05-10 14:14:48 +02:00
Thomas Göttgens
46e29402a6
fmt
2023-05-05 18:11:44 +02:00
Thomas Göttgens
10f41e376c
use BSEC2 for ESP32-C3
2023-05-05 18:09:06 +02:00
Thomas Göttgens
1621fbb5ab
add debug/info print
2023-04-21 16:03:48 +02:00
Thomas Göttgens
ac40f77694
Draft for now, please test
2023-04-21 16:03:48 +02:00
Ben Meadors
5679a82195
Support double tap as button press for supported accelerometers ( #2393 )
...
* For Garth
* Push it real good
* Wut
* Double tap
* Move disable logic
* Actually return
* Reinitialize setClick in thread body
* Initialize later so that we actually have nodedb on init
* Fixes
2023-03-29 13:04:02 -05:00
Ben Meadors
dc2ca9c32b
Report special battery_level of > 100 instead of zero to indicate USB ( #2341 )
...
* Report special battery_level of > 100 instead of zero to indicate USB
* Protos
* Helps if you click save
* Wrong method
* Fmt
2023-03-10 19:50:08 -06:00
Ben Meadors
9650adb616
Set reasonable defaults for sensor role and adjust packet priority ( #2305 )
2023-02-24 11:25:50 -06:00
Ben Meadors
46fa08dc33
Air quality specific prefs ( #2303 )
2023-02-23 13:05:24 -06:00
GUVWAF
5cadcd355f
Send DeviceTelemetry only after NodeInfo is sent
2023-02-11 15:58:26 +01:00
GUVWAF
4061870841
Don't need a Portduino guard clause here as it will not be compiled
2023-02-11 12:04:53 +01:00
GUVWAF
680550b76c
Add HAS_SENSOR flag
...
To separate DeviceTelemetry and EnvironmentTelemetry
2023-02-11 10:08:25 +01:00
Ben Meadors
1748db3160
Init struct
2023-02-04 13:35:02 -06:00
Ben Meadors
d83a0b1818
Initial air quality telemetry feature
2023-02-04 13:07:14 -06:00
Thomas Göttgens
3c6bbff4f9
Adjust braces to match DeviceTelemetry
...
this is to force correct order of evaluation.
2023-02-02 19:37:28 +01:00
Thomas Göttgens
f6c6c2912f
update enviro module to not create copies
2023-02-02 18:17:52 +01:00
Thomas Göttgens
a13adfb598
fixes #2239
2023-02-02 18:17:52 +01:00
Thomas Göttgens
cdf379616c
whatever makes trunk happy.
2023-01-21 21:23:24 +01:00
Thomas Göttgens
6fdb93cd16
re-add namespacing in protobufs. Let's see what i missed. Portduino likely ...
...
Checking in generated on purpose.
2023-01-21 21:23:24 +01:00
Ben Meadors
9046dacec8
I don't like this formatting but I need trunk to STFU
2023-01-18 14:51:48 -06:00
Ben Meadors
4d4af7de59
generated paths experiment
2023-01-18 08:56:47 -06:00
GUVWAF
c0166773e8
Portduino can handle this
2023-01-11 21:53:23 +01:00
GUVWAF
fc775012ea
Don't send NodeInfo and DeviceTelemetry at high Tx air util
...
Also move airtime checking to airtime class
2023-01-11 21:52:19 +01:00
Thomas Göttgens
8a9af37d82
Merge branch 'develop' into nice-threads
2022-12-30 20:18:19 +01:00
Ben Meadors
f1cdfd163d
Replaced all of the logging with proper log levels
2022-12-30 10:27:07 -06:00
Ben Meadors
0b5cae5393
Log levels refactoring
2022-12-29 20:41:37 -06:00
Ben Meadors
c7c5671cca
More disables
2022-12-29 18:48:33 -06:00
Thomas Göttgens
41a1dfec79
a lot of thread housekeeping. Switch them off when not needed / disabled.
2022-12-29 15:45:49 +01:00
Thomas Göttgens
94cb100e3f
Master to Develop
2022-12-28 15:30:23 +01:00
Thomas Göttgens
2ac2b6d1b6
replace PB03 compat macros with the real deal.
2022-12-23 10:00:34 +01:00
Thomas Göttgens
6a696af8f6
Revert "remember which devices were scanned on which bus and set them accordingly." - this is not working at all.
2022-11-13 14:56:52 +01:00
Thomas Göttgens
52cf530356
missing 2 sensor changes
2022-11-12 17:18:17 +01:00
Thomas Göttgens
861ded37db
remember which devices were scanned on which bus and set them accordingly.
2022-11-12 17:12:40 +01:00
Thomas Göttgens
8ab269e1b3
revert BME680 to default settings, they are working good. Our init was just replicating what's in the lib anyway.
2022-11-06 10:52:54 +01:00
Thomas Göttgens
7652253b8d
optimize BME680 usage
2022-11-06 10:37:14 +01:00
Thomas Göttgens
3d9633a56c
Different Sensor access, should prevent overheating/wrong measurements.
2022-11-05 20:12:41 +01:00
Ben Meadors
b0d05522c0
Make telemetry packets minimum priority ( #1810 )
2022-10-16 15:59:59 -05:00
Ben Meadors
fc57a9daa4
Send environment telemetry every minute ( #1808 )
2022-10-16 11:36:38 -05:00
Ben Meadors
45f9dee89a
Telemetry phone api guard ( #1805 )
...
* Delay start of telemetry modules
* Don't send unless our toPhoneQueue is empty
* Get wrecked, checks!
2022-10-16 09:58:58 -05:00
Ben Meadors
7fde56b8ac
Make telemetry logging more concise ( #1804 )
...
* Make telemetry logging more concise
* Whoops
2022-10-15 18:48:34 -05:00
Ben Meadors
6b614a2d6a
Added LPS22HB (RAK-1902) sensor support ( #1802 )
2022-10-15 14:55:57 -05:00
Ben Meadors
a3e67f8e4b
SHTC3 Sensor (RAK-1901) support ( #1800 )
2022-10-15 09:11:05 -05:00
Ben Meadors
434db4347b
Send device telemetry to phone every minute ( #1784 )
2022-10-11 10:21:30 -05:00
Ben Meadors
285ba9639e
Fix screen on secs ( #1673 )
...
* Fix screen on secs
* getIntervalOrDefaultMs
* Display correction
* Paren
2022-09-03 22:10:11 -05:00
Ben Meadors
73a1ea59f4
Update BMP280Sensor.cpp ( #1627 )
2022-08-12 20:11:32 -05:00
Ben Meadors
44ffdc5172
Send to phone like position packets ( #1582 )
2022-07-31 11:13:12 -05:00
Ben Meadors
97684c6c73
Add bmp-280 support ( #1581 )
2022-07-31 08:52:47 -05:00
majbthrd
ade32b1827
lay groundwork for a possible future architecture ( #1571 )
...
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* fix USE_RTC in variant.h for rak4631_epaper and t-echo
* ensure Screen.h is not included without configuration.h
Co-authored-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-07-31 07:11:47 -05:00
Ben Meadors
7e7872605b
Lots of environmental telemetry sensor cleanup ( #1574 )
2022-07-29 12:39:46 -05:00
Ben Meadors
d7d574e0a7
Screen for voltage / current ( #1547 )
...
* Add voltage + current measurements
* mA instead of amp
2022-07-03 11:10:41 -05:00