garethflowers / homebridge-texecom-connect

A Homebridge plugin to integrate with Texecom Connect SmartCom
https://garethflowers.dev/homebridge-texecom-connect/
MIT License
13 stars 5 forks source link

Getting disconnected after connection #217

Open amz4u2nv opened 3 years ago

amz4u2nv commented 3 years ago

Hi, trying to get the plugin to work, seems to be connecting according to the logs. But does it automatically disconnect after a min? Is this normal behaviour?

[10/17/2021, 6:50:11 PM] [TexecomConnect] Initializing TexecomConnect platform... [10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Hall [10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Front Room [10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Kitchen [10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Landing [10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Office [10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Bedroom [10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Front Door

Starting to advertise 'Homebridge A843 7ACF' using bonjour-hap backend! [10/17/2021, 6:50:11 PM] Homebridge v1.3.5 (Homebridge A843) is running on port 51200. [10/17/2021, 6:50:11 PM] [TexecomConnect] Connected to SmartCom - 192.168.0.39:10001 [10/17/2021, 6:51:13 PM] [TexecomConnect] Disconnected from SmartCom - 192.168.0.39:10001

Thanks

amz4u2nv commented 3 years ago

Added debug flag- [10/17/2021, 7:03:25 PM] Homebridge v1.3.5 (Homebridge A843) is running on port 51200. [10/17/2021, 7:03:25 PM] [TexecomConnect] Connected to SmartCom - 192.168.0.39:10001 [10/17/2021, 7:03:25 PM] [TexecomConnect] Socket Data: ATH0 [10/17/2021, 7:03:25 PM] [TexecomConnect] Reconnecting to SmartCom - 192.168.0.39:10001 [10/17/2021, 7:03:25 PM] [TexecomConnect] Disconnected from SmartCom - 192.168.0.39:10001 [10/17/2021, 7:03:25 PM] [TexecomConnect] Socket Data: ATH0 [10/17/2021, 7:03:25 PM] [TexecomConnect] Reconnecting to SmartCom - 192.168.0.39:10001 [10/17/2021, 7:03:25 PM] [TexecomConnect] Disconnected from SmartCom - 192.168.0.39:10001 [10/17/2021, 7:03:35 PM] [TexecomConnect] Connected to SmartCom - 192.168.0.39:10001 [10/17/2021, 7:04:37 PM] [TexecomConnect] Disconnected from SmartCom - 192.168.0.39:10001

amz4u2nv commented 3 years ago

So got it to work after looking at past issues raised - Com1 is set to SmartCon Com2 is set to creston No sure why port 10001 didnt work for me, but changed it to 1001 which started to work also changed baud rate to 19200 under udl setting-> setup module ->modem speed via the panel. I don't wintex or the cable to do this any other way. Now I need to work out how to arm, partset and disarm.

kempd commented 2 years ago

Did you figure this out?

amz4u2nv commented 2 years ago

Yup got it all working fine. Been running ok since Oct

kempd commented 2 years ago

nice, are you able to arm the installation using homebridge? Thought that was not supported.

amz4u2nv commented 2 years ago

Yeh I can arm it. I can see the alarm panel on home assistant. Also added the code: to the config.yml

1homebridge commented 1 year ago

Hi amz4u2nv,

We are trying to connect our Texecom system to Homebrige and our alarm installer is saying we need more hardware.

We have SmartCom already setup and trying to work out if all we need is to set COM ports as you said (COM1 - SmartCom and COM2 - Crestron).

Can you tell me how your system is wired up and what device you are using for Homebridge? We are using Rspberry Pi.

Also can you share your code so I can compare with ours here?

Thanks

kempd commented 1 year ago

Not amz4u2nv but I don't think you can arm it with homebridge. I played around with it and I beside exposing each sensor in homebridge there wasn't anyhting more I could do. I stopped trying as I wasn't using Home Assistant at that time.

However, I think Home Assistant is more reslient for this setup and also seems to be the one everyone who succeeded is using.

If you are still configuring your alarm it would also advise to connect it with two ethernet cables so you can have Smartcom and HA side by side.

amz4u2nv commented 1 year ago

Hi amz4u2nv,

We are trying to connect our Texecom system to Homebrige and our alarm installer is saying we need more hardware.

We have SmartCom already setup and trying to work out if all we need is to set COM ports as you said (COM1 - SmartCom and COM2 - Crestron).

Can you tell me how your system is wired up and what device you are using for Homebridge? We are using Rspberry Pi.

Also can you share your code so I can compare with ours here?

Thanks

I'm not sure how it's exactly wired, I think the installer just following the standard instructions to install smartcom. But using the above settings work for me. In terms of homebridge, I'm going via home assistant, and from there it exposes the sensors and arming disarming alarm to homekit. Try and use telnet and the ip address of the alarm to see if you are able to get a response from the port.