Model: ZW100-(A, B, C and G)
Protocol: Z-Wave
- Set up the SmartThings CLI according to the configuration document.
- Add the Edge Driver plugin to the CLI.
- Configure your development environment for the SmartThingsEdgeDrivers
- A SmartThings hub with firmware version 000.038.000XX or greater and an Aeotec MultiSensor 6.
Note: Take a look at the installation tutorial in our Developer's Community.
- Compile the driver:
smartthings edge:drivers:package driver/
- Next, create a channel for your driver
smartthings edge:channels:create
- Enroll your driver into the channel
smartthings edge:channels:enroll
- Publish your driver to the channel
smartthings edge:drivers:publish
- If the package was successfully created, you can call the command below and follow the on-screen prompts to install the Driver in your Hub:
smartthings edge:drivers:install
You should see the confirmation message: "Driver {driver-id} installed to Hub {hub-id}"
-
Use your WiFi router or the SmartThings IDE > My Hubs to locate and copy the IP Address for your Hub.
-
From a computer on the same local network as your Hub, open a new terminal window and run the command to get the logs from all the installed drivers.
smartthings edge:drivers:logcat --hub-address=x.x.x.x -a
-
Open the SmartThings App and go to the location where the hub is installed.
-
Go to Add (+) > Device or select Scan Nearby (If you have more than one, select the corresponding Hub as well)
-
Put your device in pairing mode; the specifications will vary by manufacturer (for the Aeotec MultiSensor 6, press the device’s action button once).
-
Keep the terminal view open until the "infoChanged" lifecycle event is received and the driver starts getting the
REPORT
commands from the device.
Example Output
<ZwaveDevice: deviceId [3C] (Aeotec Multisensor)> received Z-Wave command: {args={alarm_level=0, alarm_type=0, event="MOTION_DETECTION", event_parameter="", notification_status="ON", notification_type="HOME_SECURITY", v1_alarm_level=0, v1_alarm_type=0, z_wave_alarm_event=8, z_wave_alarm_status="ON", z_wave_alarm_type="BURGLAR", zensor_net_source_node_id=0}, cmd_class="NOTIFICATION", cmd_id="REPORT", dst_channels={}, encap="S2_AUTH", payload="\x00\x00\x00\xFF\x07\x08\x00", src_channel=0, version=3}
If your Device paired correctly and the Driver was applied, you should not see any errors in the logs. You can validate this by opening the SmartThings app and controlling and/or viewing all of the devices Capabilities (e.g., motion or change the temperature).
- This driver allows you to change 2 configuration parameters of the device.
- When experimenting with Z-Wave devices, remember to exclude the device before re-pairing.