[OBSOLETE] DSC -> EVL-3(4) -> Alarmserver -> Smartthings

I have updated my alarm code if that’s what you’re referring to. if not, what do you mean?

Your app is showing everything but you can’t control the arm/disarm function?

Exactly. Can’t control any functions

I’m sure you double checked the IP is correct from router and port is 8111. My problem was mistyped IP.

Correct. Should the alarm panels and other devices show the smart app?

Show the devices as linked to a smart app?

Yes all the devices should be listed on the smart app.

can’t get this to work:

https://graph.api.smartthings.com/api/smartapps/installations/

I tried very browser and curl gives me:

4] 16782
[5] 16783
[6] 16784
[3] Done curl https://graph.api.smartthings.com/oauth/authorize?response_type=code
[5] Done redirect_uri=http://localhost
[6]- Done scope=app

Browser is just localhost not found I have tried my server IP as well, any ideas?

So if they’re generating but not linked what am I missing?

Callbackurl base should be https://graph-na02-useast1.api.smartthings.com/api/smartapps/installations

callbackurl_base=https://graph-na02-useast1.api.smartthings.com/api/smartapps/installations

Hi everyone, finally making progress here (the install instructions are so bad). I got Alarmserver on my rPI and I installed the smart app and device handlers. When I run it, it does create all the devices in ST finally but having some issues. First the log below, what does that mean? Second, all the devices are created in the ST app but they are all wrong, like it shows the doors permanently as being open, and the alarm being in alarm. It made DSC Alarm Away 1 and Alarm Stay 1. If I go in the Stay one I’m able to arm stay, and disarm once or twice then it stops working. Away never works, any ideas?

pi@alarmserver:~/DSCAlarm-master/alarmserver $ python alarmserver.py
Using configuration file alarmserver.cfg
2017-03-18 18:02:00 Alarm Server Starting
2017-03-18 18:02:00 Currently Supporting Envisalink 2DS/3 only
2017-03-18 18:02:00 Tested on a DSC-1616 + EVL-3
2017-03-18 18:02:00 and on a DSC-1832 + EVL-2DS
2017-03-18 18:02:00 and on a DSC-1864 v4.6 + EVL-3
2017-03-18 18:02:00 myURL: https://graph-na02-useast1.api.smartthings.com/api/smartapps/installations/197c7xxxxx59f6bcae9/installzones?access_token=exxxxxxxxxxxxxx
2017-03-18 18:02:00 myURL: https://graph-na02-useast1.api.smartthings.com/api/smartapps/installations/197c7x76f-3e859f6bcae9/installpartitions?access_token=e898xb8a04530ee5x
2017-03-18 18:02:01 Connected to 192.168.86.39:4025
2017-03-18 18:02:01 RX < 505 - 3 - Login Interaction
2017-03-18 18:02:01 TX > 005user54
2017-03-18 18:02:01 RX < 500 - 005 - Command Acknowledge
2017-03-18 18:02:01 RX < 505 - 1 - Login Interaction
2017-03-18 18:02:01 TX > 00191
2017-03-18 18:02:03 TX > 0711*1#47
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 50000126
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61000128
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61000229
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100032A
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100042B
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100052C
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100062D
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100072E
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100082F
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61000930
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61001028
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61001129
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100122A
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100132B
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100142C
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100152D
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100162E
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100172F
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 61001830
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 61001931

2017-03-18 18:07:13 Unsupported input! This could be a bug. Input was:14:07:01 50201830
2017-03-18 18:07:16 Incoming web connection from (‘192.168.86.224’, 37933)
2017-03-18 18:07:16 Web request: GET /api/alarm/stayarm
2017-03-18 18:07:16 TX > 0311C5
2017-03-18 18:07:17 Unsupported input! This could be a bug. Input was:14:07:05 50201830
2017-03-18 18:07:22 Incoming web connection from (‘192.168.86.224’, 37934)
2017-03-18 18:07:22 Web request: GET /api/alarm/stayarm
2017-03-18 18:07:22 TX > 0311C5
2017-03-18 18:07:23 Unsupported input! This could be a bug. Input was:14:07:11 50201830
2017-03-18 18:07:24 Incoming web connection from (‘192.168.86.224’, 37935)
2017-03-18 18:07:24 Web request: GET /api/alarm/disarm
2017-03-18 18:07:24 TX > 040135118F

From my basic knowledge of what mine looks like and based on what you said, it seems like it’s trying to restore the zones in:
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 50000126
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61000128
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61000229
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100032A
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100042B
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100052C
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100062D
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100072E
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100082F
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61000930
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61001028
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 61001129
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:49 6100122A
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100132B
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100142C
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100152D
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100162E
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 6100172F
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 61001830
2017-03-18 18:02:03 Unsupported input! This could be a bug. Input was:14:02:50 61001931

But it is failing. Where did you find the smartapp ID when you set it up?

From the instructions in the guide doing all the oauth stuff. I did that did that thing to find the label of the smart app and got (removing the values):

“id”: “1”,
“label”: “DSC Integration”,
“smartAppVersion”: {
“id”: “2”,

The instructions clearly say “Search for DSC label, and there will be an id field ABOVE it and use that” but it doesn’t work. If I use the id field UNDER smartappversion the “2” above, then it populates all the devices into the smart app from the alarmserver config file. However doesn’t matter if I put anything in these values, it always gives the unsupported error.

Also I only have 1 zone configured at the moment.

Haha. Yeah the instructions are wrong. I think @Nathan_Frank and I will be updating them (however i’m still not fully functioning so it’s hard to do…)

You need to do this:

  1. Open smartthings IDE
  2. My locations
  3. Select the home location
  4. List smart apps
  5. Click on the name of your app (mine is DSC Integration)
  6. The last line at the bottom of the page is your true App ID that works.

Thanks, same problem unfortunately, I could write 12345 in the app ID all I get is those errors below. I give up, but thanks for your help!

2017-03-18 18:44:59 Unsupported input! This could be a bug. Input was:14:45:47 61006431
2017-03-18 18:44:59 Unsupported input! This could be a bug. Input was:14:45:47 51108FF
2017-03-18 18:44:59 Unsupported input! This could be a bug. Input was:14:45:47 6732D2
2017-03-18 18:44:59 Unsupported input! This could be a bug. Input was:14:45:47 6733D3
2017-03-18 18:44:59 Unsupported input! This could be a bug. Input was:14:45:47 6734D4
2017-03-18 18:44:59 Unsupported input! This could be a bug. Input was:14:45:47 6735D5
2017-03-18 18:44:59 Unsupported input! This could be a bug. Input was:14:45:47 6736D6
2017-03-18 18:44:59 Unsupported input! This could be a bug. Input was:14:45:47 6737D7

I ran into that too and I cannot remember what I did. In the config file change it back to this and see if that works.
[envisalink]

Connection credentials to talk to the Envisalink device

host=envisalink
port=4025
pass=user

Can you show me your cfg file? just remove the confidential info. Hopefully we’ll have better instructions up because right now you gotta read through 1000 posts to figure it out and it’s just ridiculous

In the config file try to change it back to:
host=envisalink
port=4025
pass=user

Any idea what I’m missing here to integrate the devices into the app? When I authorize it via rest.api it doesnt’ show specific devices, rather it says “control all devices”. Am I missing a step here?