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.
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.