Hi!
I have a light scene that simply turn Off a set of lights (2 lamps operated by a Fibaro multiswitch).
I have a group that simply includes that light scene only for ON events.
Finally i have a bind between other light and the group (this is because you cannot bind a light with a light scene).
When i turn on the second light, al the lights in the scene are turned Off. Great!... This works fine when i use phisical buttons... But when the lights in the scene are On and the second light is on... When i switch Off the second light... The lights include in the light scene are turned Off tooo... Only when i use virtual button in the ha ui. That is a Strange behaviour.
Another case: if a build a similar conbination to do the opositte action... (Turn Off the second light when i turn on any light in the light scene) when i turn on any light in the light scene i described all lights (the second light but the lights in the light scene ) are turned Off todo
This is really weird... Is this a bug?
Strange behaviour in scene+group+bind
-
- Posts: 19
- Joined: 13 Mar 2014 00:14
Re: Strange behaviour in scene+group+bind
Hi PoltoS!
Have you seen this post? Could you please help me with this?
Have you seen this post? Could you please help me with this?
Re: Strange behaviour in scene+group+bind
Quite hard to follow.... Excuse. May be you can describe it a bit more clearly with modules name, exact actions. Or a video to reproduce
-
- Posts: 19
- Joined: 13 Mar 2014 00:14
Strange behaviour with UI lights button
Hi PoltoS
Thanks to LogicalRule module, i have simplified the scenario with problems.
I have a LightScene to switch off Light 1. We could name this scene "Scene1_off"
I have a LogicalRule with the following configuration:
-condition: when Light2 is On
-action: activate Scene1_off
I have performed several tests with diferent results:
Test1
Inicial status: Light1 On. Light2 off.
Action: manual switch on of Light2 (using wall switch or using UI web button).
Result: light1 is automatically switched Off.
Evaluation: OK
Test2
Inicial status: Ligh1 and Light2 are On
Action: Manual switch Off of Light2 (using wall switch)
Result: nothing happens automatically.
Evaluation: Ok
Test3
Initial status: Light1 and Light2 are on.
Action: switch Off of Light2 using UI button
Result: Light1 is automatically switched Off!
Evaluation: wrong behaviour. The result must be the dame as test2.
PoltoS could you review? Itv very Strange!
I have all fibaro relays.
Thanks
Thanks to LogicalRule module, i have simplified the scenario with problems.
I have a LightScene to switch off Light 1. We could name this scene "Scene1_off"
I have a LogicalRule with the following configuration:
-condition: when Light2 is On
-action: activate Scene1_off
I have performed several tests with diferent results:
Test1
Inicial status: Light1 On. Light2 off.
Action: manual switch on of Light2 (using wall switch or using UI web button).
Result: light1 is automatically switched Off.
Evaluation: OK
Test2
Inicial status: Ligh1 and Light2 are On
Action: Manual switch Off of Light2 (using wall switch)
Result: nothing happens automatically.
Evaluation: Ok
Test3
Initial status: Light1 and Light2 are on.
Action: switch Off of Light2 using UI button
Result: Light1 is automatically switched Off!
Evaluation: wrong behaviour. The result must be the dame as test2.
PoltoS could you review? Itv very Strange!
I have all fibaro relays.
Thanks
Re: Strange behaviour in scene+group+bind
Hard to reproduce... tried - all in vain. If you are able, please have a look on it with a debugger. Or add a lot of console.logJS(...) in LogicalRules/index.js
-
- Posts: 19
- Joined: 13 Mar 2014 00:14
Re: Strange behaviour in scene+group+bind
Many thanks for your support, anyway! I will try to debug your code (i will do my best )
Re: Strange behaviour in scene+group+bind
may be you can give remote access to the box?
-
- Posts: 19
- Joined: 13 Mar 2014 00:14
Re: Strange behaviour in scene+group+bind
hi PoltoS
i have used console.log with no success... i can´t see anything. How console.logJS works??
Maybe, when the module is triggered by a change of state of the switch used in the binary condition, the module is not recovering properly the actual state of the device and maybe is considering a "on" state when is "off"... but i dont know why ¿?
Thanks!
Sergio
i have used console.log with no success... i can´t see anything. How console.logJS works??
Maybe, when the module is triggered by a change of state of the switch used in the binary condition, the module is not recovering properly the actual state of the device and maybe is considering a "on" state when is "off"... but i dont know why ¿?
Thanks!
Sergio
Re: Strange behaviour in scene+group+bind
Hard to interpret your data. May be you can use the debugger tool?
-
- Posts: 19
- Joined: 13 Mar 2014 00:14
Re: Strange behaviour in scene+group+bind
Ha ha ha i'm sorry... I'm using chrome browser javascript console. Could you recomend me another way to debug?
As i said i put a lot of console.log ("xxxx") but i couldnt see anything.
As i said i put a lot of console.log ("xxxx") but i couldnt see anything.