Git Product home page Git Product logo

smartthings's Introduction

SmartThings Donate

Repository for all things related to SmartThings.

  • SmartThing Node Proxy
    • Envisalink Vista TPI Plugin
    • AlarmDecoder AD2USB Plugin
    • Russound RNET Plugin
    • Monoprice 6-Zone Amplifier Plugin
  • SmartThings SmartApps
    • Honeywell Security
    • Russound RNET
    • Monoprice MPR6Z
    • Blink Home Monitoring
    • Yamaha Network Receiver

SmartThings Node Proxy

Node JS proxy service for connecting SmartThings apps and devices via local LAN to anything. Built the service as I needed to connect to a Russound multi-zone controller/amplifier via RS-232 and this seemed the easiest. Extended the service to connect to a Honeywell Ademco alarm system via Envisalink TPI all on local LAN. The service accepts inbound HTTP calls from your SmartThings apps and devices and is setup to support HTTP NOTIFY callbacks to SmartThings. This allows you to connect apps and devices to things asynchronously and not require refresh or polling from SmartThings to obtain status. This also allows you to setup local LAN communication between devices and forego the SmartThings cloud service for callbacks using OAUTH. Plugin support is available, allowing you to extend the functionality of the service.

Config

config.json
{
  "port": 8080,                   // REQUIRED: SmartThings Node Proxy service port
  "authCode": "secret-key"        // REQUIRED: Auth code used to gain access to SmartThings Node Proxy
  "notify": {
    "address": "192.168.2.31",    // OPTIONAL (will be set automatically): See /subscribe route below
    "port": "39500"               // OPTIONAL (will be set automatically): See /subscribe route below
  }
}

Installation

  1. Install Node
  2. Download smartthings-nodeproxy to local folder
  3. Download and install all package dependencies:
cd ~/smartthings-nodeproxy
npm install
  1. Rename config.json.sample to config.json
  • Set port
  • Set authCode
  1. Create folder ~/smartthings-nodeproxy/plugins
  2. Copy desired plugins in to plugins folder
  3. Download and install plugin dependencies:
npm run install:<plugin>
  1. Start the server:
npm run start
  1. Open a browser and test access:
http://<proxy-ip>:<port>

Usage

Routes

/

Default root which can be used to test if the service is up and running.

/subscribe/<host:port>

Called by the SmartThings app/device to set the callback/notify host address and port. This will usually be set to the SmartThings Hub IP and port. The notify host address and port will be saved to the config file.

Plugins

All plugins located in the ./plugins folder will be automatically loaded by the SmartThings Node Proxy.

  • To include a plugin, place it in the ./plugins folder.
  • To exclude a plugin, remove it from the ./plugins folder.

Configuration data for the plugins is also stored in the config.json configuration file.

Callback / Notifications

A plugin can post data to the SmartThings Hub asynchronously via an HTTP NOTIFY. The notify() method is exposed to a plugin by the SmartThings Node Proxy, to be used for this purpose. The plugin can call the notify() method to post data back to the SmartThings Hub whenever an update or change of state is required. It is the responsibility of the corresponding SmartThings app/device to process the notification.

Generic Plugin

SmartThings Node Proxy sample plugin with corresponding SmartThings SmartApp and DeviceType. The Generic plugin was built to demonstrate how the system interacts with SmartThings and also provide a template for building new plugins, SmartApps and DeviceTypes that leverage the power of the SmartThings Node Proxy. The plugin itself, the SmartApp and DeviceType are considered barebones, with minimum functionality so highlight how the the pieces tie together. The plugin provides the following functionality, showing how the system integrates with SmartThings;

  1. Generic Plugin will listen at http://stnp_ip_address:port/plugins/generic/ AND echo back the message
  2. Generic SmartApp will route inbound messages to Generic Device AND route outbound messages to SmartThings Node Proxy
  3. Generic Device will submit a message to Generic SmartApp (parent app) to send to STNP AND update the tiles with any message received and flip the on/off switch

Envisalink Vista TPI Plugin / AlarmDecoder AD2USB

