Domoticz, Pi, Z-Wave and heating

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

User avatar
nayr
Posts: 354
Joined: Tuesday 11 November 2014 18:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: Domoticz, Pi, Z-Wave and heating

Post by nayr »

Another problem ive had with pairing is mixing up which mode is associate and dissociate via the z-stick button... I spent some time cursing at a device only to realize I was holding down on the button and putting it into disassociate mode instead of taping on the button and putting it in associate.

Try associating them again AFTER you disassociate and/or factory reset first.. sometimes if you get an open box unit or one not reset properly at factory, and it'll struggle to associate because it's still paired with another controller.
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
mvzut
Posts: 443
Joined: Thursday 12 November 2015 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Domoticz, Pi, Z-Wave and heating

Post by mvzut »

Scones, you did not describe if you have actually paired your Z-wave devices with the Aeon stick. Did you do that at all? In contrast to IP-based hardware or 433 MHz devices, Z-wave devices do not appear automatically in the devices list. You have to go into the setup page of your stick, click on "Node management" and select "Include node". Then follow the procedure as described in the manual of your Z-wave device, usually you have to press a pair button in a particular pattern.
Once you have included the devices in your Z-wave network, they will appear in the devices list.
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
Scones
Posts: 47
Joined: Wednesday 10 December 2014 16:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz, Pi, Z-Wave and heating

Post by Scones »

Hi mvzut

I'm using one of the Aeon Labs USB sticks with built in batter and activation button. I have paired the device using that as per instructions.

Mayr mentioned about holding the button down too long and putting the device in remove mode instead of add. I was guilty of this, so did it again with only a quick press and release of the button. That still didn't work, although both the LED on the USB stick and on the Fibaro sensor.

I then plugged it back into the Domoticz RPi, and went through Setup -> Hardware and clicked on the Z-Wave USB device and clicked update. However, it still hasn't added anything to the Setup->Devices page.

My next action will be to follow Mayr's advice and find out how to factory reset the USB stick.

BTW, I did manage to add the CamJam Edukit2 temperature sensor to my new OSMC box and now have a room temperature sensor device on my Domoticz. Can't get the movement sensor to work though. It just sits there saying "Waiting for PIR to settle......"
IDANIT
Posts: 73
Joined: Saturday 07 November 2015 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

Re: Domoticz, Pi, Z-Wave and heating

Post by IDANIT »

@scones your port is ACM0 instead USB...
Scones
Posts: 47
Joined: Wednesday 10 December 2014 16:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz, Pi, Z-Wave and heating

Post by Scones »

IDANIT wrote:@scones your port is ACM0 instead USB...
I did wonder that, but thought it must be okay as it obtained the details about the stick itself.

As I've not been able to find out how to reset the stick yet, I'll give this a try tonight
IDANIT
Posts: 73
Joined: Saturday 07 November 2015 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

Re: Domoticz, Pi, Z-Wave and heating

Post by IDANIT »

Scones wrote: I did wonder that, but thought it must be okay as it obtained the details about the stick itself.
It is not from the stick! NAME "Z-Wave USB" is the name you gave it, TYPE "OpenZWave USB..." is the name and version of OpenZWave software installed in Domoticz. I can add and see same thing as you without stick! Change port to proper USB and solve the problem.
mvzut
Posts: 443
Joined: Thursday 12 November 2015 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Domoticz, Pi, Z-Wave and heating

Post by mvzut »

I have the same Aeon stick, and I have it configured for ACM0 too. For me this was the only port it worked on.

By the way, Scones, I have never paired devices in the way you mention, i.e. using the pair button on the stick itself. So I don't know if/how that should work in Domoticz. I have only included nodes using the menu.
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
Scones
Posts: 47
Joined: Wednesday 10 December 2014 16:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz, Pi, Z-Wave and heating

Post by Scones »

I suspect that one of my problems was a too low amp power supply as when the Z-Wave stick was being used, the RFCOMM started misbehaving too. I replaced a 1.2a with a 2.1a which should be sufficient.

I had tried doing the pairing using the pair button on the stick, and the flashing of the LEDs on both the sensor and the stick seemed to show that it had worked.

I plugged the stick back into my Pi and again went into Setup->Hardware, clicked on the stick and clicked on update. This did nothing. I tried changing the serial port back to ACM0 and Domoticz seemed to hang.
1_hardware.png
1_hardware.png (10.78 KiB) Viewed 1359 times
When I rebooted the Pi, and looked in Setup-> Devices, the USB stick now appears, which it never did before. However, the Fibaro sensor still doesn't appear.
2_devices.png
2_devices.png (7.43 KiB) Viewed 1359 times

Does anyone know what I need to do next?
When I went back in to Setup->Hardware and clicked on the 'Setup' button it now shows 2 nodes. One node is the USB stick,
3_setup.png
3_setup.png (88.07 KiB) Viewed 1359 times
However, the other node appears to be sleeping, and will not wake up. It also doesn't appear to be doing anything
User avatar
nayr
Posts: 354
Joined: Tuesday 11 November 2014 18:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: Domoticz, Pi, Z-Wave and heating

Post by nayr »

Wait until that red warning goes away, new devices dont tend to be created until all nodes have responded.. sometimes it can take a lil bit.

Underpowered USB would cause all sorts of issues, might consider putting your transceivers on a powered hub.. there is only so much power the Pi's USB can output despite how much power is available at the input.
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
Scones
Posts: 47
Joined: Wednesday 10 December 2014 16:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz, Pi, Z-Wave and heating

Post by Scones »

Just to let everyone know. After I updated the node details as described above, the devices finally appeared in Setup->Devices. It did take until the following day for them to appear though.

I'm guessing that changing the settings within the Fibaro device forced it to start reporting light and temperature levels, and once this happened, Domoticz added the devices.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest