MClimate LoRaWAN Devices
  • Overview
  • FAQ
  • Firmware Upgrade Over The Air (FUOTA)
  • Devices
    • πŸ†•ΠœClimate 16A Dry Switch (16ADS)
      • πŸ₯³Release notes
      • πŸ› οΈHow to use
      • ⬆️MClimate 16ADS Uplink decoder
      • ⬇️MClimate 16ADS Downlink encoder
      • πŸ“–MClimate 16ADS Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Uplink types
        • Keep-alive
        • Overheating protection
        • Relay state 16ADS
        • LED indication mode
        • Network-related settings
        • Get Firmware & Hardware version
        • Restart device
    • πŸ†•ΠœClimate 16A Switch & Power Meter LoRaWAN (16ASPM)
      • πŸ₯³Release notes
      • πŸ› οΈHow to use
      • ⬆️MClimate 16ASPM Uplink decoder
      • ⬇️MClimate 16ASPM Downlink encoder
      • πŸ“–MClimate 16ASPM Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Uplink types
        • Keep-alive
        • Protections
        • Relay state 16ASPM
        • Clear accumulated energy
        • LED indication mode
        • Network-related settings
        • Get Firmware & Hardware version
        • Restart device
    • 😲MClimate Fan Coil Thermostat (FCT)
      • πŸ₯³Release notes
      • ⭐Getting started
      • ⚑Wiring Diagrams (Applications) & Operational Modes
      • ⬆️MClimate Fan Coil Thermostat Uplink decoder
      • ⬇️MClimate Fan Coil Thermostat Downlink encoder
      • πŸ“–MClimate Fan Coil Thermostat Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Keep-alive
        • ON/OFF & Target temperature
          • Valve(s) operation
          • Target temperature ranges
        • Fan Settings
          • Auto Fan - Ξ” settings
        • πŸ”“Keys lock
        • External temperature measurement
        • Power module communication status
        • Function of digital input/output (IO1 and IO2 ports)
          • Automatic changeover
          • Occupancy sensor
        • General, Display & Power recovery
          • Hiding data from the display & settings
          • Frost Protection
          • Temperature sensor errors
          • Network-related settings
            • Uplink types
          • User interface language
        • Restart device
    • ♨️MClimate Vicki LoRaWAN
      • πŸ₯³Release notes
      • ⬆️Vicki Uplink Decoder
      • ⬇️Vicki Downlink Encoder
      • πŸ“–Vicki LoRaWAN Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Uplink types
        • Keep-alive
        • Manual target temperature change
        • Operational modes & temperature control algorithms
          • Algorithm 1 - Equal directional control
          • Algorithm 2 - Proportional control
          • Algorithm 3 - Proportional Integral
        • External temperature measurement and internal temperature offset
        • Control target temperature and/or motor position and range
        • Recalibrate motor command explanation
        • Read device hardware and software version command explanation.
        • Anti-freeze functionality
        • Open window detection
        • Child lock
        • Target temperature ranges
        • Temperature units
        • Force-close & Force-attach
        • Network-related settings
        • Appendix (examples)
      • πŸ“ΊTechnical Deepdive Webinar
    • πŸ†•MClimate CO2 Display lite
      • πŸ₯³Release notes
      • ⬆️MClimate CO2 Display lite Uplink decoder
      • πŸ“–CO2 Display lite Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Uplink types
        • Keep-alive
        • CO2 measurement settings
        • Hiding data from the display
        • Child lock
        • Network-related settings & Others
        • Get Firmware & Hardware version
        • Restart device
    • MClimate CO2 Display
      • πŸ₯³Release notes
      • ⬆️MClimate CO2 Display Uplink decoder
      • πŸ“–CO2 Display Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Uplink types
        • Keep-alive
        • CO2 measurement settings
        • Hiding data from the display
        • Child lock
        • PIR (Motion sensor)
        • Network-related settings & Others
        • Get Firmware & Hardware version
    • MClimate Wireless Thermostat
      • πŸ₯³Release notes
      • ⬆️MClimate Wireless Thermostat Uplink decoder
      • ⬇️MClimate Wireless Thermostat Uplink encoder
      • πŸ“–Wireless Thermostat Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Uplink types
        • Keep-alive
        • Target Temperature & Temperature range
        • Sensor mode & hiding data from the display
        • Heating status flag
        • Child lock
        • PIR (Motion sensor)
        • Get Firmware & Hardware version
        • Network-related settings & Others
    • MClimate HT Sensor LoRaWAN
      • πŸ₯³Release notes
      • ⬆️HT Sensor Uplink Decoder
      • πŸ“–HT Sensor LoRaWAN Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Temperature and humidity compensation
        • Keep-alive
        • Read device hardware and software version command explanation.
        • Network-related settings
        • Uplink types
        • Appendix (examples)
    • MClimate CO2 Sensor and Notifier LoRaWAN
      • πŸ₯³Release notes
      • ⬆️CO2 Sensor Uplink Decoder
      • πŸ“–CO2 Sensor LoRaWAN Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Keep-alive
        • Read device hardware and software version command explanation.
        • Network-related settings
        • Uplink types
        • CO2 boundary levels
        • CO2 auto-zero value
        • CO2 auto-zero period
        • CO2 Measurement period
        • Notifications configuration
    • MClimate Open/Close Sensor LoRaWAN
      • πŸ₯³Release notes
      • ⬆️Open/Close Sensor uplink decoder
      • πŸ“–Open/Close sensor LoRaWAN communication protocol
        • Commands cheat sheet
        • Keep-alive
        • Read device hardware and software version command explanation
        • Uplink types
        • Network-related settings
        • Event notification
        • Notification Blind Time
        • LED control command explanation
        • Restart device
    • MClimate Multipurpose Button LoRaWAN
      • πŸ₯³Release notes
      • ⬆️Multipurpose Button Uplink decoder
      • πŸ“–MClimate Button LoRaWAN Device communication protocol
        • Commands cheat sheet
        • Keep-alive
        • LEDs, button press types and behaviour
        • Read device hardware and software version command explanation
        • Network-related settings
        • Uplink types
        • Button press event counters
        • LED control command explanation
        • Restart device
    • MClimate T-Valve LoRaWAN
      • πŸ₯³Release notes
      • ⬆️T-Valve Uplink Decoder
      • T-Valve LoRaWAN communication protocol
        • Commands cheat sheet
        • Uplink types
        • Keep-alive
        • Valve state control
        • Set LED behavior
        • Buzzer control
        • Emergency openings
        • Enable/disable manual valve open/close
        • Flood alarm time
        • Keep-alive period
        • Request Long data packet
        • Device allowed working voltage
        • Enable/Disable device flood sensor
        • Network related settings
        • Deactivate device (non-operational mode, save power)
    • MClimate Flood Sensor LoRaWAN
      • πŸ₯³Release notes
      • ⬆️Flood Sensor Uplink Decoder
      • πŸ“–Flood Sensor LoRaWAN communication protocol
        • Commands cheat sheet
        • Keep-alive
        • Flood event - Available configurations
        • Uplink types
        • Network-related settings
        • Read Firmware & Hardware version
        • Custom control of LED and Acoustic Buzzer
        • Read device parameters command
        • Restart device
    • MClimate AQI Sensor and Notifier LoRaWAN
      • πŸ₯³Release notes
      • AQI Sensor Uplink Decoder
      • AQI Sensor Downlink encoder
      • AQI Sensor LoRaWAN Device communication protocol
        • Communication concepts
        • Commands cheat sheet
        • Keep-alive
        • Read device hardware and software version command explanation.
        • Network-related settings
        • Uplink types
        • Device buzzer control command
        • Device LED’s control
        • Appendix (examples)
  • Others
    • Application of MClimate Vicki to One-pipe steam heating systems
    • Battery Lifetime Estimation Methodology
    • Discover Smart Buildings solutions
    • How to solve Large space heating issues
    • Device Firmware upgrade via a Field Programming Kit (FPK)
      • Vicki Firmware Upgrade
  • Integrations
    • The Things Industries / TTN V3
    • ThingPark Enterprise
    • ThingPark Community
    • Tektelic
    • Helium
    • Chirpstack
    • Loriot
    • Kerlink
    • Melita
    • MachineQ
    • Orbiwise
    • Firefly
    • B-One
    • Milesight
    • Akenza
    • Element-IoT
    • Senet
    • Wattsense
    • RAK WisGateOS2
    • Netmore
Powered by GitBook
On this page
  • PIR Status
  • PIR Blind period
  • PIR Check interval
  • PIR Measurement duration
  • PIR Sensitivity

Was this helpful?

  1. Devices
  2. MClimate CO2 Display
  3. CO2 Display Device communication protocol

PIR (Motion sensor)

In this page, you will learn how the PIR sensor works and what available settings you can change.

Since the device is primarily solar-powered, the PIR sensor cannot be always ON, as the device will need a lot of light on average.

Therefore, we have implemented a duty-cycle on the PIR - turning it ON for certain period of time and turning it OFF for some period. This means that the device may not always report accurate movement detection.

If you need to have the PIR constantly enabled and detecting movement, you have to insert 2 or 4 AA batteries and reconfigure the settings of the PIR sensor.

If you want to do this, we recommend sending the following downlink to the device:

Option 1 - blind period 1 minute: 3C014A00004C003C3D4B4D Option 2 - blind period 10 minutes 3C014A00004C02583D4B4D

Read more about the blind period below.

PIR Status

This commands allow you to set/get the PIR status - whether it's enabled or disabled at all. By default, the PIR is disabled.

Byte index

Hex value – Meaning

0

3C – The command code.

1

00 – Disable the PIR sensor; Default state.

01 – Enable the PIR sensor.

Example downlink: 0x3C01 – Turn on the PIR sensor.

Byte index

Sent request

Received response

0

3D – Command code

3D – Command code

1

00 - The PIR sensor is disabled. 01 - The PIR sensor is enabled

Example downlink sent by the server: 0x3D;

Example command response: 0x3D01 – The PIR sensor is on.

With the default values for PIR Check interval (54s) and PIR Measurement duration (3s) and PIR Blind time (10m) it means that:

  • PIR powers up every 54 seconds (PIR Check interval)

  • It stays powered and is looking for movement for 3 seconds (PIR Measurement duration)

    • If a movement is detected, it sends an immediate uplink and disables the PIR for the next 10 minutes (PIR Blind period)

PIR Blind period

Π’he PIR sensor functionality has been changed to report pir=true during the blind period for devices with firmware version β‰₯ 1.4.

After detecting a movement in the room, the PIR sensor is disabled for the specified blind period to avoid too many uplinks, improving the energy usage - saving battery or requiring less light to harvest.

Example with Blind period of 1 minute:

  • The moment the sensor detects movement, it sends an uplink.

  • Then the PIR is powered down for 1 minute to save energy.

  • After 1 minute, the PIR is powered up again and the device will send a new uplink immediately after the PIR detects movement.

The shorter the Blind period, the more time-accurate detection of movement and more uplinks, but more energy is used.

Byte index

Hex value – Meaning

0

4C – The command code.

1

XX – PIR blind period data, bits 15:8;

2

XX – PIR blind period data, bits 7:0. Default value = 10min.

Byte index

Sent request

Received response

0

4D – Command code

4D – Command code

1

XX - PIR sensor blind period - bits 15:8

2

XX - PIR sensor blind period - bits 7:0

Note: Acceptable values: 15...65535sec. (1sec. resolution).

PIR Check interval

This value instructs the sensor what's the period between PIR measurements. Outside this time, the sensor is not powered.

When the value is 0, the PIR is constantly powered and checking for movements.

Byte index

Hex value – Meaning

0

4A – The command code.

1

XX – PIR check interval data, bits 15:8;

2

XX – PIR check interval data, bits 7:0. Default value = 54sec.

Example downlink: 0x4A0006 – Set the PIR check period to 6sec.

Byte index

Sent request

Received response

0

4B – Command code

4B – Command code

1

XX - PIR sensor check interval - bits 15:8

2

XX - PIR sensor Check interval - bits 7:0

Example downlink sent by the server: 0x4B;

Example command response: 0x4B0006 – Measurement period of the PIR sensor = 6 sec.

Note: Acceptable values: 0...65535sec. (1sec. resolution).

PIR Measurement duration

The PIR Measurement duration is a value that instructs the sensor how long it should be checking for movements before going back to sleep to conserve energy.

Byte index

Hex value – Meaning

0

48 – The command code.

1

XX – PIR measurement duration. Default value = 3sec.

Example command: 0x4804 – Set the measurement duration of the PIR sensor = 4sec

Byte index

Sent request

Received response

0

49 – Command code

49 – Command code

1

XX - PIR measurement duration [sec]

Example downlink sent by the server: 0x49;

Example command response: 0x4904 – Measurement period of the PIR sensor = 4 sec

Note: Acceptable values: 3...255sec. (1sec. resolution).

PIR Sensitivity

The PIR sensitivity can be set from 12 to 255. The minimum value we advise setting is 12 or 0x0C - the sensor will be super sensitive to movements.

The higher the value, the less sensitive the PIR sensor is to movement.

Minimum = 12 - very sensitive

Maximum = 255 - less sensitive

Byte index

Hex value – Meaning

0

3Π• – The command code.

1

XX - PIR sensor sensitivity. 20 is the dafault value.

Example downlink: 0x3E1E – Set PIR sensor sensitivity 0x1E = 30.

Byte index

Sent request

Received response

0

3F – Command code

3F – Command code

1

XX - The sensitivity of the PIR sensor

Example downlink sent by the server: 0x3F;

Example command response: 0x3F1E – The sensitivity of the PIR sensor = 0x1E => converted to decimal = 30.

Note: Acceptable values: 12...255.

PreviousChild lockNextNetwork-related settings & Others

Last updated 2 months ago

Was this helpful?

πŸ“–