SmartThings Node Proxy plugin to connect over local lan to a Honeywell / Ademco Vista 20p alarm panel.

Supports the following zone types (Correct syntax to use in config.json is in quotes):

  • Door, Window Contact ("contact")
  • Motion Sensor ("motion")
  • Smoke Detector ("smoke")
  • Carbon Monoxide Detector ("carbonMonoxide") (Smart Home Monitor will only see it as a Smoke Detector)
  • Water Leak Detector ("water")

Supports the following actions:

  • Arm Away
  • Arm Stay
  • Arm Instant
  • Disarm
  • Chime
  • Zone Bypass

Config

config.json
{
  "envisalink": {
    "address": "192.168.1.11",    // OPTIONAL (can be set via SmartApp): Address of Envisalink Vista TPI module
    "port": "4025",               // OPTIONAL (can be set via SmartApp): Envisalink port - default is 4025
    "password": "user",           // OPTIONAL (can be set via SmartApp): Envisalink password - default is user
    "securityCode": "1234",       // OPTIONAL (can be set via SmartApp): Security code to arm/disarm the panel

    "panelConfig": {              // REQUIRED: Set this to define partitions and zones
      "type": "discover",
      "partitions": [
        {"partition": 1, "name": "Security Panel"}
      ],
      "zones": [
        {"zone": 1, "type": "smoke", "name": "Smoke Detector"},
        {"zone": 2, "type": "contact", "name": "Front Door"},
        {"zone": 3, "type": "contact", "name": "Back Door"},
        {"zone": 4, "type": "contact", "name": "Kitchen Door"},
        {"zone": 5, "type": "contact", "name": "Kitchen Window"}
      ]
    }
  }

  "ad2usb": {
    "serialPort": "COM2",         // RS-232 port connected to AD2USB
    "securityCode": "1234",       // OPTIONAL (can be set via SmartApp): Security code to arm/disarm the panel

    "panelConfig": {              // REQUIRED: Set this to define partitions and zones
      "type": "discover",
      "partitions": [
        {"partition": 1, "name": "Security Panel"}
      ],
      "zones": [
        {"zone": 1, "type": "smoke", "name": "Smoke Detector"},
        {"zone": 2, "type": "contact", "name": "Front Door"},
        {"zone": 3, "type": "contact", "name": "Back Door"},
        {"zone": 4, "type": "contact", "name": "Kitchen Door"},
        {"zone": 5, "type": "contact", "name": "Kitchen Window"}
      ]
    }
  }
}

Installation

  1. Verify that Envisalink EVL is correctly configured and functional with EyezOn.
  2. Verify envisalink.js plugin is in ./plugins folder
  3. Edit config.json
  • Remove all comments
  • Set envisalink configuration settings
  1. Restart the SmartThings Node Proxy service using the included script:
./restart.me
  1. Check log files to verify startup and connectivity to the Envisalink Vista TPI module

Russound RNET Plugin

SmartThings Node Proxy plugin to connect over RS-232 to Russound multi-zone controller such as CAA66, CAM66, CAV66, etc.

Supports by default 6 zones and 6 sources. The Russound multi-zone controller must support RNET over RS-232.

Supports the following actions:

  • Zone ON/OFF
  • Source assignment
  • Volume level
  • Bass level
  • Treble level
  • Loudness
  • Balance

Config

config.json
{
  "rnet": {
    "serialPort": "/dev/usbser",  // REQUIRED: RS-232 port connected to Russound controller
    "sources": [                  // REQUIRED: Set this to define sources
      "Sonos",
      "Airplay",
      "Apple TV",
      "Source 4",
      "Source 5",
      "Source 6"
    ],
    "controllerConfig": {         // REQUIRED: Set this to define zones
      "type": "discover",
      "zones": [
        {"zone": 0, "name": "Family Room"},
        {"zone": 1, "name": "Kitchen"},
        {"zone": 2, "name": "Living Room"},
        {"zone": 3, "name": "Patio"},
        {"zone": 4, "name": "Dining Room"},
        {"zone": 5, "name": "Office"}
      ]
    }
  }
}

Installation

  1. Verify rnet.js plugin is in ./plugins folder
  2. Edit config.json
  • Remove all comments
  • Set rnet configuration settings
  1. Restart the SmartThings Node Proxy service using the included script:
./restart.me
  1. Check log files to verify startup and connectivity to the Russound controller. NOTE: if you do not know the name of the USB serial device, check the logs after service startup as the plugin will dump a list of known/detected USB serial devices for you to identify.

Monoprice 6-Zone Amplifier Plugin

SmartThings Node Proxy plugin to connect over RS-232 to Monoprice multi-zone controller such as MPR-SG6Z (10761).

Supports by default 6 zones and 6 sources. Zones are numbered with the controller ID (1) in the 10s position. Might work on stacks with controllers 2 and 3 for up to 18 zones.

Supports the following actions:

  • Zone ON/OFF
  • Source assignment
  • Volume level
  • Bass level
  • Treble level
  • Mute
  • Balance
  • Do Not Disturb

Config

config.json
{
  "mpr6z": {
    "serialPort": "/dev/usbser",  // REQUIRED: RS-232 port connected to Monoprice controller
    "baudRate": 9600,             // REQUIRED: Baud rate supported by controller
    "sources": [                  // REQUIRED: Set this to define sources
      "Sonos",
      "Airplay",
      "Apple TV",
      "Source 4",
      "Source 5",
      "Source 6"
    ],
    "controllerConfig": {         // REQUIRED: Set this to define zones
      "type": "discover",
      "zones": [
        {"zone": 11, "name": "Family Room"},
        {"zone": 12, "name": "Kitchen"},
        {"zone": 13, "name": "Living Room"},
        {"zone": 14, "name": "Patio"},
        {"zone": 15, "name": "Dining Room"},
        {"zone": 16, "name": "Office"}
      ]
    }
  }
}

Installation

  1. Verify mpr-sg6z.js plugin is in ./plugins folder
  2. Edit config.json
  • Remove all comments
  • Set mpr6z configuration settings
  1. Restart the SmartThings Node Proxy service using the included script:
./restart.me
  1. Check log files to verify startup and connectivity to the Monoprice controller. NOTE: if you do not know the name of the USB serial device, check the logs after service startup as the plugin will dump a list of known/detected USB serial devices for you to identify.

SmartThings SmartApps

Honeywell Security

SmartApp and Devices to support full SmartThings integration with the Honeywell / Ademco Vista 20p alarm panel. This will allow you to view status of the zones, view the status of the alarm panel and arm/disarm the panel, as well as integrate with the SmartThings Smart Home Monitor. The SmartApp and Devices communicate with the alarm panel via the SmartThings Node Proxy Envisalink plugin (pictured below). Make sure that you have the SmartThings Node Proxy and Envisalink plugin installed and working before adding the SmartApp and Devices to SmartThings.

SmartThings Hub <-> SmartThings Node Proxy <-> Envisalink plugin <-> Envisalink Vista TPI module <-> Honeywell / Ademco Vista panel

Installation

SmartThings IDE GitHub Integration

If you have not set up the GitHub integration yet or do not know about it, take a look at the SmartThings documentation here. Note that if you do not have a GitHub account or are not familiar with GitHub, the manual method of installation is recommended.

  1. Add a new repository with user redloro, repository smartthings, and branch master. This can be done in either the "My Device Handlers" or "My SmartApps" sections
  2. Go to "My Device Handlers". Click "Update from Repo". Select the "smartthings" repository. You should see the device types in the "New (only in GitHub)" section. Check both boxes next to them. Check the "Publish" checkbox in the bottom right hand corner. Click "Execute Update".
  3. Go to "My SmartApps". Click "Update from Repo". Select the "smartthings" repository. You should see the SmartApp in the "New (only in GitHub)" section. Check both boxes next to them. Check the "Publish" checkbox in the bottom right hand corner. Click "Execute Update".
  4. In your mobile app, tap the "Marketplace" , go to "My Apps" in "SmartApps" tab, set up the "Honeywell Security SmartApp":
  • SmartThings Hub: REQUIRED
  • SmartThings Node Proxy: REQUIRED to connect to the SmartThings Node Proxy
  • Envisalink Vista TPI: OPTIONAL as this can also be set in config.json
  • Security Panel: OPTIONAL as this can also be set in config.json
  • Smart Home Monitor: OPTIONAL integration with SmartThings Smart Home Monitor
  1. Done! Note that all the zones defined in config.json will be loaded 10 seconds after the SmartApp is configured and all the devices should show up under your Things. If the zones/devices do not show up, simply open the SmartApp again and hit done to force a refresh of the zones/devices.

In the future, should you wish to update, simply repeat steps 2 and 3. The only difference is you will see the device types/SmartApp show up in the "Obsolete (updated in GitHub)" column instead.

Manual Installation
  1. Create a new SmartApp and use the code from honeywell-security.groovy
  2. Create the following new Device Handlers:
  1. Add the Honeywell Security SmartApp from the SmartThings marketplace
  2. Configure the SmartApp
  • SmartThings Hub: REQUIRED
  • SmartThings Node Proxy: REQUIRED to connect to the SmartThings Node Proxy
  • Envisalink Vista TPI: OPTIONAL as this can also be set in config.json
  • Security Panel: OPTIONAL as this can also be set in config.json
  • Smart Home Monitor: OPTIONAL integration with SmartThings Smart Home Monitor
  1. Done! Note that all the zones defined in config.json will be loaded 10 seconds after the SmartApp is configured and all the devices should show up under your Things. If the zones/devices do not show up, simply open the SmartApp again and hit done to force a refresh of the zones/devices.

Russound RNET and Monoprice MPR6Z

SmartApp and Devices to support full SmartThings integration with a Russound multi-zone controller. This will allow you to view status of the zones and perform actions against the controller. The SmartApp and Devices communicate with the audio controller via the SmartThings Node Proxy Russound RNET plugin (pictured below). Make sure that you have the SmartThings Node Proxy and Russound RNET plugin installed and working before adding the SmartApp and Devices to SmartThings.

These instructions are nearly identical for integrating the Monoprice device.

SmartThings Hub <-> SmartThings Node Proxy <-> Russound RNET plugin <-> Russound multi-zone controller

Installation

  1. Create a new SmartApp and use the code from russound-rnet.groovy or monoprice-sg6z.groovy
  2. Create a new Device Handler and use the code from russound-zone.groovy or mpr6z-zone.groovy
  3. Add the Russound RNET (Monoprice) SmartApp from the SmartThings marketplace
  4. Configure the SmartApp
  • SmartThings Hub: REQUIRED
  • SmartThings Node Proxy: REQUIRED to connect to the SmarThings Node Proxy
  1. Done! Note that all the zones defined in config.json will be loaded 10 seconds after the SmartApp is configured and all the devices should show up under your Things. If the zones/devices do not show up, simply open the SmartApp again and hit done to force a refresh of the zones/devices.

Blink Home Monitoring

SmartApp and Devices to support basic SmartThings integration with a Blink Monitoring System. This will allow you to view status of the monitoring system and arm/disarm the system, as well as integrate with the SmartThings Smart Home Monitor

Installation

  1. Create a new SmartApp and use the code from blink-home-monitoring.groovy
  2. Create a new Device Handler and use the code from blink-monitor.groovy
  3. Add the Blink Home Monitoring SmartApp from the SmartThings marketplace
  4. Configure the SmartApp
  • SmartThings Hub: REQUIRED
  • Blink Credentials: REQUIRED to connect to the Blink monitoring system
  • Smart Home Monitor: OPTIONAL integration with SmartThings Smart Home Monitor
  1. Done!

Yamaha Network Receiver

SmartApp and Device to support basic SmartThings integration with a Yamaha Network Receiver and natively support multi-zone control. This will allow you to view the status of each zone and the following actions:

  • Zone Status (on/off)
  • Zone Source
  • Zone Volume Control
  • Zone Mute (on/off)
  • Zone Party Mode (on/off)

