Best way to include z-wave devices?

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
styfert
Posts: 3
Joined: Wednesday 14 January 2015 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Best way to include z-wave devices?

Post by styfert »

Hi all
What is the best/preferred method to include z-wave devices.

a) Use Domoticz (add node / add secure)
b) Use the OpenZwave control panel
c) Use the include button on my Z-Stick

Or does it not even matter?


When it comes to which order to include the devices; should i start with the devices closest to the z-stick/computer?
Battery powered devices as the last node(s)?

Finally; how does the "Heal network" function work? Is this some kind of route optimalization function (i can use if i move a device from one place to another)?

My network is very unstable, so i'll try building a new from scratch... Hopefully the "right way" :-)

Thanks!
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Best way to include z-wave devices?

Post by pvm »

I have good experience by using 'C', the button on the stick. I would do hè battery powered devices last and start closest to the stick
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
User avatar
jcjames13009
Posts: 33
Joined: Monday 09 March 2015 15:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: France / Marseille
Contact:

Re: Best way to include z-wave devices?

Post by jcjames13009 »

Hi styfert,

Same as pvm, I used “c)” method with Z-Stick disconnected from the Raspberry to include my Qubino ZMNHBA2 devices and it worked ok.

Using “a)” one the Qubino devices were not recognized properly. I never tested “b)” method.

I didn’t paid attention to sequence and I moved my devices after inclusion without pb. Note that I have only 2 devices. That’s maybe why I have no issue. One is inside the house at around 4m from the Z-Stick. The 2nd one is outside at around 10m from the 1st device.

Hope it’ll help.

JC
Last edited by jcjames13009 on Sunday 23 August 2015 15:30, edited 1 time in total.
styfert
Posts: 3
Joined: Wednesday 14 January 2015 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Best way to include z-wave devices?

Post by styfert »

Thanks!
Much better now. Used the z-stick button for inclusion. No dropouts the last two weeks :D
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Best way to include z-wave devices?

Post by bbqkees »

funny thing here is that I included the very first node with the button on the Z-Wave stick and the other ones with the 'Include Node' button on the control panel.
Now the first module connects directly to the Z-Wave stick and all other nodes connect via that first module.
And the first module is the furthest away from the controller and all other nodes are in the same room as the controller.
But it works very well.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
styfert
Posts: 3
Joined: Wednesday 14 January 2015 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Best way to include z-wave devices?

Post by styfert »

It may work well, but If your "first" node dies, the rest of your nodes will also die.
You should try to include all your nodes with the z-stick button. Or maybe the heal network function will "re-route" your nodes?
azzurek
Posts: 7
Joined: Wednesday 06 January 2016 17:05
Target OS: -
Domoticz version:
Contact:

Re: Best way to include z-wave devices?

Post by azzurek »

Hi,
I heve one question.
After reset my RPI with Razzbery i lost all devices / all node.
Now i must log into web --- > hardware ---> Include node ...
4.JPG
4.JPG (71.4 KiB) Viewed 18241 times
I thing about new solutions.
I make new virtual switch
2.JPG
2.JPG (24.65 KiB) Viewed 18241 times
I will push this button and start including node but i don`t know What should I enter in field "on Action"
3.JPG
3.JPG (99.84 KiB) Viewed 18241 times
Please help me
sorry for my English
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Best way to include z-wave devices?

Post by bbqkees »

Go to hardware->your Zwave controller->Setup->Node Management->Include node.
Also press the include button on the node.
Keep in mind the distance between the controller and the node should be within 30cm.

if it includes correcly, the node will get a number.

Next go to Settings->Devices and create new devices in Domoticz from the ones you just got from the ZWave inclusion
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
azzurek
Posts: 7
Joined: Wednesday 06 January 2016 17:05
Target OS: -
Domoticz version:
Contact:

Re: Best way to include z-wave devices?

Post by azzurek »

Thanks for Your answer.
I know how to add device.
Now all be gut
5.JPG
5.JPG (79.36 KiB) Viewed 18219 times
6.JPG
6.JPG (93.23 KiB) Viewed 18219 times
But if I turn off Raspberry and after 15 min I turn it on , I lost all node.
I see device in control panel but i don`t see node :
4.JPG
4.JPG (71.4 KiB) Viewed 18217 times
I must again enter into hardware --> setup --> node menagment --> Include node.
if I had a router failure how i can Include node ?

Isearch another solutions e.g launching the process Include node by the physical button connected to GPIO in RPi.

e.g If Button is on --> turn on Include node process

