logical rules, how does it work?

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
etnica
Posts: 8
Joined: 03 Feb 2017 22:44

logical rules, how does it work?

Post by etnica »

I have created three scenes

1 2 3

I have 2 button remote 1 and 2(nodon remote)

If (scene == 1 and button == 2)
goto scene 2
elseif(scene == 2 and button==2)
goto scene 3
elseif(scene ==3 and button == 1)
goto scene 2
else if(scene == 2 and button == 1)
goto scene 1


It's just impossible to get this working in logical rules app. How do you do it ? Or are you supposed todo it in some other way. Or is it not possible todo such simple logic and I will have to create my own module ?
etnica
Posts: 8
Joined: 03 Feb 2017 22:44

Re: logical rules, how does it work?

Post by etnica »

Well ugly hack with dummy devices solved it.

scenes doesnt hold any states, so had to add a dummy device for each scene then toggle the dummydevices on/off.

Was a pain doing it in GUI so hacked the logicalrules app and created my own with static devices. Ugly and needs to bed updatedif I need todo a reinstall. But would take to much time to fix properly.(wish it was simpler)


Well atleast it works now, just doesn't seem to be much of an acitivity on this forum =(.


But if there is an easier way please let me know if someone with knowledge sees this post.

Cheers
Post Reply