Installation

  1. Create a new SmartApp and use the code from yamaha-receiver.groovy
  2. Create a new Device Handler and use the code from yamaha-zone.groovy
  3. Add the Yamaha Network Receiver SmartApp from the SmartThings marketplace
  4. Configure the SmartApp
  • SmartThings Hub: REQUIRED
  • Yamaha Receiver IP: REQUIRED to connect to the Yamaha Network Receiver
  • Yamaha Receiver Zones: REQUIRED zones that your Yamaha Network Receiver is capable of supporting
  1. Done!

smartthings's People

Contributors

abramsd avatar bartschlabs avatar davinmien avatar its2loud1 avatar kevinreedy avatar redloro avatar steinauf85 avatar tcjennings avatar thebillness avatar wingrunr21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smartthings's Issues

Missing License

Recent commit removed the LICENSE file. It would be comforting to see it return.

Multiple Partitions

I am having issues with a Vista 20p with 2 partitions.
The Smartthings SmartApp integration only shows a single Arm, Disarm and Arm Stay and when I click on Right now it does not show any of the zones. When I click Arm it does send a arm command that works for Partition 1. I may be doing something wrong, I appreciate any help you can provide.

Here is my config.json
{
"port": 8080,
"authCode": "secret-key",
"envisalink": {
"address": "192.168.2.207",
"port": "4025",
"password": "xxxx",
"securityCode": "xxxx",
"dumpZoneTimer": "0",
"panelConfig": {
"type": "discover",
"partitions": [
{
"partition": 1,
"name": "Main House"
},
{
"partition": 2,
"name": "Garage"
}
],
"zones": [
{
"zone": 1,
"partition": 1,
"type": "smoke",
"name": "Smoke Detector"
},
{
"zone": 2,
"partition": 1,
"type": "contact",
"name": "Front Door"
},
{
"zone": 3,
"partition": 1,
"type": "contact",
"name": "Back Door"
},
{
"zone": 4,
"partition": 1,
"type": "contact",
"name": "Kitchen Door"
},
{
"zone": 5,
"partition": 1,
"type": "contact",
"name": "Kitchen Window"
}
]
}
},
"notify": {
"address": "192.168.2.18",
"port": "39500"
}
}

No child devices are scanning in

Hello,

I've gone through all the steps. have a vista 20p and installed correctly, it's communicating with ezeyone. Zones are appearing.

The Json i've updated and it's connecting and throwing messages correctly.

Smarthings though is not scanning and added the child devices. I've deleted the app and readded it a few times. I've gone back into the app and updated the passwords,auth & user code, but still nothing is appearing in the app. I would have asked via community forum but can't reply to the main thread there. Is there something I'm missing?

1:17:58 PM: debug getChildDevices(true), children=0
1:11:59 PM: info Running discovery in 2 seconds
1:10:43 PM: info Running discovery in 2 seconds
1:10:42 PM: info Running discovery in 2 seconds

I"m getting this in error:

PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.String#.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class [B]
[class [C]
[class java.lang.String] @line 384 (getHttpHeaders)

Yamaha input

Regarding the Yamaha RXV part and choosing the Input. It should be possible to change input using ActionTiles also. I believe you need to configure api within this app to be able to do this..

"npm install" fails on Raspberry Pi 3 - appears to be the pcap dependency

The recently added pcap dependency breaks "npm install" for me on the Raspberry Pi 3. This is on a completely clean install of the latest Raspbian, following the steps in your video to install node v6.10.2.

If I remove the pcap dependency from packages.json, then npm install works for me and everything seems to work.

It looks like it is an issue with the "socketwatcher" package that pcap depends on.

Any ideas?

npm-install-error.txt

Issues w/new Smarthings Mobile App?

Had to upgrade the mobile app from classic as i purchased a camera. now i can't use this SmartApp anymore. reset the device and connections. anyone else have the same experience and/or ideas?

image

Honeywell Security Device not accessible in modern app

Honeywell Security Device is perfectly controllable in classic app, all functions work and history is shown. In modern app, the device is found but does not work. The only options are alarm type which shows disconnected and a standby button which does not do anything no history is shown, any guidance to updated device for modern app would be appreciated.

Yamaha volume issue

Regarding the Yamaha RXV devices.
When using ActionTiles it displays for volume 0 to 100% , which is sent to yamaha reciever.
But it supports only from -80 up to 0.
so conversion to negative / decibels should be done within the app

Generic Plugin

Thanks for putting this together and publishing it. Working with Smartthings on a local network can be a pain with the IP/MAC address issues.

Is there any chance you can provide a template for a generic device? I don't have any of the devices you have listed, but I do have some ESP8266's I'd love to be able to interface into smartthings.

Thanks!

Cannot get property 'smartAppVersionDTO' on null object

Getting the following error from the subscribe method from the Generic SmartApp example.

java.lang.NullPointerException: Cannot get property 'smartAppVersionDTO' on null object

It has something to do with the "null" param in there. I'm still wrapping my head around groovy and ST's documentation. Any help is appreciated.

Hub not responding to HTTP Notify

I've had a couple of plugins working with STNP for quite a while--the dash button and a presence listener that I wrote myself based on the dash button plugin.

But recently the Smartthings hub has stopped responding to the HTTP Notify method. I haven't changed any of the code. I have done the standard updates on the raspberry pi running the node.js server. The plugins still function properly, but the lanResponseHandler never fires.

The updated event appears to fire, but not lanResponseHandler. Let me know if there's something I should check.

Serial Module Install Failing

I'm trying to install the mpr-sg6z plugin and it keeps failing during the SerialPort module install. Looks like the download links in there are 404. Is there a way to fix please?

Question- looking for a 'Notify' path

In the server file (smartthings-node-proxy) it appears that the main server is sending data to a '/notify' path when a plugin is registered. But when looking at the available plugins folder and looking at the express apps that are setup up for each plugin I don't see any '/notify' paths.

From what I can reason the notify function in the main node-proxy is writing a stream of data to a plugin server (defined in opts to req) but none of the available servers (envisalink for instance) have the path.

My question is where is the express app that has a notify path located?

warn No event handler found for mode event ‘Disarmed’

I set up a new server and it was working with the Honeywell security plug in both on my old machine and for a few days on my new one (after fixing firewall rules), but now I’m not able to arm/disarm from smartthings. I am getting zone changes in smartthings. I tried turning firewall off and no difference. in the smartthings IDE, I see “warn No event handler found for mode event ‘Disarmed’” and same thing when arming. What would cause this?

Envisalink Connection Error: Undefined

Hi Redloro, I'm trying to integrate a newly purchased EVL-4EZ to Smartthings. I liked the elegance of your solution vs AlarmServer so I thought I'd give it a go. Anyway, everything was going smoothly until I fire up the Node Proxy as shown in the attached graphic.

Seems like its a parameter problem with the config.json but I assure you it isn't. I've checked the following:

  1. I can logon to the Envisalink on the local LAN
  2. I can ARM\DISARM via Envisalink
  3. I can point a browser to the SmartThings proxy port and get a response.
  4. An IP Scanner reports port 4025 to be open on the Envisalink.
  5. Windows Firewall does not block any ports or hosts for the Node software.
  6. Config.json has been Beautified and is clean.

I'm testing this on Windows 10 but will move it to a Pi once I know it works.

So my questions are:

  1. Is there anyway to do a verbose logging that might yield a clue.
  2. Any suggestions on what I might have overlooked?

It's probably irrelevant but the The Honeywell system is a Vista 15 and Smartthings Hub is V3 using WiFi.

Cheers.

image

Vista panel don’t see zones past 6.

I have hard wired zones 1 they 6. And wireless devices 9 thru 15. The wireless devices don’t show up but they do come up showing they are faulted. Any thoughts on what is missing? It’s all showing on Envisalink site.

Any chance we could notify more than one IP? Also, Hubitat support

Hi, I am in the progress of moving from SmartThings to Hubitat and was curious if you could have more than one notify ip/port for the nodeproxy notifying option? I tried it in the config and it didn't work. My use case is to send to both SmartThings and Hubitat. Also, here are my changes to make your SmartThings drivers/app work on Hubitat. Thanks again for the work on the nodeproxy server. It has been rock solid for years! https://github.com/bdwilson/hubitat/tree/master/Honeywell

Zone Tracking needed

Just got a request for support here regarding this plugin wanted to offer some support from our team. We noticed that our Python API is not being used and as such the driver is missing a few things that should be easy to implement. We hope to someday see a fully supported Node API to complement the Python API we have now. If you know of any developers with alarms willing to contribute I have some AD2USB samples available for such a project.

Zone tracking is needed to detect zones when the AD2* is in Ademco mode. In DSC mode (beta firmware) all zones are expressed as EXP messages so all zone states can be tracked. In Ademco mode the first 8 zones are only accessible by sending a "*" to the panel when a fault is detected and requesting a list of faulted zones. The zones are also expressed in a predictable pattern to allow for detection of Restored zones prior to receiving the entire zone list. Our Python API has this code clearly documented if you wish to review it or this commit I did that I believe is a solid implementation of the algorithm.

On a side note I am releasing our latest firmware soon that will fully support CONTACT ID messages from both Ademco and DSC panels including USER activity that is compliant with current consumer and in some cases commercial monitoring.

Best
Sean M.

openhab/openhab1-addons#4300

multi bypass honeywell

Hello,

the multi bypass on honeywell envisalink is not working, I used the comma deliminator, but only the first zone gets bypassed

thanks!

Update installation instructions

Step 4 of installation instructions say, "Edit config.json" and "Remove all comments", however, config.json was renamed to config.json.sample with no lines commented. Instructions should be updated to reflect changes.

Question: I did a clean windows install, now commands to Honeywell from SmartThings fail

I upgraded my machine from windows 10 pro with windows Server essentials 2016 - same machine, same MAC and IP address. I copied my config.json (actually whole smartthings directory), then copied back and did the npm install and plug-in install. When I run nodeproxy, I see events form honeywell on the proxy machine. I also see events form individual zones in smartthings. BUT, I cant arm or disarm from smartthings.

Does changing servers (without changing IP address, require changing anything in the smartthings app? I did see a "no event handler" message in the IDE.

I also saw "[2019-01-28T12:04:24.003Z] [stnp] Authentication error" on the proxy, but not each time I try to arm. If followed "[2019-01-28T12:04:23.994Z] [stnp] ::ffff:192.168.0.51 GET /favicon.ico"

Any idea what is going on? I get {"status":"SmartThings Node Proxy running"} when I http to the address from a browser.

Smartthings does not show devices (zones)

I have configured Envisalink 4 vith Vista 20p and able to see zoned output in putty, I configured node server with proper config.json (I think) (using node version v10.20.1) and installed smartapp. When I run the app I see server output as:

[2020-05-14T05:44:32.278Z] [stnp] SmartThings Node Proxy listening at http://:::8080
[2020-05-14T05:44:32.305Z] [stnp] Loaded plugin: envisalink
[2020-05-14T05:44:32.311Z] [evl3] Connected to Envisalink at 192.168.1.8:4025
[2020-05-14T05:44:37.417Z] [evl3] {"type":"partition","partition":1,"state":"ready","alpha":"DISARMED Ready to Arm"}
[2020-05-14T05:44:39.007Z] [stnp] ::ffff:192.168.1.34 GET /subscribe/192.168.1.34:39500
[2020-05-14T05:44:39.065Z] [stnp] ::ffff:192.168.1.34 GET /plugins/envisalink/config/192.168.1.8:4025::
[2020-05-14T05:44:43.322Z] [stnp] ::ffff:192.168.1.34 GET /plugins/envisalink/discover
[2020-05-14T05:44:43.330Z] [evl3] Completed panel discovery

but no devices (zones) are added to smartthings app.

Any help is greatly appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.