-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Regular crashes over last couple of weeks ? Connection Refused #82
Comments
Hi, did you get a resolve to this? I have a very similar issue. HAS is fully up to date. The add-on runs for a while and the stops and fails to restart. The error message consistently being as follows: “ERROR: Unhandled rejection - Command 25 timed out 5 times and could not be completed“ also, what drives the time stamp in the log? I note this is an hour out despite the time being correct on both the panel and home assistant. Is there a clock in addition? Any help would be appreciated thank you |
After around two years wiuth no problems, my texecom2mqtt seems to stop every day and fails to restart automatically. Apart from standard Home Assistant updates: I have stopped using Zigbee devices as I can use existing Texecom "Ricochet" PIRS and Door/Window detectors. Any ideas/updates. |
We've been having similar issues too, seems to crash when there is an exit error on the alarm. Shame the project appears to be abandoned as it works better than other integrations. If it was open source we could have a go at fixing it. Hopefully the dev is still around :) |
Also having this problem, worked a treat for over 2 years. Then it started with the odd crash, now it's like 4-5 times a day. 2023-07-28 11:35:36 - ERROR: Corrupt response from panel: CRC 91 is invalid (message: 744d087e193d005b) I think this would be the same as other. It's becoming pretty frustrating.. 😬 |
I run this separately outside of hassio, and mine is also crashing. Probably a couple of times a month, so im not sure its specific to Home Assistant |
Ours seems to have a guaranteed crash on an arm fail. Other scenarios I haven’t been able to confirm the crash reason. |
I have a very similar issue: when I have a power outage, connection to the Smartcom is lost (through things like network switches being offline). I get a 'Host unreachable' error rather than 'Connection refused' error, but from the same line of code. The watchdog doesn't seem to restart it. Or maybe it tries but gives up too quickly. So I've implemented my own simple watchdog: every 15 mins, it looks to see whether my alarm is 'unavailable', and if so, it tries starting the add-on. On my initial tests, this seems to work nicely!
If you're not doing this through the GUI, the add-on name at the bottom can be deduced by looking at the URL when you're viewing the add-ons page. |
Ooooh! That looks very useful. I will have a go myself as the app does not
always seem to restart on its own as I find it "stalled" from time to time.
…On Thu, 12 Oct 2023 at 12:41, Quentin Stafford-Fraser < ***@***.***> wrote:
I have a very similar issue: when I have a power outage, connection to the
Smartcom is lost (through things like network switches being offline). I
get a 'Host unreachable' error rather than 'Connection refused' error, but
from the same line of code. The watchdog doesn't seem to restart it. Or
maybe it tries but gives up too quickly.
So I've implemented my own simple watchdog: every 15 mins, it looks to see
whether my alarm is 'unavailable', and if so, it tries starting the add-on.
On my initial tests, this seems to work nicely!
- alias: Texecom2mqtt watchdog
id: "texecom2mqtt_watchdog"
initial_state: on
mode: restart
trigger:
- platform: time_pattern
minutes: "/15"
seconds: 00
condition:
- condition: state
entity_id: alarm_control_panel.house_alarm
state: "unavailable"
action:
- service: hassio.addon_start
data:
addon: c15a2434_texecom2mqtt
If you're not doing this through the GUI, the add-on name at the bottom
can be deduced by looking at the URL when you're viewing the add-ons page.
This was inspired partly by this post
<https://community.home-assistant.io/t/tenacious-watchdog-for-add-ons-example-for-zigbee2mqtt/521888>
where people had problems with Zigbee2MQTT crashing.
—
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFWRDQEPSGNTHKLHVKKRNDX67JN5ANCNFSM6AAAAAAV6INXFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks - might be just what I need. |
In case anyone needs the Node-RED equivalent
|
I was getting this error regularly too with an Elite 48. My SmartCom had version 3 firmware and the panel was running 5.01.03 LS6 firmware. I upgraded the SmartCom to version 4.05.01 then the panel to version 6.05.03 LS6 (using Texecom Cloud). I've not seen this error again since I upgraded over a week ago. Arming and disarming the alarm through Home Assistant seems more reliable now as well. |
Ive updated all firmware on both smartcom and Panel elite 24 still get disconnected below is my latest error log 2024-02-15 05:02:22 - INFO: Starting texecom2mqtt v1.2.3 (Node v16.13.0)... Error: connect EHOSTUNREACH 192.168.1.18:10001 Is this the case of just host unreachable |
I've improved performance by putting the container on the "host" network. |
Describe the bug
Add On crashes, watch dog doesn't restart it,
Add on has worked solidly for a long time, but in last couple of weeks or so have been getting frequent crashes.
Can't be 100% sure what version of home assistant or supervisor started the problems.
Application version
v1.2.3
Texecom alarm type
Premier Elite 24 (V5.02.01LS1)
Home Assistant version
Home Assistant 2023.3.5
Supervisor 2023.03.1
Operating System 9.5
Frontend 20230309.1 - latest
Debug log
The text was updated successfully, but these errors were encountered: