[Feature Request]: Read GeigerNode native I2C radiation telemetry
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cpp
- Domain
- embedded-iot
Research direction
Wait until the linked protobufs PR merges and the generated bindings are regenerated; do not edit src/mesh/generated/ by hand. Use src/modules/Telemetry/Sensor/CGRadSensSensor.cpp as the pattern for a new GeigerNodeSensor, register it from EnvironmentTelemetry, and add the two fields to src/serialization/MeshPacketSerializer.cpp. Done means an 8-byte decode test passes, both fields are set only when VALID is set, and radiation is left untouched.
Written by the indexing model from the issue text.
Description
Platform
Cross-Platform
Description
Add a native GeigerNode I2C driver that publishes the new SI radiation fields from meshtastic/protobufs#1163 / protobufs PR #1174.
Implementation starts only after that protobuf PR merges and update_protobufs.yml regenerates the bindings. Do not hand-edit src/mesh/generated/.
Scope
- Detect the native map at I2C
0x67: device id0x474Eat0x00, protocol2at0x02. This is not ClimateGuard RadSens (0x66, id0x7D/0x7A), which stays onEnvironmentMetrics.radiationin µR/h. - Add
GeigerNodeSensorbesidesrc/modules/Telemetry/Sensor/CGRadSensSensor.cpp, registered fromEnvironmentTelemetry. - Read the big-endian values at
0x04..0x0B(nSv/h, CPM × 10, status). - When status
VALIDis set, publishradiation_dose_rate_nsvhandradiation_cpm_x10as present values, including a real zero. WhenVALIDis clear, leave both unset. Do not writeradiationand do not convert µR/h. - The sensor’s own window (default 300 s) is the measurement. The Meshtastic telemetry interval does not change it. Histogram, peaks, calibration, raw count, and HV control stay off the mesh.
- Coexist with a BME680 at
0x76on the same bus. - Add the two fields to
src/serialization/MeshPacketSerializer.cppand cover the 8-byte decode plus the JSON keys with a native test.
Related
- Schema: https://github.com/meshtastic/protobufs/issues/1163
- Protobufs PR: https://github.com/meshtastic/protobufs/pull/1174
- Sensor protocol: https://github.com/CZ-Infokom/GeigerNode (
firmware/geigernode-i2c-protocol.md)
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 2.8k
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 119
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from meshtastic/firmware
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
meshtastic/firmware#12519 ·
Maintainers usually reply within 1 day
-
first-contribution
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
meshtastic/firmware#12433 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]: device-installer.sh closes terminal after completion so results cannot be seenPossibly taken @piyush295 claimed this 27 days ago. Openbug first-contribution triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
meshtastic/firmware#11954 · 2 comments ·
Maintainers usually reply within 1 day
-
[Bug]: Heltec Capsule Sensor v3 GPS not workingMay be free again A pull request for this issue was closed without being merged. Openbug first-contribution triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
meshtastic/firmware#9854 · 4 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
meshtastic/firmware#12520 ·
Maintainers usually reply within 1 day
All issues in meshtastic/firmware
Similar issues
-
arch-based bug niri
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
noctalia-dev/noctalia#5552 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
yugabyte/yugabyte-db#39462 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days