Problem with z-stick adding devices Topic is solved

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
Rs3b
Posts: 4
Joined: Friday 18 August 2017 12:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Problem with z-stick adding devices

Post by Rs3b »

Hello,

I’m a noob, I have domoticz on a pi3, and a z-stick (zwave plus) gen5 plugged into it.
I also have a domitech lamp (zwave plus). A few months ago I configured domoticz using blockly that the lamp turn on At sunset and off at sunrise. Being a noob, I was quite proud of that achievement.
But then I bought a popp radiator thermostat, I was feeling confident, I took the z-stick, held it next to the installed thermostat and tried to include.
Since then my confidence is going down the hill. I noticed that the lamp stopped responding to the schedule, so I left the thermostat and try to get it working again.
No luck unfortunately. I saw the lightbulb in domotics, but turning on or off, the device itself did not follow. I tried resetting the light bulb, resetting the z-stick, in the end I deleted the lightbulb, and tried to add it again with the z-stick.

Problem there is that the lamp reacts as if it is included, (blinks twice) but when I look in hardware- z-stick I see an empty list.
I succeeded one time seeing the lamp, but then I saw two lamps, in stead of one. When I tried to turn it on I got an error sending switch command to device.
Anyway, that time I deleted the device, but now I see empty list.
Hoe can I include and see it in the list?

Anyone knows what may be the issue?
Thanks..
lost
Posts: 663
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Problem with z-stick adding devices

Post by lost »

Rs3b wrote: Wednesday 08 November 2017 22:59 But then I bought a popp radiator thermostat, I was feeling confident, I took the z-stick, held it next to the installed thermostat and tried to include.
Since then my confidence is going down the hill. I noticed that the lamp stopped responding to the schedule
One reason could be a lack of persistent device setup.

Z-stick is seen as a serial link to USB converter, something like a /dev/ttyUSB or /dev/ttyACM.
These devices are numbered (1st plugged will be ttyACM0 for instance) and number increment at each new discovered.

So when you remove one and replug it, same device but mapped with an increment will not match anymore Domoticz setup: Still listening for /dev/ttyACM0 but device is now on /dev/ttyACM1.

The wiki explain how to make device allocation persistent: It's rules to add ensuring a device (known from it's manufacturer and device IDs couple) will be allocated statically.

If I'm right, excluding/re-including devices will not change anything: It's just that Domoticz can't communicate with the stick!
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Problem with z-stick adding devices

Post by LouiS22 »

Rs3b wrote: Wednesday 08 November 2017 22:59 Hello,

I’m a noob, I have domoticz on a pi3, and a z-stick (zwave plus) gen5 plugged into it.
I also have a domitech lamp (zwave plus). A few months ago I configured domoticz using blockly that the lamp turn on At sunset and off at sunrise. Being a noob, I was quite proud of that achievement.
But then I bought a popp radiator thermostat, I was feeling confident, I took the z-stick, held it next to the installed thermostat and tried to include.
Since then my confidence is going down the hill. I noticed that the lamp stopped responding to the schedule, so I left the thermostat and try to get it working again.
No luck unfortunately. I saw the lightbulb in domotics, but turning on or off, the device itself did not follow. I tried resetting the light bulb, resetting the z-stick, in the end I deleted the lightbulb, and tried to add it again with the z-stick.

Problem there is that the lamp reacts as if it is included, (blinks twice) but when I look in hardware- z-stick I see an empty list.
I succeeded one time seeing the lamp, but then I saw two lamps, in stead of one. When I tried to turn it on I got an error sending switch command to device.
Anyway, that time I deleted the device, but now I see empty list.
Hoe can I include and see it in the list?

Anyone knows what may be the issue?
Thanks..
I'm sure you can solve the issue as noted before. One more thing: you really don't have to unplug your stick from the pi to include a new device, it can be done via OZW panel's Node management in Domoticz.
Rs3b
Posts: 4
Joined: Friday 18 August 2017 12:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Problem with z-stick adding devices

Post by Rs3b »

A big THANK YOU!! to lost for the explanation and LouiS22 for confirmation and hint!

I followed the instructions on the wiki (it’s a classic rtfm 😳) to fix the device allocation and I can now control the light again from domoticz! On to the next hurdle!

Rs3b
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest