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
  • Keep-alive command explanation
  • Keepalive period

Was this helpful?

  1. Devices
  2. MClimate Flood Sensor LoRaWAN
  3. Flood Sensor LoRaWAN communication protocol

Keep-alive

Keep-alive command explanation

Periodically sent message which contains the most important device data. The default keep-alive period is 60 minutes.

The data is described in Table 2. In Table 3 example packet is given.

Byte index
Bit index
Meaning

0

7:5

000: Keep-alive;

001: Reserved;

010: Flood detected by device sensor;

100: Box tamper switch detected.

4

Reserved.

3

0: No box tamper detected;

1: Box tamper detected.

2

Reserved.

1

0: No flood detected;

1: Flood detected.

0

Reserved.

1

7:0

Battery voltage, [mV] = (bits7:0)*16

2

7

0: The temperature is positive;

1: The temperature is negative.

NOTE: This bit is used in firmware version 1.5 or later.

6:0

Temperature sensor value in Celsius degrees.

Table 2.

Example of sending a packet from the device to the server: [Hex]: 42C21A

Payload index
Value
Bit index
Meaning

0

42

7:5

010: Flood detected

by device sensor.

4

Reserved.

3

0: No box tamper detected.

2

Reserved.

1

1: Flood detected.

0

Reserved.

1

C2

7:0

Battery voltage

[mV] = (194)*16 = 3104.

2

1A

7

0: The temperature is positive.

NOTE: This bit is used in firmware version 1.5 or later.

6:0

The temperature is 26 Celsius degrees.

Table 3.

Keepalive period

Byte index

Hex value - Meaning

0

05 โ€“ Command code to set keepalive period.

1

XX โ€“ keep-alive period in minutes.

Data byte MSB.

2

XX โ€“ keep-alive period in minutes.

Data byte LSB.

Value 0x00 isnโ€™t applicable. Default value: 60min.

The maximum value that can be set is 240 hours.

Example command, [Hex]: 05000A - The example sets the keep-alive period to 10 minutes.

Note that the period value must respect the LoRaWAN messages duty cycle limitations. Otherwise the message will be sent when this is allowed. Also, the bigger period value, the less battery discharge. In most of cases, min. allowed period is 3 minutes and recommended values are 10 minutes or greater.

This command is used to get the Flood sensor period of the keep-alive command messages. Server sends the command code and the response is sent from the device together with the next keep-alive command. The keep-alive in the example is omitted for clarity.

NOTE: This command is available for firmware version 1.5 or later.

Byte index

Sent request

Received response

0

12 โ€“ The command code.

12 โ€“ The command code.

1

XX โ€“ keep-alive period in minutes.

Data byte MSB.

2

XX โ€“ keep-alive period in minutes.

Data byte LSB.

Example command sent from server, [Hex]: 12;

Example command response, [Hex]: 12003C โ€“ The Flood sensor keep-alive is 60 minutes.

PreviousCommands cheat sheetNextFlood event - Available configurations

Last updated 1 year ago

Was this helpful?

๐Ÿ“–