Z-wave device sends on and off signal

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
frave
Posts: 16
Joined: Thursday 08 January 2015 8:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Z-wave device sends on and off signal

Post by frave »

Hi,

I am having a difficult time understanding Z-wave. Just now I started using it hoping to replace my RFXCom eventually. I bought a Z-wave.me USB stick and a BeNext built-in dimmer. The problem I am having is that when switching the BeNext dimmer on or off in the logs I can see that it sends multiple on / off signals. This should not be a problem but it sends signals as followed:
- Switching Off: It sends 3 off signals.
- Switching On: It sends an on signal and then an off signal.

The logs look like this:

Code: Select all

2015-12-30 21:08:52.717 LUA: ----------------------------------------------Switching Off - Off----------------------------------------------------
2015-12-30 21:08:52.591 (Z-wave Transceiver) Lighting 2 (Plafontspots Test 4)
2015-12-30 21:08:52.717 (Z-wave Transceiver) Lighting 2 (Plafontspots Test 4)
2015-12-30 21:08:53.297 LUA: ----------------------------------------------Switching Off - Off----------------------------------------------------
2015-12-30 21:08:53.286 (Z-wave Transceiver) Lighting 2 (Plafontspots Test 4)
2015-12-30 21:09:00.041 User: Admin initiated a switch command
2015-12-30 21:09:00.041 OpenZWave: Domoticz has send a Switch command!, Level: 255, NodeID: 4 (0x04)
2015-12-30 21:09:00.051 LUA: ----------------------------------------------Switching On - On----------------------------------------------------
2015-12-30 21:09:00.041 (Z-wave Transceiver) Lighting 2 (Plafontspots Test 4)
2015-12-30 21:09:00.127 LUA: ----------------------------------------------Switching On - Off----------------------------------------------------
2015-12-30 21:09:00.116 (Z-wave Transceiver) Lighting 2 (Plafontspots Test 4)
2015-12-30 21:09:01.286 (Z-wave Transceiver) Lighting 2 (Plafontspots Test 4)
Am I doing something wrong? My goal is to make an event or lua script which puts on a scene when this device is on and turns the scene off when the device is off. This way I need to hack a lot to make that possible.

Can someone help me figure this out?

Thanks in advance.
jannl
Posts: 673
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Z-wave device sends on and off signal

Post by jannl »

I do not understand that logging I think.
The switching seems to be LUA, I see one switch command being send and some status messages (I think).

The dimmer is actually switching?
frave
Posts: 16
Joined: Thursday 08 January 2015 8:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Z-wave device sends on and off signal

Post by frave »

Hi thanks for your reply. What I have done is made a lua script that sends a message each time a signal comes in because the Z-wave log lines in Domoticz do not say if the device is switched on or off.

The dimmer is switching. The strangest part is that switching on and off works great, but Domoticz just thinks it is switched off 2 times and when I switch it on it thinks it is put on and then off.

Do you have any idea what could be the cause?
jannl
Posts: 673
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Z-wave device sends on and off signal

Post by jannl »

You do not have any blockly or lua that switches the dimmer?
May be a poor zwave reception?
frave
Posts: 16
Joined: Thursday 08 January 2015 8:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Z-wave device sends on and off signal

Post by frave »

Hi, no I do not have any blockly or lua controlling it. I installed the Z-wave controller and switch just hours ago. The controller and the dimmer are about 2 meters apart, I do not think reception is the problem. But I don not have any clue what else it could be.
jannl
Posts: 673
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Z-wave device sends on and off signal

Post by jannl »

hm, strange.
I do not have more options. May be the dimmer is broken (or the stick), can you test at someone else may be?
BTW, are dimming LEDs?
frave
Posts: 16
Joined: Thursday 08 January 2015 8:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Z-wave device sends on and off signal

Post by frave »

Yea it is really strange. I am now setting up a fresh install of Domoticz to see if it is Z-wave that causes the trouble.
frave
Posts: 16
Joined: Thursday 08 January 2015 8:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Z-wave device sends on and off signal

Post by frave »

OK a fresh install of Domoticz did not work. Still the same problem.
frave
Posts: 16
Joined: Thursday 08 January 2015 8:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Z-wave device sends on and off signal

Post by frave »

OK just to update others on my journey with this dimmer I hereby post my final results. I returned it. It did not work as expected and I experienced the dimmer was of bad quality. The copper pins were broken and the product did not feel as sturdy as one would wish. I now bought a Fibaro Dimmer 2, a bit more expensive but it just works and it has lots of features.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest