Hi All,
I just installed this app and NAP server, but had some setup issues that I wanted to share. Thanks so much to oehokie for help in ironing out the issues.
For DSC Alarm Panel Smart App:
There is a problem with the SmartThings oauth RESTAPI procedure that is prevent devices from being displayed. In order to correct it you need to temporarily disable the Page statements in the Smart App. There is also an issue with the def installed() and def update() that prevents authorization in the oauth RESTAPI procedure which requires commenting out all the subscribe/unsubscribe (and getURL) commands in both. After you go through the RESTAPI procedure you can uncomment both Page statements and the subscribe/unsubscribe (and getURL) statements.
SmartThings DSC Alarm Thing Device App setup:
IP address = NAP server ip address
IP port = 8086 // this is hard coded in app.js file in the NAP-Demo files
Password = STPass // this is also set in the config.js file, they must be the same
Also important to note:
app.js change “zone:” to number of zones on DSC alarm.
Hi All, I just installed this app and NAP server, but had some setup issues that I wanted to share. Thanks so much to oehokie for help in ironing out the issues.
For DSC Alarm Panel Smart App: There is a problem with the SmartThings oauth RESTAPI procedure that is prevent devices from being displayed. In order to correct it you need to temporarily disable the Page statements in the Smart App. There is also an issue with the def installed() and def update() that prevents authorization in the oauth RESTAPI procedure which requires commenting out all the subscribe/unsubscribe (and getURL) commands in both. After you go through the RESTAPI procedure you can uncomment both Page statements and the subscribe/unsubscribe (and getURL) statements.
SmartThings DSC Alarm Thing Device App setup: IP address = NAP server ip address IP port = 8086 // this is hard coded in app.js file in the NAP-Demo files Password = STPass // this is also set in the config.js file, they must be the same
Also important to note: app.js change “zone:” to number of zones on DSC alarm.