DisclaimerPlease, proceed carefully following the tips published in this blog, specially when Main Power is involved. I'm not responsible for any damages caused by what is written in this blog.
Home Automation System - OpenHAB 3 - 23. GPIO Binding - INPUT Example [Versione in italiano]
by Marco Lamanna
Twenty-third chapter related to OpenHAB 3.
In this video we continue the example of the previous video by configuring an input device on the Raspberry GPIO to be read by OpenHAB 3 via GPIO binding.
We use a magnetic contact (often used in alarm devices for doors, shutters and roller shutters) connected to a GPIO and through OpenHAB we read the input.
This video does not pretend to be a tutorial. The hope is that it will help someone.
Enjoy your viewing