Thousands of Happy Smart Home Customers

But don’t just take our word for it...

We offer great products & great knowledge all backed up with great service - and our customers agree!

We’re very proud of our independent Excellent Trustpilot rating, backed up by the many repeat customers we’ve been supporting for years.

 

Read More

 
 

World-Class, Industry-Leading Technical Support - Forever Free

You’ll always have FREE access to our technical knowledgebase, application guides, YouTube tutorials & Customer Services, as well as all other online resources, help, white papers and articles.

If none of these answer your query you can also raise a ticket and get direct access to our team of smart home specialists for for assistance.

 
 

Access to technical specialists
100’s of in-depth help resources
Video guides via YouTube channel
Blog articles with product reviews & test results

 
 

The Vesternet Promise

As Founder & CEO of Vesternet, I personally guarantee your 100% satisfaction on any purchase.

I’d never want you to be unhappy with something you buy from us, so here’s my promise - you can return any unused products within 365 days. If you have problems with a new purchase, our support team will work with you to resolve. And if you still can’t get it working then you can return it within 14 days for replacement or refund. For full information take a look at our full returns policy.

In addition, here’s my personal email should you ever have any problems or feedback: dave.bell@vesternet.com

We’re not just a shop, we’re with you all the way on building your smart home.

 
 

Using Domoticz with the RaZberry Z-Wave Controller

 

 

IMPORTANT - Read this first!

These guides are now considerably out of date and remain here only as a reference.

Please visit the Domoticz forum for help with installing and configuring Domoticz.

 

This guide shows how to configure the RaZberry Z-Wave Controller in the Domoticz Home Automation software on the Raspberry Pi.

Domoticz is a well supported and actively developed piece of software that can be used as a Home Automation system in it's own right.

When coupled with a Rasberry Pi, it makes a great value for money Home Automation Controller that can integrate many different technologies.

The RaZberry Z-Wave Controller is a very cost effective Z-Wave Controller - usually this is meant to be used with the Z-Way software but we've found that it works much better with Domoticz with it's OpenZWave support.


Z-Wave.me RaZberry PI GPIO Daughter CardZ-Wave.me RaZberry PI GPIO Daughter Card


In our other related guides, we show you how to initially configure Domoticz and how to control RFXtrx433E based devices.

We also explain how to extend your Fibaro Home Center based system to incorporate devices that are controlled by Domoticz - this is a great way to add devices from manufacturers like LightwaveRF, Oregon Scientific and Somfy to the Fibaro Home Center!


PLEASE NOTE:

While we are happy to provide the Domoticz related guides to our Customers, we are unable to provide detailed Technical Support for any Domoticz related problems.

The best place to seek assistance with Domoticz is the forum.

Full information on what Vesternet Technical Support covers is available here.

Prerequisites


Before beginning, it is assumed that you have already completed the initial installation of Domoticz on your Raspberry Pi.

If you haven't completed this step yet, we recommend that you follow the tutorial here - it's a relatively simple process and mainly involves downloading the Domoticz "image" and writing it to an appropriately sized SD Card using the software included with the download.

Once Domoticz is installed, you should be able to connect to the web based User Interface by accessing "http://IPADDRESS:8080" where "IPADDRESS" matches the IP address of your Raspberry Pi (this will be given out by the DHCP server in your Broadband Router, or you may have set a "static" IP address during installation).

Domoticz User InterfaceDomoticz User Interface

We also recommend that you follow the previous application guide in this series as this will show you how to configure Domoticz to suit our intended usage scenarios.

The final prerequisite is that you've installed the RaZberry - follow the instructions in the user manual for details on which pins it attaches to, or look at the picture above!

Configure RaZberry PI GPIO Daughter Card


By default, Domoticz supports the RaZberry by accessing it via the Z-Way software that it was designed to be used with.

This isn't particularly great as it means installing additional software and then switching backwards and forwards between the Z-Way and Domoticz systems to install and configure Z-Wave devices.

In our opinion, it's better to configure Domoticz to access the RaZberry directly using OpenZWave support, so we'll configure that now.

Unfortunately this involves accessing the "Linux Shell", but if you've followed our previous application guide, you should be getting proficient with it by now!

  • Access the Linux Shell and edit the following file:

Configure RaZberryConfigure RaZberry

  • The RaZberry is connected to the GPIO pins on the Raspberry Pi and installs as a device on the "ttyAMA0" port. Domoticz can only access "ttyUSBX" ports so we'll be adding a rule that creates a link on boot to a port that Domoticz can use:

Configure RaZberryConfigure RaZberry

  • We create the link as "ttyUSB20" so that it is out of the way of any other USB devices that you may have or add at a later date!
  • To save us rebooting now, we can create the link manually too:

Configure RaZberryConfigure RaZberry

  • Restart Domoticz so that the new port is detected:

Configure RaZberryConfigure RaZberry

Configure Domoticz to use the RaZberry


Thankfully that's the only interaction with the Linux Shell in this guide!

Next we need to configure Domoticz to use the RaZberry and we do this in the Domoticz User Interface.

  • Click "Setup" on the Domoticz menu, followed by "Hardware".

Configuring DomoticzConfiguring Domoticz

  • We need to add the RaZberry device next. Make sure "Enabled" is ticked, then type a descriptive name in the "Name" field.
  • From the dropdown "Type" list, select "OpenZWave USB":

Configuring DomoticzConfiguring Domoticz

  • From the dropdown "Serial Port" list, select "/dev/ttyUSB20" - you'll recall this is the port that we created a link for earlier on.
  • Finally click the "Add" button:

