Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting disconnected after connection #217

Open
amz4u2nv opened this issue Oct 17, 2021 · 9 comments
Open

Getting disconnected after connection #217

amz4u2nv opened this issue Oct 17, 2021 · 9 comments

Comments

@amz4u2nv
Copy link

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
Copy link
Author

amz4u2nv commented Oct 17, 2021

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
Copy link
Author

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
Copy link

kempd commented Apr 1, 2022

Did you figure this out?

@amz4u2nv
Copy link
Author

amz4u2nv commented Apr 2, 2022

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

@kempd
Copy link

kempd commented Apr 8, 2022

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

@amz4u2nv
Copy link
Author

amz4u2nv commented Apr 8, 2022

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

@1homebridge
Copy link

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
Copy link

kempd commented Jan 11, 2023

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants