Skip to content

MClimate: add PIR family (CO2 + PIR Lite, HT + PIR Lite, PIR Mini) - #1036

Merged
Jaime-Trinidad merged 17 commits into
TheThingsNetwork:masterfrom
MClimate:mclimate-add-pir-family
Jul 23, 2026
Merged

MClimate: add PIR family (CO2 + PIR Lite, HT + PIR Lite, PIR Mini)#1036
Jaime-Trinidad merged 17 commits into
TheThingsNetwork:masterfrom
MClimate:mclimate-add-pir-family

Conversation

@MClimate

@MClimate MClimate commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds three new MClimate LoRaWAN devices to the mclimate vendor, each with a device definition, EU863-870 profile, codec definition and uplink decoder:

Device Firmware Sensors
CO2 + PIR Lite (co2-pir-lite) 1.1 temperature, humidity, CO2, occupancy (PIR)
HT + PIR Lite (ht-pir-lite) 1.1 temperature, humidity, occupancy (PIR)
PIR Mini (pir-mini) 1.4 temperature, humidity, light (lux), occupancy (PIR)

All three are EU863-870, LoRaWAN 1.0.3, Class A, OTAA.

Decoders

Each decodeUplink handles the keepalive message and the command-response format (with the keepalive appended), and provides normalizeUplink output (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's mclimate-payload-helper package, and the codec examples double as the validation test vectors.

Housekeeping

Also included: corrected the wrong photos.main for 16ads and fan-coil-thermostat, and removed the orphan flood-sensor.jpg.

Validated with make validate VENDOR_ID=mclimate and make fmt.

🤖 Generated with Claude Code

yordan-zaychev and others added 15 commits October 2, 2024 17:31
…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>
@MClimate
MClimate requested a review from Jaime-Trinidad as a code owner July 8, 2026 11:42
@Jaime-Trinidad
Jaime-Trinidad merged commit 52bb8e6 into TheThingsNetwork:master Jul 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants