madchicken / comelit-client

Simple CLI to interact with Comelit HUB, Vedo and Comelit Serial Bus
Apache License 2.0
23 stars 6 forks source link

Icona: call notification and audio/video streaming #45

Open Scarpetta3 opened 11 months ago

Scarpetta3 commented 11 months ago

I am trying, with the help of other programmers, to integrate another Comelit product into Home Assistant, in particular the 6741W video intercom. We managed to use ICONA to control the opening but I wanted to ask if you also plan to integrate the call notification and audio/video streaming of the video intercom.

Thank you very much Regards Matteo

madchicken commented 8 months ago

I would love to, but honestly, this kind of work is extremely time-consuming and I don't have much spare time.

bitcoder commented 8 months ago

Call notification would be great. Any tips where to get started? I may try to have a look at it but having some initial direction would be great

madchicken commented 8 months ago

I think that adding notifications depends on creating a persistent connection between the client and the HUB. We need to capture data and implement the PING command (I think I saw something in my experiments a while ago) and then capture the packets when the doorbell rings. To create captures, you need to connect the phone to your PC/Mac use Wireshark to capture network packages, and then use all your patience to understand what is going on there.