Scene switching causes faulty status of zwave switch

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Scene switching causes faulty status of zwave switch

Post by trekker25 »

have 10 zwave light switches.
All lamps are switched on/of by scenes.

Problem is that when a scene is executed both an ON and OFF is being sent (according to domoticz Switch Log) but the correct z-wave action is done (so ON when ON is needed and OFF when OFF is needed).

let me put down some logs of switches:

2015-11-07 15:50:11 On correct
2015-11-06 23:20:10 Off correct

2015-11-06 15:52:11 On correct
2015-11-06 15:52:11 Off FAULT!

2015-11-05 23:20:10 Off correct
2015-11-05 22:54:55 Off manual switch correct
2015-11-05 15:53:10 On correct
2015-11-05 15:53:10 Off fault

2015-11-03 22:59:29 On manual switch fault
2015-11-03 22:59:22 Off manual switch correct

as you can see it doesn't happen always, sometimes goes correct / sometimes wrong.

I checked the timers of the scenes, but this can't be causing it, as it also happens on a manual OFF switching the scene..

Anyone have a idea what is going on? At least the lamps do what is needed, but the status of the switches is always fucked up.

Any idea how to debug this??
User avatar
gizmocuz
Posts: 2483
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by gizmocuz »

You have to double check your mesh network, seems some switches are not always received.
How far are they apart?
Quality outlives Quantity!
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by trekker25 »

gizmocuz wrote:You have to double check your mesh network, seems some switches are not always received.
How far are they apart?
i will check when back, but AFAIK i have a pretty reliable network.

But to me it seems a OFF command is sended when not needed. And an ON sended when OFF is needed?
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by trekker25 »

Image
seems like a healthy network too me???

So i really have the idea that Domoticz is sending both an ON + OFF when only an ON is needed and both an OFF and ON when only a OFF is needed? Can i debug this somehow?

