Tom Fifield
e65c309af6
Fix SHT41 support ( #4222 )
...
* Add SHT41 Serial to I2c Detection Code
On the Seeed Wio-WM1110 Dev Kit board, the SHT41 chip was being
incorrectly detected as SHT31.
This patch adds the necessary serial number for the SHT41 chip to
be correctly detected.
fixes meshtastic/firmware#4221
* Add missing sensor read for SHT41
2024-07-02 07:03:51 -05:00
Jonathan Bennett
0425551341
Display alerts ( #4170 )
...
* Move static functions into Screen.h, show compass during calibration
* Move to _fontHeight macro to avoid collision
* Move some alert functions to new alert handler
* Catch missed reboot code
* ESP32 fixes
* Bump esp8266-oled-ssd1306
* Fixes for when a device has no screen
* Use new startAlert(char*) helper class
* Add EINK bits back to alert handling
* Add noop class for no-display devices
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-06-25 11:26:02 -05:00
Warren Guy
23ac6b6514
fix INA3221 sensor ( #4168 )
...
- pass wire to begin()
- remove redundant setAddr() (already set in header)
2024-06-23 15:40:13 -05:00
GUVWAF
8078e03f5f
Implement replies for all telemetry types based on variant tag ( #4164 )
...
* Implement replies for all telemetry types based on variant tag
* Remove check for `ignoreRequest`: modules can set this, don't need to check
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-06-23 07:13:59 -05:00
mverch67
9d8a5221a9
fix for MESHTASTIC_EXCLUDE_INPUTBROKER
2024-06-17 20:17:56 +02:00
Thomas Göttgens
a38a18da0d
WIP: add NAU7802 based scale controller. ( #4092 )
...
* WIP: add NAU7802 based scale controller. Needs proto commit
* WIP: add NAU7802 based scale controller. Needs proto commit
* telemetry uses kg, scale internally g
* add sensor calibration setters
2024-06-15 19:59:22 -05:00
Ben Meadors
8b8e056b7b
Added (excluded) Dropzone Module for more comprehensive module example ( #4098 )
...
* DropzoneModule hello world
* Buttoning things up
* Exclude by default
* Upstream refs
* Cleanup
* Add modules folder to path
* Case and path matters
* Exclude from header
* Guard
2024-06-14 16:27:49 -05:00
Thomas Göttgens
181f03cb95
tryfix random values ( #4034 )
2024-06-04 08:14:27 -05:00
Ben Meadors
9632e4c405
Add missing excludes to environmental sensors ( #4033 )
...
* DF Robot Lark weather station support
* Missed it
* I am a man of const char sorrow...
* Strang
* Use our fork
* Add excludes
2024-06-04 07:04:25 -05:00
Ben Meadors
a218c6fb4d
DFRobot Lark weather station support ( #4032 )
...
* DF Robot Lark weather station support
* Missed it
* I am a man of const char sorrow...
* Strang
* Use our fork
2024-06-03 21:50:28 -05:00
Thomas Göttgens
79333c85a3
tryfix bme some more
2024-06-03 16:34:19 +02:00
Ben Meadors
06c635eca0
MLX90632 IR temperature sensor support ( #4019 )
2024-06-02 09:38:28 -05:00
Ben Meadors
97a5abbc82
TI OPT3001 light sensor support ( #4015 )
...
* TI OPT3001 light sensor support
* Added register interrogation to deconflict with SHT sensors on same address
2024-06-02 07:39:08 -05:00
Ben Meadors
6ce2fdc1c8
Add TSL2591 sensor support ( #4014 )
2024-06-01 20:21:39 -05:00
Thomas Göttgens
2740a56944
tryfix: init change for BME680 ( #3965 )
2024-05-31 19:46:42 -05:00
fzellini
eddda3ca43
added AHTx0 sensor ( #3977 )
...
* added AHTx0 sensor
* AHT10 definition in protobuf
* AHT10 definition in protobuf
* protobufs
* Management of AHT20+BMP280 module
* missing newline in log
* missing newline in log
* reverted
* reverted .gitignore
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-05-31 11:17:53 -05:00
Jonathan Bennett
84d3117a7a
Lock Portduino to MAGIC_USB_BATTERY_LEVEL for now ( #3894 )
2024-05-18 12:21:35 -05:00
Jorge Castillo
e08c808c3f
fix log line
2024-05-15 17:06:23 -04:00
Thomas Göttgens
64dc6cc215
trunk fmt
2024-05-15 12:24:42 +02:00
Jorge Castillo
8d89e78bbf
Merge branch 'master' into feature/veml7700
2024-05-14 19:00:32 -04:00
Jorge Castillo
0aa449bca9
Fix unnecessary code block removal in EnvironmentTelemetryModule
2024-05-14 18:47:20 -04:00
Jorge Castillo
a3e47b8d9b
merge master in to veml7700
2024-05-14 17:40:34 -04:00
Jorge Castillo
77e76bc92b
Fix VEML7700Sensor readings and update protobuf and MQTT JSON
2024-05-14 16:42:23 -04:00
pr000t
15178da566
Change SHT4X sensors library from Sensirion to Adafruit
2024-05-14 21:07:44 +02:00
Ben Meadors
ac22a503de
Revert "Revert "Add Sensirion SHT4X sensors ( #3792 )" ( #3845 )" ( #3850 )
...
This reverts commit 5d9800b7c2
.
2024-05-10 07:13:12 -05:00
Ben Meadors
5d9800b7c2
Revert "Add Sensirion SHT4X sensors ( #3792 )" ( #3845 )
...
This reverts commit 5371f134ba
.
2024-05-09 21:25:36 -05:00
Jorge Castillo
39336847ad
add veml7700 readings to protobuf and to the mqtt json + fix the readigns validator code in env telemetry
2024-05-08 22:14:55 -04:00
pr000t
5371f134ba
Add Sensirion SHT4X sensors ( #3792 )
...
* add Sensirion SHT4X sensors
* Update platformio.ini
Fix lib version
* Delete src/mesh/generated/meshtastic/telemetry.pb.h
* Revert "Delete src/mesh/generated/meshtastic/telemetry.pb.h"
This reverts commit 8e5e6a9f6ff4e31ed32775741c03a855e663a5de.
* remove modification on generated file
* Update ScanI2CTwoWire.cpp
Fix copy/paste issue
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-05-08 07:02:53 -05:00
Jorge Castillo
f19aa49eb2
add veml7700
2024-05-07 16:11:41 -04:00
HarukiToreda
77a66e1dce
Fix for EnvironmentTelemetry Screen ( #3785 )
...
* Update EnvironmentTelemetry.cpp
* Update EnvironmentTelemetry.cpp
Corrected lines I deleted by mistake
* trunk fmt
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-05-06 06:47:34 -05:00
Oliver Seiler
b155a5b6dc
rearrange includes
2024-05-06 12:15:49 +12:00
Oliver Seiler
2c30923e3e
add MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR exclusion to RCWL9620
2024-05-06 11:25:18 +12:00
Thomas Göttgens
53bd9de9b8
Merge branch 'master' into RCWL-9620
2024-05-03 15:12:51 +02:00
Thomas Göttgens
13ad524538
make clang-format happy again. Also fix assorted variable shrouding and logic bleeps
2024-05-03 15:10:57 +02:00
Thomas Göttgens
827dcfca4a
trunk fmt
2024-05-03 14:26:57 +02:00
Oliver Seiler
077ca5919a
MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements
2024-05-03 14:15:13 +12:00
Oliver Seiler
be0e882be1
exclude sensors when MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR set
2024-05-03 14:15:13 +12:00
Thomas Göttgens
a231cd2ad0
derp...
2024-04-21 16:35:41 +02:00
Thomas Göttgens
402b0d7e0b
ditch that no-good m5 dependancy and do it ourself
2024-04-21 14:39:55 +02:00
Thomas Göttgens
94e1f016e5
Change name
2024-04-20 20:49:57 +02:00
Thomas Göttgens
9170fe0580
Support radar sensor RCWL-9620 on i2c
2024-04-20 20:30:22 +02:00
Ben Meadors
4f205718f0
Device telemetry uptime in seconds ( #3614 )
2024-04-14 10:27:01 -05:00
Thomas Göttgens
2d81c97b98
fix #2586 (lower IAQ quality for saving to 2 and rework save logic)
2024-04-09 21:20:36 +02:00
Thomas Göttgens
cfd98b2c91
add BME680 IAQ reading. Range is from 0 (clean) - 500 (extremely polluted)
2024-04-09 21:20:36 +02:00
Ben Meadors
54818b5f8d
Enforce consistent polite channel utilization limits except for Sensor role ( #3467 )
2024-03-22 07:25:00 -05:00
Jonathan Bennett
dfcd0d14f6
Add MaxNodes to Native config ( #3427 )
...
* Add MaxNodes to Native
* It compiles...
* Convert nodedb to use new
* Closer but still broken.
* Finally working
* Remove unintended lines
* Don't include a pointer
* Capitalization matters.
* avoid rename in protocol regen
* When trimming the nodeDB, start with a cleanup
* Remove extra cleanupMeshDB() call for now
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-21 09:06:37 -05:00
Ben Meadors
0d1d79b6d1
Extract default intervals and coalesce methods into their own file / static class methods ( #3425 )
...
* Extract default intervals and coalesce methods into their own file / static class methods
* Missed pax
* Still managed to miss one
2024-03-17 08:18:30 -05:00
Thomas Göttgens
13cc1b0252
(3/3) Add variant for pico with waveshare and GPS hat ( #3412 )
...
* (3/3) Add variant for pico with waveshare and GPS hat, utilizing slow clock.
* Not everybody has Serial2
* Trunk
* Push it real gud
* No init
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-16 10:01:43 -05:00
Thomas Herrmann
cf11807f97
use priority background for low priority messages ( #3381 )
2024-03-12 12:21:09 -05:00
Manuel
c7839b469b
fix of tryfix SHT31 sensor ( #3377 )
2024-03-11 12:51:14 -05:00