Skip to content

mcealt/z_wave_sw3_demo

Repository files navigation

This project is based on the ZWave_SoC_SwitchOnOff_Solution, and includes the boot/boot_ZWave_Switch3.hex file.

Hardwave: BRD4001A Rev A01 | BRD4210A | BRD8029A Rev A00 sdk: GSDK 4.4.3

1.Use simplicity studio import this project ZWave_Switch3.

2.recover cc_binary_switch_config.c

3.build this project ZWave_Switch3

4.download boot/boot_ZWave_Switch3.hex and ZWave_Switch3.hex

Switch On/Off

The Z-Wave certified Switch On/Off application shows a switch implementation, that turns on any device that is connected to power. Examples include lights, appliances, etc.

Role Type Always On End device (AOS)
Supporting Device Type Actuator
Device Type Binary Switch
Generic Type Switch Binary
Specific Type Not Used
Requested security keys S0, S2_UNAUTHENTICATED, and S2_AUTHENTICATED

Supported Command Classes

The Switch On/Off application implements mandatory and some optional command classes. The table below lists the supported Command Classes, their version, and their required Security class.

Command Class Version Required Security Class
Association 2 Highest granted Security Class
Association Group Info 3 Highest granted Security Class
Basic 2 Highest granted Security Class
Binary Switch 2 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 0 1 None
Security 2 1 None
Supervision 1 None
Transport Service 2 None
Version 3 Highest granted Security Class
Z-Wave Plus Info 2 None
MULTI_CHANNEL 4 None

Basic Command Class mapping

Basic Command Class is mapped to Binary Switch CC

Basic Command Mapped Command
Basic Set (Value) Binary Switch Set (Value)
Basic Report (Current Value, Duration) Binary Switch Report (Value, Duration)

Association Group configuration

ID Name Node Count Description
1 Lifeline X

Supports the following command classes:

  • Device Reset Locally: triggered upon reset.
  • Binary Switch Report: Triggered when the switch changes state.
  • Indicator Report: Triggered when LED1 changes state.

X: For Z-Wave node count is equal to 5 and for Z-Wave Long Range it is 1.

Usage of Buttons and LED Status

To use the sample app, the BRD8029A Button and LEDs Expansion Board must be used. BTN0-BTN3 and LED0-LED3 refer to the buttons and LEDs on the Expansion Board.

The following LEDs and buttons shown in the next table below are used.

Button Action Description
RST Press Resets the firmware of an application (like losing power). All volatile memory will be cleared.
BTN0 Press Toggle LED0
BTN1 Press Enter "learn mode" (sending node info frame) to add/remove the device.
Removing the device from a network will reset it.
Hold for at least 5 seconds and release Perform a reset to factory default operation of the device, and a Device Reset Locally Notification Command is sent via Lifeline.
BTN2 Press Toggle LED3
BTN3 Press Toggle LED2
LED Description
LED0 Switch: LED ON indicates SWITCH ON / LED OFF indicates SWITCH OFF
LED1 Blinks with 1 Hz when learn mode is active.
Used for Indicator Command Class.
LED2 Switch: LED ON indicates SWITCH ON / LED OFF indicates SWITCH OFF
LED3 Switch: LED ON indicates SWITCH ON / LED OFF indicates SWITCH OFF

Firmware Update

This section will describe backward compatibility when upgrading the Switch On/Off application from one SDK to a newer version.

SDK 7.1x is the first SDK running on Z-Wave 700.

About

3 switch demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages