Hi!
I’m using openHAB 2.5.1-2 on a Raspberry Pi 3 Model B for my KNX-home. For opening the garage door of our collective underground car park, an electrical relay is shorting the button of a remote control located in my cellar for two seconds. In openHAB this is done with help of the GPIO binding:
*.items:
Switch GPIO_Garage "Garage Door" <garagedoor> { gpio="pin:23 activelow:yes initialValue:high", expire="2s, command=OFF" }
Because the garage door is opening very slowly, I bought a “Flic 2”-button, so I can start the opening process before entering the reach of the standard remote control. The Flic-App offers an “Internet Request”, where an “ON” is send to the “Flic_Garage”-Item using myopenHAB with an encrypted “username:password”-login:
*.rules:
rule "Flic"
when
Item Flic_Garage received command ON
then
GPIO_Garage.sendCommand(ON)
end
(I made the detour with the rule to get more flexibility over the actions started with the Flic-button)
Until now, you can use this post as a tutorial for connecting the Flic-App with your openHAB-environment.
Here is my question: I want to offer the access to the garage door to my neighbours. As I don’t want to give away the (although encrypted) login data of my myopenHAB-account, I wonder if there is a possibility to add something like a restricted guest-account in myopenHAB for single items? Any other suggestions are also welcome.
Greetings from Vienna,
Peter