At first to all Developer - GREAT JOB!
I am working on a Pimatic Prototyp for my own Home Automation and have some Questions:
I want to control a Home Latching circuit, therefor i am using an MCP23017 as Portmodul Addition. I have installed the Johnny Five Plugin and defined an input to get the state of the active circuit (“class”: “JohnnyFiveButton”) The Output Actor is a switch (“class”: “JohnnyFiveSwitch”) defined to control “Latching relays”! -> both runs awesome.
But how to change the switch State (optical) without switching the output?
The reason is : Its nessecary that the Pimatic System knows and display the right state also when the circuit is switch ON from external. So how can I trigger that!?
For some Tests I created a Button Device with ON/OFF to control two rules: “If ButtonDevice ON is pressed and JohnnyFiveButton is opened than switch on JohnnyFiveSwitch for 1second” -> it does the job - but very awkward, or not? And you can’t see the circuit state in the GUI optical.
I read a lot about how to toggle a switch, but each way ends that the switches really switched there state when a rule toggle them!?
Sorry for my great English words…