MClimate: add PIR family (CO2 + PIR Lite, HT + PIR Lite, PIR Mini) - #1036
Merged
Jaime-Trinidad merged 17 commits intoJul 23, 2026
Merged
Conversation
…ix photos Add three new devices with uplink decoders, profiles and codec definitions: - co2-pir-lite (fw 1.1, hw 1.1): temperature, humidity, CO2, occupancy - ht-pir-lite (fw 1.1, hw 1.1): temperature, humidity, occupancy - pir-mini (fw 1.4, hw 1.2): temperature, humidity, lux, occupancy + PIR events Decoders are verified against the mclimate-payload-helper package. Each codec ships keepalive and command-response examples plus normalizeUplink output. Also fix wrong device photos (16ads, fan-coil-thermostat) and remove the orphan flood-sensor.jpg. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Jaime-Trinidad
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds three new MClimate LoRaWAN devices to the
mclimatevendor, each with a device definition, EU863-870 profile, codec definition and uplink decoder:co2-pir-lite)ht-pir-lite)pir-mini)All three are EU863-870, LoRaWAN 1.0.3, Class A, OTAA.
Decoders
Each
decodeUplinkhandles the keepalive message and the command-response format (with the keepalive appended), and providesnormalizeUplinkoutput (air.temperature,air.relativeHumidity,air.co2,air.lightIntensity,battery,action.motion). PIR Mini also decodes the room-occupied / unoccupied / PIR-trigger event uplinks. The decoders were verified field-by-field against MClimate'smclimate-payload-helperpackage, and the codec examples double as the validation test vectors.Housekeeping
Also included: corrected the wrong
photos.mainfor16adsandfan-coil-thermostat, and removed the orphanflood-sensor.jpg.Validated with
make validate VENDOR_ID=mclimateandmake fmt.🤖 Generated with Claude Code