npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-envisalink

v1.2.10

Published

A homebridge plugin for the EnvisaLink alarm module

Downloads

99

Readme

homebridge-envisalink

verified-by-homebridge NPM Version

This Homebridge plugin adds an Envisalink panel and its sensors into HomeKit. Alarm Panel can be armed (home/away) or disarmed by using Siri or the HomeKit app of your choice. Sensors can also be used for automations (i.e. turn on light when door opens).

This plugin has been tested with both Envisalink 3 and Envisalink 4. Envisalink 3 firmware should be upgraded to 1.12.182 or higher.

##Installation Example configuration is below. See config.schema.json for more info, including valid values.

 "platforms": [
    {
      "platform": "Envisalink",
      "host": "192.168.0.XXX",
      "deviceType": "DSC",
      "password": "---envisalink password (default is user)---",
      "pin": "---panel pin for disarming---",
      "suppressZoneAccessories": false,
      "suppressClockReset": false,
      "ambulancePanic": {
          "enabled": true,
          "name": "Ambulance Panic"
      },
      "firePanic": {
          "enabled": true,
          "name": "Fire Panic"
      },
      "policePanic": {
          "enabled": true,
          "name": "Police Panic"
      },
      "partitions": [
        {
          "name": "Alarm",
          "enableChimeSwitch": true,
          "pin": "1243"
        }
      ],
      "zones": [
        {
          "name": "Front Door",
          "type": "door",
          "partition": 1
        },
        {
          "name": "Master Bedroom Door",
          "type": "door",
          "partition": 1
        },
        {
          "name": "Downstairs Windows",
          "type": "window",
          "partition": 1
        },
        {
          "name": "Basement Leak",
          "type": "leak",
          "partition": 1
        },
        {
          "name": "Upstairs Smoke",
          "type": "smoke",
          "partition": 1
        },
        {
          "name": "Living Room Motion",
          "type": "motion",
          "partition": 1
        }
      ],
      "customCommands": [
        {
          "name": "System Test",
          "command": "071*600004"
        }
      ]
    }
  ]

Password

The password field is the password you use to login to the Envislink locally. In order the find/change this password, access the IP address of your Envisalink in a browser. The password that you use to login is the password that should be used here. Default is 'user' but should be changed in settings for security.

Home vs. Night

DSC does not distinguish between these 2 arm modes that are provided in HomeKit. The behavior of the plugin (as of 1.1.0) is as follows:

  • Home: Arm to stay with entry delay.
  • Night: Arm to stay with no entry delay (if any door is opened, alarm will immediately sound)

Advanced Config

Disabling Clock Reset

This plugin will update the date/time of your alarm system hourly unless you set "suppressClockReset" to true in the config.

Non-Consecutive Zones

If your system has unused zones, simply include a zoneNumber integer property on each zone you have in the config. Make sure you put the property on each zone.

Ex:

...
"zones": [
  {
    "name": "Front Entry",
    "type": "door",
    "partition": 1,
    "zoneNumber": 1
  },
  {
    "name": "Patio Door",
    "type": "door",
    "partition": 1,
    "zoneNumber": 2
  },
  {
    "name": "Garage Door",
    "type": "door",
    "partition": 1,
    "zoneNumber": 5
  }
]
...

Custom Commands

See documentation in "docs" folder for crafting a custom command. Examples above are real DSC commands. Checksum will the added automatically. Do not suffix with checksum.

Note: I have only tested with DSC panels. This should work with Honeywell devices since the Envisalink API is the same, but this has not been tested.

PINs

By default, all partitions use the same top level PIN. You can override this PIN at the partition level config.

Debugging

Connectivity issues may manifest themselves in different ways. There are generally several common issues in connecting to your Envisalink device:

Connectivity Issues

  • Multiple clients connecting to Envisalink - Only one socket connection is supported at a time. This is an Envisalink limitation. Disconnect any other devices, and restart Homebridge. If you need other devices connected, use the proxy feature provided by this plugin.
  • Connectivity flakiness - Ideally, both your Envisalink and your Homebridge should be on wired connections.
  • IP Address Changes - Your Envisalink should have a static or DHCP reserved private IP address within your home network.
  • Password Issues - Your configured password is incorrect.

To troubleshoot, set enableVerboseLogging config to true. This should reveal actual error messages.

Credits

This plugin leverages Node Alarm Proxy in order to HomeKit/HomeBridge enable the Envisalink device.