(or maybe remove all the scenes and add them again, but rather want to find out why it's going wrong!)

For example this is the light Dressoir and seems to have connection with all the lamps + controller and it this it's log from last days:

2015-11-07 15:50:05 On
2015-11-07 15:50:05 Off
2015-11-06 23:20:06 On
2015-11-06 23:20:05 Off
2015-11-06 15:52:05 On
2015-11-06 15:52:05 Off
2015-11-05 23:20:06 Off
2015-11-05 22:54:51 Off
2015-11-05 15:53:04 On
2015-11-05 15:53:04 Off

Image
User avatar
gizmocuz
Posts: 2483
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by gizmocuz »

Dont know if this helps, but the controller (node number 1), should be in all the nodes 'group 1'
in your switch manual, also check where the switch status is send to, maybe this is 'group 3' then you need to add the controller (number 1) in group 3
Quality outlives Quantity!
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by trekker25 »

gizmocuz wrote:Dont know if this helps, but the controller (node number 1), should be in all the nodes 'group 1'
in your switch manual, also check where the switch status is send to, maybe this is 'group 3' then you need to add the controller (number 1) in group 3
ok will check that!

also noticed it doesn't have to do with the Scene switching.

When switching a single switch called Haard also get wrong results:

2015-11-08 11:21:01 On
2015-11-08 11:20:58 Off
2015-11-08 11:20:54 Off
2015-11-08 11:20:54 On
2015-11-08 11:20:20 On
2015-11-08 11:20:16 On
2015-11-08 11:20:16 Off
2015-11-08 11:20:12 Off
2015-11-08 11:20:01 On
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by trekker25 »

gizmocuz wrote:Dont know if this helps, but the controller (node number 1), should be in all the nodes 'group 1'
in your switch manual, also check where the switch status is send to, maybe this is 'group 3' then you need to add the controller (number 1) in group 3

How do i check where the switch status is sent to?? in the global log?

And the Controller has no option to put in a specific group??
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by trekker25 »

still trying to get this fixed.

Another example of how weird it is (and not sure if it's Domoticz or OpenZwave causing it)

I have a light called Couch.

The lamp switched ON on 16:00 (1 hour before sunset) automatically because of a scene. But the Status of this light stayed OFF although the light was burning.

Five minutes ago i manually switched this Light to OFF (the status already was OFF but you can still push it). The physical light is indeed being turned OFF, but the status of the switch in Domoticz switches to ON?

Why would sending a OFF cause the Switch to go into the ON status?
2015-11-09 22:58:00 Off
2015-11-09 22:58:00 On
2015-11-09 15:57:02 On
2015-11-09 15:57:02 Off

It really seems like a Domoticz bug to me. Tomorrow morning hopefully have some more time to debug. (but not sure what the best way would be!)
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by trekker25 »

This evening the status updating annoyed me so much, it was time to check what is going wrong.

I have the idea there is something wrong in the openzwave configuration:

In the control panel of Z-Wave i select a Fibaro wallplug. The current values tab shows as Switch: ON. this is correct status and also physical correct, the light is ON.

If I change the Switch value in this Control Panel to OFF this is what happens:

- select with Mouse the OFF value and release the mouse click
- physical switch is turned OFF
- the value stays on OFF for about 0,2 seconds
- the value automatically updates to ON again!??

indeed something is clearly going wrong but what??

Can i increase the openzwave debug log? Is there a open zwave forum where they could provide some help?

EDIT
this also works vice versa:
- try to turn on the light directly in the control panel
- the light turns on
- the value stays 0,2 sec ON but afterwards automatically changes back to OFF

EDIT2
a reboot assures that all status of Zwave devices is correct, but in the control panel have same issues. Weird!
Also my OpenZwave log seems "empty"?

Log output

s,
2015-12-07 21:23:02.013 Always, End of queued log message dump
2015-12-07 21:23:02.013 Always,

EDIT3
did some checking:
- all built-in fibaro relays work ok (3x)
- 4 of my 6 wallplugs have this issue
Maybe it helps if i exclude/reinclude those 4. Will give that a try
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by trekker25 »

Solved this issue: only thing that worked was resetting the Fibaro Wallplugs that had issues!

(did anyone ever achieve to exclude a Wall Plug in combination with a Aeon Stick? I keep pressing the B button insanely, but never get's excluded!)
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by trekker25 »

was to hasty on this:
- my full openzwave config got f*cked up after doing to much node resets

- tonight restorted a month old domoticz folder / hard resetted the zwave controller and added all wallplugs again.

At 23:20 my lights out scene was activated --> all lights went out, but 1 light kept the status ON and log showed this:

2015-12-08 23:20:01 Off
2015-12-08 23:20:01 On
gerbenvandijk
Posts: 2
Joined: Friday 25 December 2015 15:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by gerbenvandijk »

trekker25 wrote:was to hasty on this:
- my full openzwave config got f*cked up after doing to much node resets

- tonight restorted a month old domoticz folder / hard resetted the zwave controller and added all wallplugs again.

At 23:20 my lights out scene was activated --> all lights went out, but 1 light kept the status ON and log showed this:

2015-12-08 23:20:01 Off
2015-12-08 23:20:01 On
@trekker25 - is this still an issue? I'm currently orientating myself on the market and had almost ordered a couple of Fibaro FGWPF-101 wall plugs to use in combination with a Raspberry Pi + Pi Z-WAVE 2.0 module EU+ (RAZBERRY) running Domoticz. Then I ran into this thread and it made me doubt.

The only thing I currently want is to monitor the energy usage of specific wall sockets (and also see historical statistics of my energy usage). The Fibaro seemed the practical choice; as it is quite small and it seems to be compatible with the z-wave protocol.

Thanks in advance for you advice!
trekker25
Posts: 40
Joined: Tuesday 26 May 2015 10:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by trekker25 »

See this thread:

https://groups.google.com/forum/m/#!top ... hH6rtiyyaA

It involves that fibaro wallplugs give wrong status.

I don't use the power usage function (only led lamps behind it)
gerbenvandijk
Posts: 2
Joined: Friday 25 December 2015 15:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Scene switching causes faulty status of zwave switch

Post by gerbenvandijk »

trekker25 wrote:See this thread:

https://groups.google.com/forum/m/#!top ... hH6rtiyyaA

It involves that fibaro wallplugs give wrong status.

I don't use the power usage function (only led lamps behind it)
Thanks for the quick reply @trekker25. So after reading through all the links you referenced; it seems like this issue is not unique to these Fibaro plugs (also other people have it with other brands), and also it does not happen to everyone using these Fibaro plugs right? So although for some users this is a blocking issue; for some it functions correctly?

Could you confirm if this is correct? If it is, then I will buy one of them to do a testcase and report back here :-) Thanks again!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest