Comments (18)
I'm seeing the same behaviour since updating to version 0.2.13 of this plugin, and 1.1.6 of Homebridge. Unfortunately I didn't make a note of the previous versions, but it has been a while since I last updated.
Same symptom as described - if I restart Homebridge then it works nicely for a while and then reports ECONNRESET when trying to set state on the alarm which results in a SIGTERM and Homebridge restarting itself automatically, but also results in the alarm being inaccessible if I'm out of the house.
from homebridge-envisalink.
@dustindclark I found that the disconnection is happening as part of the proxy... I tried setting the proxyenable to false and haven't seen this issue since. Looking at the proxy logic, I cannot see what benefit it is giving this code. Is it necessary, or is it safe to disable it?
from homebridge-envisalink.
from homebridge-envisalink.
I just saw another issue where you commented on the Smartthings. That makes sense. I guess we could make the proxy option configurable, but that seems like a kludge as this should work fine. I think I'll throw some extra diag into nodealarmproxy and try to track down the source of the issue.
from homebridge-envisalink.
I have disabled the proxy and I am am getting this error as well. I also need to reboot my EnvisaLink 4 to allow connections to start up again.
Any thing else I can do beside setting Proxy to false?
from homebridge-envisalink.
I have disabled the proxy and I am am getting this error as well. I also need to reboot my EnvisaLink 4 to allow connections to start up again.
Any thing else I can do beside setting Proxy to false?
@readylmay are you getting this error after disabling the proxy? I haven't needed to reboot my EnvisaLink (I'm on 3, but I don't think that would make much difference) - just restart Homebridge.
from homebridge-envisalink.
No, I am not anymore. It required a few reboot cycles of the EnvisaLink and restarted home bridge, but rock solid ever since.
from homebridge-envisalink.
Hi Guys, real noob here, how do I turn off proxyenable?
from homebridge-envisalink.
Hi Guys, real noob here, how do I turn off proxyenable?
I'm submitting a PR to make this setting configurable. If you are comfortable modifying code I can tell you where to modify the setting.
from homebridge-envisalink.
Hi Guys, real noob here, how do I turn off proxyenable?
I'm submitting a PR to make this setting configurable. If you are comfortable modifying code I can tell you where to modify the setting.
Happy to back up and try tinker with the code?
from homebridge-envisalink.
Hi Guys, real noob here, how do I turn off proxyenable?
I'm submitting a PR to make this setting configurable. If you are comfortable modifying code I can tell you where to modify the setting.
Happy to tinker?
from homebridge-envisalink.
Sorry I missed this, @kmberi
Someone can correct me if there is a better way to do this, but how I have been trying changes is to go into the node_modules/homebridge-envisalink folder on my system (/usr/lib/node_modules/homebridge-envisalink/) and modifying index.js, look for "proxyenable: true," on line 113 and set it to false. Then restart home bridge to pick up the change.
from homebridge-envisalink.
from homebridge-envisalink.
Actually it worked for a while, now getting this error when I try to arm the alarm
5/15/2021, 1:24:33 PM [Envisalink] Attempting to set alarm state on partition 1 Alarm to 2 NIGHT_ARM
5/15/2021, 1:24:33 PM [Envisalink] Arming alarm to Stay/Night.
5/15/2021, 1:24:33 PM Got SIGTERM, shutting down Bridge...
from homebridge-envisalink.
Are you seeing it consistently? I have seen that once or twice in the past few months, but not enough to try tackling it as it is a bit involved from my initial look around.
The nodealarmproxy library that this uses to do the actual communications with Envisalink does not have robust disconnection or error handling. e.g. if it disconnects from the alarm for whatever reason, it doesn't try to re-establish a connection and instead throws an exception at the next command. I've looked at it a bit and refactored some things, but that bit of code hasn't been updated in a while so I'm a bit worried about "fixing" something which may break certain behaviours that are being relied on. As I also don't have an environment that would test the proxy capabilities I wouldn't be able to thoroughly verify that it was still functioning as expected.
from homebridge-envisalink.
It's happening every time I try to arm the alarm.
from homebridge-envisalink.
So my n00b mistake might help someone in future I had my EyezON.com password in the password section. Changed it to "user" and that was it. Feel pretty dumb but thrilled it's working now.
from homebridge-envisalink.
The crash from a bad password or IP address should be fixed in 0.4.0-beta.3. Please re-open if you're still having issues. Thanks.
from homebridge-envisalink.
Related Issues (20)
- 2 questions, not really bugs HOT 5
- Allow Disabling Alarm Bypass Switch Using Config HOT 2
- Verbose Logging not Working HOT 4
- Issue with disarming HOT 6
- fucntion of on/off switch in Homekit HOT 2
- Logging Information
- Disarming from Panel does not have correct status in home app HOT 8
- Hoobs envisalink not working
- Status not correct on restart, always initializes to off / disarmed HOT 7
- Honeywell: Alarm request did not return successfully in allocated time. HOT 1
- Add Support for Envisalink UNO mode HOT 1
- What is the purpose of the off switch? HOT 12
- Custom Command Issue - Button status resetting HOT 4
- Bypass support HOT 4
- HomeKit Switch Identification HOT 9
- No status for failed arming HOT 5
- Night Arm functionality
- Support for EVL4 1.5.211 HOT 1
- Problems with a new envisalink duo install HOT 3
- EVL 3 and using Siri to set alarm to Home HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-envisalink.