Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
Multi level Sensor sample application

Multilevel Sensor

Shows the ability to advertise numerical sensor readings, such as temperature, and humidity. Multiple parameters can be set for the minimum and maximum values, and a basic set will be send if the measured temperature value is out of the range.

Configuration

Role Type Reporting Sleeping End Device (RSS)
Supporting Device Type Data reporting
Device Type Notification sensor
Generic Type Sensor Notification
Specific Type Notification Sensor
Requested security keys S2_UNAUTHENTICATED and S2_AUTHENTICATED

Multilevel Sensor transmits the following events:

  • Environment monitoring
    • Temperature, and humidity measure

Supported Command Classes

Multilevel Sensor implements mandatory and some optional command classes. The table below lists the supported Command Classes, their version, and their required Security class, if any.

Command Class Version Required Security Class
Association 2 Highest granted Security Class
Association Group Info 3 Highest granted Security Class
Device Reset Locally 1 Highest granted Security Class
Firmware Update Meta Data 5 Highest granted Security Class
Indicator 3 Highest granted Security Class
Manufacturer Specific 2 Highest Granted Security Class
Multi-Channel Association 3 Highest granted Security Class
Powerlevel 1 Highest granted Security Class
Security 2 1 None
Supervision 1 None
Transport Service 2 None
Version 3 Highest granted Security Class
Wake Up 2 Highest granted Security Class
Z-Wave Plus Info 2 None
Configuration 4 Highest granted Security Class
Multilevel-Sensor 11 Highest granted Security Class

Basic Command Class mapping

Basic Command Class is not mapped to any of the supported command classes.

Association Group configuration

The following table shows the available association groups.

IDNameNode CountDescription
1Lifeline5

Supports the following command classes:

  • Device Reset Locally: triggered upon reset.
  • Basic Set On/Off: triggered upon a movement detection (simulated by button BTN2).
  • Indicator Report: Triggered when LED1 changes state.
  • Configuring parameters: Minimum and maximum temperature levels can be set, errors can be detected if measured temperature is out of range
  • Environmental measurements: Temperature and humidity values can be read, triggered from other Z-Wave devices
2Basic Set5Upon a movement detection (simulated by button BTN2), nodes associated in this group will first receive a Basic Set with 0xFF (turn on) and after a while receive a Basic Set with 0x00 (turn off).

Usage on Linux platform - zwave_soc_multilevel_sensor

Application uses single character commands read from standard input.

Character Description
1 Send battery report

User Interface on the DKNCZ20 board

Buttons

ButtonActionDescription
BTN0PressResets the chip.
BTN1PressToggles learn mode.
Hold (5sec)Resets the application to factory settings.
BTN2PressSend temperature sensor report.
Hold (5sec)Sends a battery report.

LEDs

LEDBehaviorDescription
GreenFlashingLearn mode is active.
OffLearn mode is inactive.