I’m new to the forum and I’m trying homegenie.
If possible I would need your help for editing a widget.
I’m trying to command a 2-way relay Finder using Rpi and another cheap relay.
I need modify a widget that when the button is pressed sends an impulse to the relay Finder via the cheap relay connected to the raspberry (Eg GPIO 22).
So far I have temporarily solved with TurnOffDelay 0.5 or with macro, but since the same relay finder, could also be operated by a normal button positioned on the wall, the status indicated in the widget should not be that of the same GPIO 22 (which would always be off) but that of the 3.3v signal coming from the second way of the relay Finder i’ve connected to the GPIO 18.
Is possible in a single widget send command to a specific GPIO and receive the status from another GPIO ?
Perhaps it would be more appropriate if at the push of the button the widget would execute a program and contextually display the status of the signal (ES.GPIO 18)?
I hope someone wants to help me.