I have a couple of carbon monoxide detectors as part of my Honeywell alarm system. Have you tried writing a device handler for those? If not, do you take pull requests?
Some Honeywell devices also support tamper and low-temperature faults. (I think my smoke detectors do both…) Is that something that could be handled with the device handler? (I’m assuming it could since those are listed as “capabilities” in the smartthings API docs) I believe tamer and low-temp are actually programmed as separate zones into the panel, but I don’t remember for sure.
Many options depending on your host OS… I just use forever to run it as a background process but that works for me cause the machine never goes down. If you want to make sure it comes back if the RPi reboots, check the following out:
Follow the second tutorial… they do exactly what you want on the RPi2.
Once you get it running as a service, you won’t see STNP running in the terminal console… in Putty you’ll see the command prompt and be able to exit and just close the window.
My issue is I’m confused about how to note where my node.js is installed. The server.js file is located at Download/smartthings-nodeproxy/.
The instructions however say to “note the 4th line (export NODE_PATH=$NODE_PATH:_/usr/local/lib/node_modules) where my particular Node.js installation is specified”.
Forgive my ignorance but I do not know where my node.js installed and so can’t note this location at line 4.
Furthermore, do I also change the /usr/local/bin/server path to reflect where is my node.js installed? I followed the instructions and so all the files are in the same places as yours redloro.
Is there anyway to use the smoke detectors with SHM? It seems it just sees the Alarmdecoder smartapp and not the actual detectors. Also for some reason alarm decoder shows the smoke detectors/CO as contact switches which I suspect is what is causing the problem with SHM. Just wondering if anyone has a solution for this, I do not use a monitoring service so I need to be notified if there is a potential fire. I bought the AD2Pi specifically for self monitoring and integration with Smartthings.
Edit: I just found this post, looks like they are working on it.
On a separate note for some reason when I enabled Armed Away, SHM switches to Armed Home. It will not stay on Armed Away mode. Not sure why this is happening, anyone else notice this issue.
Edit2: Figured out the arming issue, needed to change “auto stay” to off, cause it was changing arm mode to stay if a door was not opened after arming.
Assume you are using the AlarmDecoder SmartApp with AlarmServer and not this integration? The STNP integration for AlarmDecoder has support for all sensors including smoke detectors.
Yes, I did go through the instructions on the github page for setting up ST and connecting it to the AD2Pi. When I select smoke detectors in ST, it just shows “AlarmDecode,” not the actual CO/Smoke detectors/zones. Now maybe I am wrong but it seems since in the STHM I just selected the “AlarmDecoder” device, and not the actual zone, that it would trigger this for any zone connected to this device. If this was the case then I would not know if the alarm was trigger because of a fire or a security issue. I hope this makes sense, unless I have this all wrong.
Ok… you should post in that thread… this thread is for another integration option for SmartThings w/Honeywell or Ademco panels through either the Envisalink or AlarmDecoder modules. It includes it’s own SmartApps, Device Handlers, etc and does support the smoke sensor.
Well, it was definitely my node proxy. I decided to just backup my config, npm uninstall it, delete the folder, re-download, restore config, re-install. Side note, PM2 is the greatest utility for auto-running node.js apps. Is so easy to use, and works 100% of the time.
Everything looks like it is working now.
Question though - if/when you update the smartapp or the device handlers and then republish them, do you need to do anything in the ST app after that? Or are you good to go after you update/re-publish?
Usually good to go after the update/re-publish unless there were major changes and I try to a) not push those and b) provide an update in the first post of this thread.