Being a bit of a newb on more modern programming languages (Java, XML etc.) could someone clarify or fill in the blanks for the install docs (https://github.com/oehokie/SmartDSC) on the NodeJS DSC alarm implementation?
Lines like “Then see NAP-Demo (may need some tweaking). npm install works, otherwise just reference the code” elude me as this is Linux lingo and I’m in the dreaded Windows environment. Googled NodeJS and downloaded and installed this code but not sure how it fits onto the overall installation or how “just referencing the code” will get me in business.
i’m working with a couple developers here on this site to put together documentation for the best implementation of the dsc alarm and smartthings.
i want the ability to view zones, and arm/disarm. once i get it working (some say they have it working) i’ll post some documentation for it.
i too have gone through what you are, and its rather annoying these isn’t just one location to find information on how to add your devices. we almost need a wiki.
Thanks a lot. Glad someone is taking the bull by the horns. I looked at the easier method @sanity but I want to arm/disarm. I was scratching my head on the NodeJS thing, wasn’t sure if I installed that from the .org site and then still needed to make Alarm Server work as well and whether they had to talk to each other.
yeah most of the docs are assuming you know Python/Node and Groovy/Smartthings, lots of Unix/Linux experience is also assumed. I don’t have a Windows machine to test on and make decent docs for either so I can only guess.
I mentioned it before but I need to do a complete rewrite of the backend stuff to support UPNP which would make all this alot easier and would allow for a more secure way to arm/disarm.
Just like Alex and his awesome interface there is the potential for a PayPal button if you find the time. I know I’m certainly willing to compensate both of you for your volunteer efforts
i think if i can get the url’s of my devices, then alarmserver can directly tell my contact sensors if they are opened or closed. i have no idea how to deal with the php code because when i click it, its blank. i try to run from a test server, and it just brings up my ST login screen, doesn’t seem like its the correct php code. @sanity
ethomasii config.cfg uses the following lines to do a callback to the ST device you create. So you can just use generic contact sensors, and create oauth and have alarmserver tell it that its open/closed based on the url.
Zone Open - when a zone is “open” ie, motion sensed or door open.
As @sanity mentioned, you can follow his steps to get the URL. At the very end, you will see the example URL you need to use, and it is a “smartapp” URL. This does not mean you actually need a smartapp to control the devices.
And I really am not sure what you are talking about, not being able to monitor zones. Every single door/motion sensor i have on my DSC alarm is integrated into my smartthings. I have 6 zones (2 motion/4 doors) plus arm/disarm/stay and I also monitor the siren. I just do not utilize a central smartapp to control them… my great room motion detector connected to my DSC alarm shows up as a motion sensor in SmartThings and i can do anything I want to with it that I would do with a native SmartThings motion sensor.
ok that is very helpful there @ethomasii. i have my arm/disarm working with calls to/from but i do have a smartapp. can you post your smartapp also, since it will contain the device information to pass control, and maybe a contact sensor for me?
i’ved tried a few generic contact sensors but cannot make them respond to open/closed in the url. id love to see what your smartapp looks like and the contact/motion sensors. sorry i’m needing so much help but there is a steep learning curve for me since i’m not a coder
oh also, i noticed your config says use arm/disarm and stay/disarm however arm was an invalid command, i believe your device-type used alarm instead of arm. i renamed all of them to away and stay, and disarm and disarm2. maybe i have some outdated code from your github.
java.lang.IllegalArgumentException: Command ‘open’ is not supported. Supported commands: [] @ line 144
BTW, the Siren is one way only… I do not enable turning it on/off. Smartthings is just notified whenever the siren goes off. It has a special 3 digit code for that in the code, so when it sounds, it is triggered in alarmserver and then smartthings is notified of it.
I use the siren to send me a push notification when it is going off… that way I am ensured I will be alerted if it is going off