Comments (3)
Ok, I just figured out that it is easy as:
"partitions": [
{
"name": "Partition 1"
},
{
"name": "Partition 2"
}
],
Everything is working great, except that Alarm status is not updated.
Mar 24 13:09:35 ubuntu homebridge[29653]: Partition 2 Ready
Mar 24 13:09:35 ubuntu homebridge[29653]: Setting Obstructed true
Mar 24 13:09:35 ubuntu homebridge[29653]: [3/24/2018, 1:09:35 PM] [Envisalink] Attempting to set alarm state to: 0
Mar 24 13:09:35 ubuntu homebridge[29653]: [3/24/2018, 1:09:35 PM] [Envisalink] Arming alarm to Stay/Night.
Mar 24 13:09:35 ubuntu homebridge[29653]: sendcommand 0312C6
Mar 24 13:09:35 ubuntu homebridge[29653]: Command 031 Acknowledged
Mar 24 13:09:36 ubuntu homebridge[29653]: Exit Delay of Partition 2 in Progress
Mar 24 13:09:56 ubuntu homebridge[29653]: Partition 2 has been armed by Quick Arm, Auto Arm, Keyswitch, DLS or Wireless Key
Mar 24 13:09:56 ubuntu homebridge[29653]: Partition 21 is Armed
Mar 24 13:10:33 ubuntu homebridge[29653]: Zone 009 is open
Mar 24 13:10:33 ubuntu homebridge[29653]: Set status on accessory Lakás/mozgás to {"name":"Zone Open","pre":"Zone","bytes":3,"post":"is open","se
Mar 24 13:10:37 ubuntu homebridge[29653]: Zone 009 is restored
Mar 24 13:10:37 ubuntu homebridge[29653]: Set status on accessory Lakás/mozgás to {"name":"Zone Alarm Restore","pre":"Zone","bytes":4,"post":"is
I set Home mode alarm, it arms fine in this mode, but Alarm status in Homebridge stays Off. What can be the problem here?
from homebridge-envisalink.
If I check raw status messages with telnet I see 652 (Partition Armed) command:
madrian@ubuntu:/usr/lib/node_modules/homebridge-envisalink$ telnet localhost 4026
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
6562D3
7012CA
6522100
Where 652 is the command
2 is the partition
1 is the mode
00 is the checksum.
EnvisalinkPlatform.prototype.partitionUpdate = function (data) {
var watchevents = ['601', '602', '609', '610', '650', '651', '652', '654', '656', '657'];
if (data.code == "652") {
//0: AWAY, 1: STAY, 2: ZERO-ENTRY-AWAY, 3: ZERO-ENTRY-STAY
if (data.mode == '1' || data.mode == "3") {
this.awayStay = Characteristic.SecuritySystemCurrentState.STAY_ARM;
} else {
this.awayStay = Characteristic.SecuritySystemCurrentState.AWAY_ARM;
}
}
If am not wrong, this code set the alarm status in Homebridge, but I have no idea why it's not catching/working 6522100 status message.
from homebridge-envisalink.
Fixed and published in v0.2.14 thanks to @rafiqsarlie.
from homebridge-envisalink.
Related Issues (20)
- Error setting panel state to 3: HOT 2
- Error connecting to Envisalink HOT 4
- Envisalink stopped responding HOT 8
- duplicate/conflicting notifications HOT 1
- Question about Smoke Detectors HOT 3
- Actual disconnected (with log and config) HOT 9
- Start up error - Misconfigured Alarm Zone Bypass switch definition Zone Bypass ignoring. HOT 1
- More Graceful Delay Between Commands
- Cannot disarm alarm system with the homebridge-envisalink plug-in. HOT 2
- 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
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.