Page 1 of 1

logical rules, how does it work?

Posted: 03 Feb 2017 23:06
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 ?

Re: logical rules, how does it work?

Posted: 05 Feb 2017 18:24
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