--- layout: page title: "Z-Wave Device Specific Settings" description: "Notes for specific Z-Wave devices." date: 2016-03-24 08:49 -0700 sidebar: true comments: false sharing: true footer: true redirect_from: /getting-started/z-wave-device-specific/ --- ## {% linkable_title Device Categories %} ### {% linkable_title Motion or alarm sensors %} In order for Home Assistant to recognize the sensor properly, you will need to change its configuration from `Basic Set (default)` to `Binary Sensor report` or `Alarm report`. These devices will either show as a binary sensor or a sensor called `Alarm xxxx` and will report a numeric value. Test to see what value is what. Sometimes this is noted in the device manual. You can set the settings of the Z-Wave device through the Z-Wave control panel. ### {% linkable_title Locks and other secure devices %} These devices require a network key to be set for the Z-Wave network before they are paired, using the **Add Node Secure** option. Home Assistant stores logs from Z-Wave in `OZW_log.txt` in the Home Assistant config directory, when you pair a secure device you should see communication from the node with lines starting with `info: NONCES` in `OZW_log.txt` when the device is paired successfully with a secure connection. ### {% linkable_title Specific Devices %} ### {% linkable_title Aeotec Z-Stick %} It's totally normal for your Z-Wave stick to cycle through its LEDs (Yellow, Blue and Red) while plugged into your system. If you don't like this behaviour it can be turned off. Use the following example commands from a terminal session on your Pi where your Z-Wave stick is connected. Turn off "Disco lights": ```bash $ echo -e -n "\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51" > /dev/serial/by-id/usb-0658_0200-if00 ``` Turn on "Disco lights": ```bash $ echo -e -n "\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50" > /dev/serial/by-id/usb-0658_0200-if00 ``` ### {% linkable_title Razberry Board %} You need to disable the on-board Bluetooth since the board requires the use of the hardware UART (and there's only one on the Pi3). You do this by adding the following to the end of `/boot/config.txt`, then rebooting: ``` dtoverlay=pi3-disable-bt ``` ### {% linkable_title Aeon Minimote %} Here's a handy configuration for the Aeon Labs Minimote that defines all possible button presses. Put it into `automation.yaml`. ```yaml - id: mini_1_pressed alias: 'Minimote Button 1 Pressed' trigger: - platform: event event_type: zwave.scene_activated event_data: entity_id: zwave.aeon_labs_minimote_1 scene_id: 1 - id: mini_1_held alias: 'Minimote Button 1 Held' trigger: - platform: event event_type: zwave.scene_activated event_data: entity_id: zwave.aeon_labs_minimote_1 scene_id: 2 - id: mini_2_pressed alias: 'Minimote Button 2 Pressed' trigger: - platform: event event_type: zwave.scene_activated event_data: entity_id: zwave.aeon_labs_minimote_1 scene_id: 3 - id: mini_2_held alias: 'Minimote Button 2 Held' trigger: - platform: event event_type: zwave.scene_activated event_data: entity_id: zwave.aeon_labs_minimote_1 scene_id: 4 - id: mini_3_pressed alias: 'Minimote Button 3 Pressed' trigger: - platform: event event_type: zwave.scene_activated event_data: entity_id: zwave.aeon_labs_minimote_1 scene_id: 5 - id: mini_3_held alias: 'Minimote Button 3 Held' trigger: - platform: event event_type: zwave.scene_activated event_data: entity_id: zwave.aeon_labs_minimote_1 scene_id: 6 - id: mini_4_pressed alias: 'Minimote Button 4 Pressed' trigger: - platform: event event_type: zwave.scene_activated event_data: entity_id: zwave.aeon_labs_minimote_1 scene_id: 7 - id: mini_4_held alias: 'Minimote Button 4 Held' trigger: - platform: event event_type: zwave.scene_activated event_data: entity_id: zwave.aeon_labs_minimote_1 scene_id: 8 ``` ### {% linkable_title HomeSeer Switches %} For the HomeSeer devices specifically, you may need to update the `COMMAND_CLASS_CENTRAL_SCENE` for each node in your `zwcfg` file with the following: ```xml ``` Below is a table of the action/scenes for the HomeSeer devices (as a reference for other similar devices): **Action**|**scene\_id**|**scene\_data** :-----:|:-----:|:-----: Single tap on|1|0 Single tap off|2|0 Double tap on|1|3 Double tap off|2|3 Triple tap on|1|4 Triple tap off|2|4 Tap and hold on|1|2 Tap and hold off|2|2