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
Ben Meadors
02d8715ca0
Standardize lat/lon position logs ( #4156 )
...
* Standardize lat/lon position logs
* Missed sone and condensed logs
2024-06-21 17:25:54 -05:00
Mike
2d39911f91
Fix protobuf structs handling ( #4140 )
...
* Fix protobuf structs handling
* Log instead of assert
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-06-20 16:14:34 -05:00
Thomas Göttgens
ecf5519b56
Moar LR1110 Targets
2024-06-20 16:26:04 +02: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
Daniel.Cao
e55604b8e5
rak10701: support touchscreen ( #4104 )
...
* Add the touch screen driver RAK10701 platform, lib_deps https://github.com/RAKWireless/RAK14014-FT6336U
* Added RAK10701 touch screen virtual keyboard, supporting cannedMessageModule free text
2024-06-14 19:36:20 -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
Wolfgang Nagele
62b310ac5c
Relax changes from #4001 to allow GPS and NTP as trusted sources ( #4068 )
2024-06-10 08:10:17 -05:00
GUVWAF
24458a73d6
Add missing hops in traceroute as "unkown" ( #4056 )
...
E.g. in case a node couldn't decrypt the packet
2024-06-09 16:03:53 -05:00
Talie5in
1f9f885aca
If EXCUDE_MQTT Defined, skip reconnecting MQTT in WiFiAPClient and dont check status of is_mqtt_connected
2024-06-06 22:31:10 +09:30
Talie5in
646b252786
Include PositionModule if EXCLUDE_GPS defined (requied by AdminModule)
2024-06-06 22:19:40 +09:30
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
8d90c496d0
Don't send potentially bogus timestamps with fixed location ( #4001 )
2024-05-31 07:14:33 -05:00
Ben Meadors
10e3040494
Add support for to_callsign on GeoChats for ATAK ( #3996 )
2024-05-30 18:49:08 -05:00
Ben Meadors
0b48663cbc
Don't alloc NodeInfo replies when channel utilization is > 40% ( #3991 )
...
* Don't alloc NodeInfo replies when channel utilization is > 40%
* Commit
* Logs
2024-05-30 08:49:01 -05:00
andrew-moroz
77cf5c6200
Fix time updates from client device and potentially incorrect UI frame receiving 'toggle watch face' button tap ( #3974 )
2024-05-26 07:04:31 -05:00
Andrew Moroz
1d288414a5
t-watch-fix: Fully insulate T-Watch free text updates from other hardware platforms
2024-05-24 00:02:03 -04:00
andrew-moroz
2f9dc813d3
t-watch-updates: Add canned message free text via touch keyboard and watch face frames to T-Watch S3 ( #3941 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-05-23 07:21:27 -05:00
Ben Meadors
4a05874dba
Try-fix: Remove logging of actual payload strings (and compressed) for TAK packets ( #3922 )
...
* Remove logging of actual payload strings (and compressed) for TAK packets
* Don't assert / reboot. Log error and skip decode
2024-05-19 07:24:10 -05:00
Jonathan Bennett
84d3117a7a
Lock Portduino to MAGIC_USB_BATTERY_LEVEL for now ( #3894 )
2024-05-18 12:21:35 -05:00
Ben Meadors
b4a7e78d18
Don't reboot for certain config prefs and make accelerometer thread re-entrant ( #3889 )
...
* Don't reboot for certain config prefs and make accelerometer thread re-entrant
* WHOOPS
* Don't reboot for LED heartbeat and button press
* Remove TZ
2024-05-16 17:27:36 -05:00
Thomas Göttgens
d95e3acab3
implements #3885
2024-05-16 15:52:22 +02: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
Jonathan Bennett
0c89aff0f6
Enable telemetry and power telemetry on the native target
2024-05-09 15:45:16 -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
Nicholas Baddorf
147de75a02
Added modifier key combination to allow keyboard shortcuts on t-deck ( #3668 )
...
* Updated kbI2cBase.cpp
Updated keyboard settings for t-deck to allow a modifier key to trigger 'tab', mute notifications, or quit. To trigger the modifier press the shift key and mic (0) button at the same time. Then press q (quit), m (mute), or t (tab).
* Update kbI2cBase.cpp
* fixed formatting issues in kbI2cBase.cpp
* Removed keyboard shortcut code that doesnt work
alt+t does not work on a t-deck so I removed it to avoid confusion.
* Updated kbI2cBase.cpp
Updated keyboard settings for t-deck to allow a modifier key to trigger 'tab', mute notifications, or quit. To trigger the modifier press the shift key and mic (0) button at the same time. Then press q (quit), m (mute), or t (tab).
* Update kbI2cBase.cpp
* fixed formatting issues in kbI2cBase.cpp
* Removed keyboard shortcut code that doesnt work
alt+t does not work on a t-deck so I removed it to avoid confusion.
* Changed modifier key to alt+c
* Added screen brightness functionality
Use modifier key with o(+) to increase brightness or i(-) to decrease.
Currently there are 4 levels of brightness, (L, ML, MH, H). I would like to add a popup message to tell you the brightness.
* Added checks to disable screen brightness changes on unsupported hardware
* Setting the brightness code to work on only applicable devices
* Added "function symbol" display to bottom right corner of screen. Now shows when mute is active or modifier key is pressed. Also fixed some other minor issues.
* commented out a log
* Reworked how modifier functions worked, added
I wasn’t happy with my previous implementation, and I think it would have caused issues with other devices. This should work on all devices.
* Added back the function I moved causing issue with versions
* Fixed the version conflicts, everything seems to work fine now
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-05-08 07:37:50 -05: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
Ben Meadors
0d57d29cbd
Send fixed position to mesh after setting it ( #3803 )
2024-05-06 14:51:19 -05: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
Thomas Göttgens
9fb6148aff
Merge branch 'master' into RCWL-9620
2024-05-03 12:28:08 +02:00
Oliver Seiler
6c1377aa39
fix case statement
2024-05-03 18:59:33 +12: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
Andrew Yong
5f929a8024
Publish fixed position updates and consider changes in only altitude as an updated point ( #3758 )
...
* AdminModule: Publish fixed position updates
Enabled GPS thread when fixed position is updated, to let the GPS thread run once and publish the new fixed position.
Signed-off-by: Andrew Yong <me@ndoo.sg>
* GPS: Consider changes in only altitude as an updated point
Signed-off-by: Andrew Yong <me@ndoo.sg>
---------
Signed-off-by: Andrew Yong <me@ndoo.sg>
2024-05-02 07:13:36 -05:00
Ben Meadors
57da37cfbc
Position module should enforce precision for phone originated position packets ( #3752 )
2024-05-01 08:05:26 -05:00
Ben Meadors
472db5b237
Merge branch 'master' into RCWL-9620
2024-04-28 07:05:54 -05:00
Ben Meadors
6cc7dee95c
Tradunkadunk
2024-04-27 11:12:52 -05:00
HarukiToreda
38c4d35a7b
Add Notification on device screen following feature toggle ( #3627 )
...
* Update CannedMessageModule.h
* Update CannedMessageModule.cpp
* Update CannedMessageModule.cpp
hopefully this fixes the errors on Trunk
* Update CannedMessageModule.cpp
Changed "Ping Broadcasted" with "Telemetry Update Sent"
* tryfix: disable tempmessage again after 2 seconds
* fix 2s showtime
* Put spelling fix back
* Fix build
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-27 11:08:25 -05:00
Ben Meadors
e683d8f552
Rebrand "send network ping" to more honest "try send position" with better output ( #3737 )
2024-04-27 08:55:04 -05:00
jcyrio
e66aec8223
fix typo in comment ( #3726 )
2024-04-27 08:54:06 -05:00
Ben Meadors
1c0227f90c
Merge branch 'master' into RCWL-9620
2024-04-23 14:19:08 -05:00
Nicholas Baddorf
d0e81b9151
Fixed node and channel selection for t-deck ( #3695 )
...
This enables the node and channel selection to be accessed by pressing the tab shortcut and then swiping between nodes or pressing tab again to change channels.
(To access the tab function look at my other pull request https://github.com/meshtastic/firmware/pull/3668 )
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-23 07:09:26 -05:00
Thomas Göttgens
c6e940af81
Merge branch 'master' into RCWL-9620
2024-04-23 14:04:22 +02:00
Gareth Coleman
378a2d723e
Merge branch 'RGBLED' of github.com:garethhcoleman/firmware into RGBLED
2024-04-22 14:43:07 +01:00
Gareth Coleman
5dd08e9533
added NeoPixel support using Adafruit library
2024-04-22 14:42:52 +01:00
Gareth Coleman
125add9792
Merge branch 'master' into RGBLED
2024-04-22 14:42:14 +01:00
David Ellefsen
30d4c3a945
Updates for esp32s2 build
2024-04-22 11:01:13 +02:00
Gareth Coleman
45fd5e25ac
Merge branch 'master' into RGBLED
2024-04-22 09:15:44 +01:00
Thomas Göttgens
f47b40cf68
fix signedness warnings of NRF52 toolchain
2024-04-22 09:49:06 +02:00
Ben Meadors
84edaabfe9
Merge branch 'master' into RGBLED
2024-04-21 14:46:18 -05:00
Ben Meadors
048f0a1601
Merge branch 'master' into RCWL-9620
2024-04-21 14:41:49 -05:00
Nicholas Baddorf
4a48a3fb52
Fixed bug making t-deck reboot when muted ( #3694 )
2024-04-21 14:41:22 -05:00
Ben Meadors
39bbf0d352
Added more clear RTC handling and quality logging ( #3691 )
...
* Also refresh timestamp for "timeonly" fixed position nodes
* Added more clear RTC quality handling
* Fix clock drift from Phone GPS / NTP too
2024-04-21 14:40:47 -05:00
Thomas Göttgens
a231cd2ad0
derp...
2024-04-21 16:35:41 +02:00
Thomas Göttgens
a957065fe8
Merge branch 'master' into RCWL-9620
2024-04-21 14:47:29 +02:00
Ben Meadors
41f3557491
Refactor smart position to use throttle helper ( #3671 )
...
* Added one minute throttling to NodeDB
* Derp
* Refactor smart-position to use throttle
2024-04-21 07:42:36 -05:00
Thomas Göttgens
402b0d7e0b
ditch that no-good m5 dependancy and do it ourself
2024-04-21 14:39:55 +02:00
Gareth Coleman
cf65661c7c
another silly error
2024-04-21 08:59:40 +01:00
Gareth Coleman
fb7a878d94
tweaked guards to allow various combinations of RGB leds
2024-04-21 08:24:51 +01: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
Gareth Coleman
4a471ded79
Merge branch 'RGBLED' of github.com:garethhcoleman/firmware into RGBLED
2024-04-19 00:28:39 +01:00
Gareth Coleman
eea85d26ca
oh god the bugs, they are everywhere, I feel so dirty...
2024-04-19 00:28:20 +01:00
Gareth Coleman
8ac308e73b
Merge branch 'master' into RGBLED
2024-04-18 23:12:08 +01:00
GUVWAF
e4b5f2ce14
NeighborInfo: Only keep neighbors in RAM ( #3660 )
...
* NeighborInfo: Only keep neighbors in RAM
It fills up quickly when nodes are running >=2.3
* Defer first transmission as it's usually empty
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-18 16:16:50 -05:00
Gareth Coleman
7d77b23eb6
support for generic 4 pin CC and CA RGB LEDS
2024-04-18 22:00:33 +01:00
Ben Meadors
78d915b454
Merge branch 'master' into RGBLED
2024-04-18 14:44:53 -05:00
GUVWAF
4c0b7ea409
StoreForward: Remove assert when receiving unhandled case ( #3661 )
2024-04-18 14:28:11 -05:00
Gareth Coleman
4b5549be8f
added vibration notifications
2024-04-18 09:22:31 +01:00
Ben Meadors
2cd877d2eb
Merge branch 'master' into RGBLED
2024-04-16 20:37:02 -05:00
GUVWAF
c34956e9d8
Cosmetics: rename remaining plugins → modules and less errors ( #3645 )
2024-04-16 17:47:56 -05:00
Gareth Coleman
afb4de21d9
yet another random edit, think i'm brushing the touchpad or perhaps my computer is possessed by the devil determined to make me look foolish
2024-04-16 22:37:57 +01:00
Gareth Coleman
0632b96fcb
just tiny tweak to minimise changes
2024-04-16 21:40:13 +01:00
Gareth Coleman
8a3322fbcb
rgb led support for unPhone
2024-04-16 21:28:12 +01:00
Ben Meadors
2803fa964e
Add LoadFileState to differentiate types of success / failures ( #3625 )
2024-04-15 07:22:05 -05: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