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 - 17. Useful API examples [Versione in italiano]
by Marco Lamanna
Seventeenth chapter related to OpenHAB 3.
After a short and quick theoretical introduction video to the APIs, what they are and what they are useful for, let's move on to practice with this new episode exploring the APIs that openhab makes available to interact with its system from the external, focusing, in particular, on the APIs related to items, used to retrieve their status and to send commands. At the end of the video there will be a short example of a custom user interface written in html that interacts with the API to turn lights on and off.
This video does not pretend to be a tutorial. The hope is that it will help someone.
Enjoy your viewing