Configuring DomoticzConfiguring Domoticz

  • Your RaZberry device should now be shown in the list - click on the "Setup" button next to it:

Configuring DomoticzConfiguring Domoticz

  • If the details of the RaZberry do not populate, click on the "Refresh" button:

Configuring DomoticzConfiguring Domoticz

  • You can make some configuration changes here if you need to, we left ours at the defaults as they seemed sensible enough:

Configuring DomoticzConfiguring Domoticz

Including your first Z-Wave device


The RaZberry should now be installed and working correctly, so it's time to add your first Z-Wave device!

We've chosen a TKB Dimmer Socket for our example, since it's a reasonably common device.

  • Following straight on from the above screenshot, click the "Node management" dropdown to expand it - there are many commands available here for managing and configuring your Z-Wave network.
  • Click the "Include Node" button:

Domoticz - Including a Z-Wave deviceDomoticz - Including a Z-Wave device

  • Domoticz will show a message saying that you have 20 seconds to include the device:

Domoticz - Including a Z-Wave deviceDomoticz - Including a Z-Wave device

  • Crack on and put your device into "inclusion" mode by following any device specific instructions.
  • If you quickly switch over to the "Log" page in Domoticz (click "Setup"->"Log"), you will see messages indicating whether the inclusion process is successful or not:

Domoticz - Including a Z-Wave deviceDomoticz - Including a Z-Wave device

  • Switch back to the RaZberry device on the "Hardware" page in Domoticz (click "Setup"->"Hardware") and highlight the new device.
  • Give it a descriptive name, check the "Enable Polling" field and click "Update":

Domoticz - Including a Z-Wave deviceDomoticz - Including a Z-Wave device

  • Domoticz should save the changes:

Domoticz - Including a Z-Wave deviceDomoticz - Including a Z-Wave device

Configuring the Z-Wave device


Now that the Z-Wave device has been included into the Z-Wave network, you'll likely want to configure it in Domoticz!

Fortunately Domoticz makes this reasonably easy.

  • Click "Setup" on the Domoticz menu, followed by "Devices":

Domoticz - Configuring a Z-Wave deviceDomoticz - Configuring a Z-Wave device

  • You should see your newly included Z-Wave device in the list.
  • From here you can search, filter by "Used" or "Not Used" and also sort the list by clicking on the column headings.
  • Click the "green arrow" next to the device you wish to configure:

Domoticz - Configuring a Z-Wave deviceDomoticz - Configuring a Z-Wave device

  • Enter a descriptive name and then click "Add Device" - this adds the device to one of the pages in the Domoticz User Interface depending on the device type:

Domoticz - Configuring a Z-Wave deviceDomoticz - Configuring a Z-Wave device

  • Since the TKB Dimmer Socket is a "Switch" device, it is added to the "Switches" page.
  • Head over to the "Switches" page and you will see the newly added device.
  • From here, you can click on the "star" icon to add the TKB Dimmer Socket to the Domoticz "Dashboard" as a favourite.
  • You'll note that our TKB Dimmer Socket has been added as a simple "On/Off" device - let's fix that now by clicking on the "edit" button:

Domoticz - Configuring a Z-Wave deviceDomoticz - Configuring a Z-Wave device

  • Domoticz will now show you the device settings page - there are various options here that can be tweaked to suit your requirements:

Domoticz - Configuring a Z-Wave deviceDomoticz - Configuring a Z-Wave device

  • Change the "Switch Type:" field from "On/Off" to "Dimmer":

Domoticz - Configuring a Z-Wave deviceDomoticz - Configuring a Z-Wave device

  • Once the screen updates, click the "Save" button:

Domoticz - Configuring a Z-Wave deviceDomoticz - Configuring a Z-Wave device

  • Domoticz should now be showing a more appropriate Dimmer control:

Domoticz - Configuring a Z-Wave deviceDomoticz - Configuring a Z-Wave device

Testing the Z-Wave device


The last part of this guide is to simply test the Z-Wave device to ensure it is working to your satisfaction :-)

  • Click the "bulb" icon to turn the TKB Dimmer Socket "On":

Domoticz - Testing a Z-Wave deviceDomoticz - Testing a Z-Wave device

  • The TKB Dimmer Socket should turn on at the previous dim level and the Domoticz User Interface should update to show the status immediately:

Domoticz - Testing a Z-Wave deviceDomoticz - Testing a Z-Wave device

  • Click the "bulb" icon again, this time the TKB Dimmer Socket will turn "Off":

Domoticz - Testing a Z-Wave deviceDomoticz - Testing a Z-Wave device

  • The TKB Dimmer Socket should turn off and the Domoticz User Interface will once again update immediately - note that the dim level will stay at the previous level as you've not actually changed the dim amount:

Domoticz - Testing a Z-Wave deviceDomoticz - Testing a Z-Wave device

  • Remember that you can head over to the "Log" page to view any log messages that Domoticz generates:

Domoticz - Testing a Z-Wave deviceDomoticz - Testing a Z-Wave device

Final Thoughts


We hope that you've found this application note useful - you should now have your RaZberry working well with Domoticz!

Don't forget to check out our other guides, which show you how to use Domoticz with RFXtrx433E based devices as well as how to extend a Fibaro Home Center based Home Automation system to integrate other technologies via Domoticz.

Related Information


 

Copyright Vesternet 2014

Updated: 11/12/14

You viewed

Please wait...

Item(s) Added Continue shopping or View cart & checkout
Continue shopping or View cart & checkout