Page 1 of 1

Problem with z-stick adding devices

Posted: Wednesday 08 November 2017 22:59
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..

Re: Problem with z-stick adding devices

Posted: Friday 10 November 2017 16:53
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!

Re: Problem with z-stick adding devices

Posted: Friday 10 November 2017 17:35
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.

Re: Problem with z-stick adding devices

Posted: Friday 10 November 2017 22:33
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