chemelli74/aiocomelit

Comelit HUB support

Opened this issue · 3 comments

Looks like Serial Bridge is going to be decommissioned in favor of the new "Hub", is there any plan to add support for it?

Looks like Serial Bridge is going to be decommissioned in favor of the new "Hub", is there any plan to add support for it?

AFAIK, the new HUB works via MQTT and not via REST.
If confirmed then it needs a totally different library.

You may convince the author of homeassistant-comelit to make a library and then it can be integrated in core.

AFAIK, the new HUB works via MQTT and not via REST.

It does indeed, there is however a TS implementation of the client available, i guess it could be adapted using Paho in python, unfortunately i do not have an HUB (yet) otherwise i would be happy to work on a pull:

https://github.com/madchicken/comelit-client/blob/371ef07fb453af9b0074caff030fd3cfb6a74443/src/comelit-client.ts

Just found out that there is also an home assistant HACS package available with HUB support, still i like the library approach better, package is here: https://github.com/gicamm/homeassistant-comelit