Thanks for the reply.
The switches we use are momentary.
The strange thing is, I'm not getting the toggle function to work.
Here is what I did in the IoCore
In the SHOW CONTROL window I added a GPI in the action list and added one action for that.
In that GPI action I have set it to "listen" to GPI1, added a Variable, Feature is Set Value, Function is Toggle, Param1 is 1, Param2 is 1
After that I added a Variable in the SHOW CONTROL window Action list
For that I've added 2 Actions
The first action:
Set the Trigger type to Variable 1 and then pressed the Learn button and connected the Ground of the GPI ports to GPI 1
After that I've set the trigger flank to Down
I've added a task to turn ON relai 2
The second action:
Set the Trigger type to Variable 1 and then pressed the Learn button and connected the Ground of the GPI ports to GPI 1
After that I've set the trigger flank to Down
I've added a task to turn OFF relai 2
But it won't work
The strange thing is, it doesn't seem to toggle
I've tried to set the Param2 to 4 and then i've used the learn function again in both the Variable actions
I've noticed that both actions recored 4 from the learn function
Oh and a litte sidenote
With the IoCore in the SHOW CONTROL window I can only see one action in the ACTIONS list, It worked before, I allready tried multiple explorers,