max-christian / homebridge-texecom

A plugin for homebridge (https://github.com/nfarina/homebridge) to integrate Texecom Premier Elite zones into HomeKit
MIT License
27 stars 8 forks source link

Support Crestron over IP via ComIP #4

Closed max-christian closed 5 years ago

max-christian commented 5 years ago

I'm implementing support for the ComIP in homebridge-texecom now. As with serial connections, the only protocol supported will initially be Crestron.

Texecom have provided the following instructions for enabling Crestron over ComIP. Presumably this prevents anything else working via the ComIP, but I've not tried it yet:

Crestron can be sent over IP providing the IP module is set up first as normal then the COM port on the panel is changed to Crestron.

This allows the panel to Configure the IP address into the module, then changing to Crestron will allow the panel to input/output the correct commands

max-christian commented 5 years ago

It's working! Getting Home app notifications of doors opening and motion sensors is exceptionally cool.

paskovitch commented 5 years ago

Can you write a step by step destricption? Thanks!

max-christian commented 5 years ago

Sure thing @paskovitch, will write up instructions once the code is ready. Just need to make it deal with errors and reconnecting.

kieranmjones commented 5 years ago

Really looking forward to seeing your work! I appreciate the contribution as I would have never got the time myself.

max-christian commented 5 years ago

Hi there, sorry for the delay, work got the better of me.

I've had this running for a month or so and it's very solid. Was holding off as I've not found a way to test the code that reconnects on connection failure, but I'll try to upload the code tonight.

max-christian commented 5 years ago

5 pull request just submitted

paskovitch commented 5 years ago

Any progress? I'm looking forward to the new version to try it out :P

max-christian commented 5 years ago

Hi, you can click on the pull request above to get the code even though it’s not released yet.

kieranmjones commented 5 years ago

I'll get this released soon once the last few bits are sorted that are being discussed in the pull request, once merged in I'll get it released to NPM so you can update via the usual method.

kieranmjones commented 5 years ago

This has now been released and is available, it will soon get pushed to NPM also. Thanks to @max-christian for his work on this!