meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
2.98k stars 715 forks source link

added AHTx0 sensor #3977

Closed fzellini closed 1 month ago

fzellini commented 1 month ago

Hi, I have added the AHT10 sensor to the project, so, with inexpensive modules containing bmp280&AHT20 you have pressure, temp & humidity.

aht10

CLAassistant commented 1 month ago

CLA assistant check
All committers have signed the CLA.

caveman99 commented 1 month ago

You can add the sensor definiton here: https://github.com/meshtastic/protobufs/blob/5f78a06c0fe5d0bd99c2fe206165212bdce89da0/meshtastic/telemetry.proto#L347

fzellini commented 1 month ago

If BMP280+AHT20 detected, grab only humidity from AHT20... .... DEBUG | ??:??:?? 12 [EnvironmentTelemetryModule] BMP280Sensor::getMetrics INFO | ??:??:?? 12 [EnvironmentTelemetryModule] AHTX0+BMP280 module detected: using temp from BMP280 and humy from AHTX0 .....

fzellini commented 1 month ago

You can add the sensor definiton here: https://github.com/meshtastic/protobufs/blob/5f78a06c0fe5d0bd99c2fe206165212bdce89da0/meshtastic/telemetry.proto#L347

I have added sensor definition in my cloned repository

thebentern commented 1 month ago

Please revert changes to the gitignore and gitmodules files.

fzellini commented 1 month ago

Please revert changes to the gitignore and gitmodules files.

Done

fzellini commented 1 month ago

Done

Il giorno ven 31 mag 2024 alle ore 16:31 Alexander Smyslov < @.***> ha scritto:

@.**** commented on this pull request.

In .gitmodules https://github.com/meshtastic/firmware/pull/3977#discussion_r1622515441:

@@ -1,3 +1,3 @@ [submodule "protobufs"] path = protobufs

Please revert back

— Reply to this email directly, view it on GitHub https://github.com/meshtastic/firmware/pull/3977#pullrequestreview-2091003625, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5UW3X4T354Z6AZWQ736PTZFCCV3AVCNFSM6AAAAABISWV6G2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAOJRGAYDGNRSGU . You are receiving this because you authored the thread.Message ID: @.***>

thebentern commented 1 month ago

.gitignore changes are still present. Please revert it

fzellini commented 1 month ago

Please check now.

Il giorno ven 31 mag 2024 alle ore 17:49 Ben Meadors < @.***> ha scritto:

.gitignore changes are still present. Please revert it

— Reply to this email directly, view it on GitHub https://github.com/meshtastic/firmware/pull/3977#issuecomment-2142537019, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5UW3WA444VHU3YWGUEID3ZFCLYDAVCNFSM6AAAAABISWV6G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSGUZTOMBRHE . You are receiving this because you authored the thread.Message ID: @.***>