I want to steer a GPIO pin which is connected with my Raspberry Pi. My OpenHab is running running in a different computer and I want to steer the pin (or turning a LED) from OpenHab.
In my OpenHab have a set up rules and the Switch item is receiving the command “ON”, but I am not able to bind it with the hardware as OpenHab is not running in Pi.
Any idea how to do this?
Though, I am able to do it by curl command in the URL.
like:http://164.48.135.154:8082/DoorOpener/off or http://164.48.135.154:8082/DoorOpener/on.
In my items:
Switch DoorOpener_GF “Frontdoor [MAP(en.map):%s]” (GF_Entrance_Main) {gpio=“pin:6”}
Thanks in advance,
Sujata.