Page 1 of 1

Z-wave device sends on and off signal

Posted: Wednesday 30 December 2015 21:16
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.

Re: Z-wave device sends on and off signal

Posted: Wednesday 30 December 2015 21:44
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?

Re: Z-wave device sends on and off signal

Posted: Wednesday 30 December 2015 21:48
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?

Re: Z-wave device sends on and off signal

Posted: Wednesday 30 December 2015 21:52
by jannl
You do not have any blockly or lua that switches the dimmer?
May be a poor zwave reception?

Re: Z-wave device sends on and off signal

Posted: Wednesday 30 December 2015 22:01
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.

Re: Z-wave device sends on and off signal

Posted: Wednesday 30 December 2015 22:03
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?

Re: Z-wave device sends on and off signal

Posted: Wednesday 30 December 2015 22:46
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.

Re: Z-wave device sends on and off signal

Posted: Wednesday 30 December 2015 23:01
by frave
OK a fresh install of Domoticz did not work. Still the same problem.

Re: Z-wave device sends on and off signal

Posted: Friday 22 January 2016 15:12
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.