Pages

Tuesday, February 02, 2016

Connecting my first ZWave device - the room thermostat

Once the raspberry pi was up and running as a ZWay server it was time to add my first ZWave device, the room thermostat:

Front, showing display and wheel
Rear, showing DIP switches

For a newbie, the instructions that came with it weren't obvious, so I adapted the instructions that someone had published for connecting to a Vera controller.


  1. Enable DIP switch #1 of the SRT321 thermostat (ON)
  2. Spin wheel of SRT321 until it shows "L" on the screen
  3. Goto the SmartHome UI
    <IP address>:8083/smarthome
  4. Navigate to Devices > ZWave from the cog menu on the top right
  5. Click on autodetect
    Start inclusion
  6. Press wheel on SRT321 to include it
    "L" flashes and changes to "LP"
  7. The SmartHome UI should see the device
  8. Spin wheel to "n" and press
    This sends a node information frame
  9. Disable DIP switch #1 - normal mode (OFF)
    Remove battery for 5 seconds and reset
The thermostat was included first time, much more easily than expected and appeared as three devices in the SmartHome UI



Having a genuine device in the network allowed me to explore 
  • the SmartHome UI, 
  • the HTTP traffic between the ZWay server and the SmartHome UI (using fiddler)
  • the Expert UI
  • the zway server log
  • the ZWaveAPI and the ZAutomation/api/v1
Next step was to write a test module and include it in the ZWay server.



No comments: