Manuel
c7839b469b
fix of tryfix SHT31 sensor ( #3377 )
2024-03-11 12:51:14 -05:00
Thomas Göttgens
658ed6fd28
tryfix SHT31 sensor on secondary bus
2024-03-11 13:51:26 +01:00
Thomas Herrmann
763ae9f2e2
add BMP085 (and BMP180) sensor (temperature and air pressure)
2024-03-07 23:58:04 +01:00
Thomas Herrmann
4ffb906fe8
move duplicate #define for screen to unified header file ( #3302 )
2024-02-27 12:49:46 -06:00
Ben Meadors
14b31d4d14
Fix INA sensor dual use between environment telem and device battery reading ( #3002 )
2023-12-08 19:26:37 -06:00
Ben Meadors
b4ad6b0f41
Added client-hidden role behavior ( #2992 )
...
* Added client-hidden role behavior
* Trunkt
* That line got all boogered up
2023-12-06 14:04:09 -06:00
Ric In New Mexico
9d4af1146e
INA3221 bugfixes & refinement ( #2944 )
...
Reorganized and refactored some INA3221 code
Added comments
Added missing shunt resistor value (100mΩ)
Added INA3221 Channel 1 to getINAVoltage() for device battery monitoring
modified: src/Power.cpp
modified: src/modules/Telemetry/PowerTelemetry.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.h
modified: src/power.h
2023-11-17 06:46:59 -06:00
Ric In New Mexico
f57020412e
INA3221 / Power Telemetry Payload Variant Implementation ( #2916 )
...
* INA3221 / Power Telemetry Variant Implementation
modified: platformio.ini
modified: src/configuration.h
modified: src/detect/ScanI2C.h
modified: src/detect/ScanI2CTwoWire.cpp
modified: src/main.cpp
modified: src/modules/Modules.cpp
new file: src/modules/Telemetry/PowerTelemetry.cpp
new file: src/modules/Telemetry/PowerTelemetry.h
new file: src/modules/Telemetry/Sensor/INA3221Sensor.cpp
new file: src/modules/Telemetry/Sensor/INA3221Sensor.h
modified: src/mqtt/MQTT.cpp
* ifdef for portduino / linux native
modified: src/modules/Telemetry/PowerTelemetry.cpp
* try #2
modified: src/modules/Modules.cpp
modified: src/modules/Telemetry/PowerTelemetry.cpp
deleted: variants/xiao_ble/1.0.0/libraries/SPI/SPI.cpp
* try #3
modified: src/modules/Modules.cpp
* try #4
modified: src/modules/Telemetry/PowerTelemetry.cpp
* try #5 ?
modified: src/modules/Telemetry/PowerTelemetry.cpp
* try #6
modified: src/modules/Telemetry/PowerTelemetry.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-11-04 20:07:00 -05:00
Manuel
142d56c663
allow sensors connected to second I2C port ( #2891 )
2023-10-14 19:33:45 -05:00
Ben Meadors
950d5f0946
Power saving sensor ( #2865 )
...
* Trunk
* Again
* This thing just keeps updating itself
* Ignore tools
* Sleepy sensor
* Batrunkadunk
2023-10-05 12:42:03 -05:00
Thomas Göttgens
4e54bec525
Force small fonts on Low DPI screens, no matter what the driver default uses. Up till now we assumed large fonts on E-Paper and TFT Screens. ( #2677 )
2023-08-03 06:58:19 -05:00
Ben Meadors
9eeec6c083
Reply to Repeater in DeviceTelemetry module ( #2661 )
2023-08-01 16:18:10 -05:00
Ben Meadors
e4e26a819b
Check if hasSensor an run if not initialized ( #2613 )
2023-07-16 15:23:31 -05:00
Ben Meadors
81f80546b4
Remove deprecated MyNodeInfo fields ( #2552 )
...
* Skadoosh
* Removing deprecated fields
* Remove remaining deprecations
* Macro
* Macro
2023-06-08 08:07:32 -05:00
Ben Meadors
cd787232ca
Use INA for device battery level ( #2536 )
...
* WIP
* Continued wip
* We got em
* Voltage sensor base class
* INA voltage
* Log it
* Stacie's mom has got it going on
* Move declaration up
* Last one
* Sneaky little bugger
* Macro guard to avoid calling methods
2023-06-02 06:32:34 -05:00
GUVWAF
94f5c04e19
Update lastSentToPhone after sendTelemetry ( #2522 )
2023-05-27 12:35:45 -05:00
Thomas Göttgens
a583163766
fix BSEC2 BME680 Sensor Readings
2023-05-25 15:56:39 +02:00
IhorNehrutsa
9c683f4c87
Fix LOG_DEBUG messages when no DEBUG_PORT. ( #2485 )
...
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
2023-05-13 05:33:14 -05:00
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