it`s that possible?
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Best way to include z-wave devices?

Post by bbqkees »

If you restart the Pi and you 'lost' the controller that means it got another serial port ID.
You need to set the right serial port ID in the hardware menu.
If set correctly, your razberry should show up again.

The best option is to give the Razberry a fixed address. It is described here:
http://www.domoticz.com/wiki/PersistentUSBDevices

The router has nothing to do with the Razberry.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
azzurek
Posts: 7
Joined: Wednesday 06 January 2016 17:05
Target OS: -
Domoticz version:
Contact:

Re: Best way to include z-wave devices?

Post by azzurek »

Thank`s for answer.
i try fallow the instruction on web https://www.domoticz.com/wiki/PersistentUSBDevices but i can`t found my device in this list.
I heve this Z-wave electronic board : http://gronahus.se/produkt/razberry/

Code: Select all


Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0x9514
  bcdDevice            2.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             5
  wHubCharacteristic 0x000d
    Per-port power switching
    Compound device
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent      1 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0503 highspeed power enable connect
   Port 5: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.01
  iManufacturer           3 Linux 4.1.15-v7+ dwc_otg_hcd
  iProduct                2 DWC OTG Controller
  iSerial                 1 3f980000.usb
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0008
    Ganged power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
Device Status:     0x0001
  Self Powered

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0
  bDeviceProtocol         1
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0xec00
  bcdDevice            2.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               4
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0
  bDeviceProtocol         1
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 006: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n
WLAN Adapter
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x8176 RTL8188CUS 802.11n WLAN Adapter
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 802.11n WLAN Adapter
  iSerial                 3 00e04c000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
cogliostrio
Posts: 77
Joined: Sunday 06 September 2015 11:58
Target OS: Linux
Domoticz version:
Contact:

Re: Best way to include z-wave devices?

Post by cogliostrio »

I have used the domoticz interface to include all my zwave devices. Havent had any problems doing it that way.

Has anyone tried to include their zwave devices securly?

According to the instructions, devices must be included via the application.
https://github.com/OpenZWave/open-zwave ... ces-to-OZW
azzurek
Posts: 7
Joined: Wednesday 06 January 2016 17:05
Target OS: -
Domoticz version:
Contact:

Re: Best way to include z-wave devices?

Post by azzurek »

Hi,
i heve one question.
maybe can I includ z-wave nodes with API?
Could someone give me API code to start z-wave including nodes :( ?
azzurek
Posts: 7
Joined: Wednesday 06 January 2016 17:05
Target OS: -
Domoticz version:
Contact:

Re: Best way to include z-wave devices?

Post by azzurek »

I heve solutions !! :)
Just : (..)/json.htm?type=command&param=zwaveinclude&idx=xx
azzurek
Posts: 7
Joined: Wednesday 06 January 2016 17:05
Target OS: -
Domoticz version:
Contact:

Re: Best way to include z-wave devices?

Post by azzurek »

Hi,
I still have a problem with Node`s so please help me.

Describe the problem step by step.

System:
Raspberry Pi B+
Domoticz
RaZberry (Z-wave)
Fibaro Multisensor [powered by a battery]

1. Connect the power supply to RPI

2. I log into the control panel Domoticz -->settings -->hardware and i see my OpenZWave

Image

3. In setting OpenZWave USB i see any node:

Image

4. Now i click Include node and after that i push 3x B-stick in my Fibaro motion sensor

Image

Image

5. Now everything is ok - I see FIbaro and I set WakeUp interval : 200
Image
Image

6 In my devices i See all Fibaro motion sensor: temp, lux, motion sensor ..

Image

Image

7. Now I disconnect power supply from RPi... and after 1 min again I connet the power to the RPi

8. After Reboot i`m wait 5-10-15 min and i log into the control panel Domoticz -->setting -->hardware
See what I see:

the system does not see the device Fibaro.. and i must again log into setting -->hardware -->OpenZWave setting --> include node --> push 3x B-button on Fibaro Multi sensor...

How do I make Fibaro is connected to a Raspberry automatically after reset..


On desktop :

Image

On Domoticz -->setting -->hardware --> :

Image
Attachments
2.JPG
2.JPG (63.64 KiB) Viewed 17637 times
1.JPG
1.JPG (99.29 KiB) Viewed 17637 times
User avatar
JHO01
Posts: 24
Joined: Wednesday 02 November 2016 13:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands
Contact:

Re: Best way to include z-wave devices?

Post by JHO01 »

I am working with a raspberry Pi, Z-stick Gen5, all updated to latest version, BUT the Fibaro Single switch cannot be included. I have tried all of the above. What to do now?
RPI-3, Z-stick Gen5, RFlink, Zigbee2mqtt, 1-wire DS18B20, Fibaro switches, various RF-433 sockets, BMP018, Somfy, Wemos, Tradfri.
Skippiemanz
Posts: 230
Joined: Sunday 14 July 2013 20:21
Target OS: Linux
Domoticz version: 4.10233
Location: Alkmaar, The Netherlands
Contact:

Re: Best way to include z-wave devices?

Post by Skippiemanz »

Did you reset the Fibaro?

And after the reset tried to include by powering the switch?

So reset, take of the power, pres the include button on domoticz and then power the switch
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest