johanwilliams / org.openhab.binding.fibaro

Fibaro Binding for Openhab
6 stars 8 forks source link

Create needed Fibaro lua scripts from the binding though the api #13

Open johanwilliams opened 7 years ago

johanwilliams commented 7 years ago

To avoid pulling the api for state changes a tcp server is used on the binding side and a lua scene needs to be implemented on the Fibaro side. The lua scene is triggered when the configured devices gets updated and sends the needed information to the tcp server.

As the Fibaro api has support for adding/updating/removing scenens this could be automated. The binding could push the needed scene thought the api.