DSC Envisalink woes

Hi,

I’m new to ST, but I have had the envisalink on my DSC panel connected for a while.
I attempted to get the alarmserver and the smartthings devices running, and have have moderate to extensive linux skills, however I seem to be missing something since there are no single point of information on how to do that start to finish…

Here’s what I have done…

I followed to OAuth steps, but my results are not quite the same as in the documentation.

I opened the first link with my client ID embedded, and it seems to work fine but I am unable to select any checkboxes??

I do however get the code when I proceed, and if I open the next link with all the fields populated, I first get this:

If I refresh the browser window, I get the access token:

{“access_token”:“e6424e02-2cd8-4395-89fc-763ecfe5c0b6”,“token_type”:“bearer”,“expires_in”:1576740351,“scope”:“app”}

If I then open the final link to test I get:

{“error”:true,“type”:“AccessDenied”,“message”:“This request is not authorized by the specified access token”}

Installed alarmserver from git, and got it kinda running with the following configuration;
[alarmserver]
## If a filename is given all output will be logged to the filename.
## If left blank output will all be on the console
#logfile=/full/path/to/output.log
logfile=

## Log URL requests
## By default all the url requests are logged. These happen every 5
## seconds with the web ui's. To disable all these set this to False
logurlrequests=True


## The server runs with SSL. You need a certificate and key
## server.crt and server.key are included but you should
## generate your own.
## If left blank the default included cert/key will be used
#certfile=/etc/apache2/ssl/server.crt
#keyfile=/etc/apache2/ssl/server.key
certfile=/root/AlarmServer/server.crt
keyfile=/root/AlarmServer/server.key

## Maximum number of events to display for each zone
maxevents=10

## Total number of events to show for all the zones combined
maxallevents=100

## Port to run the server on
httpsport=8111

## Use a fuzzy time algorithm for displaying dates and times
## True means times will be "4 minutes ago", "3 days ago"
## False means times will be exact "Jun 21st 2013 08:00:00"
eventtimeago=True

## Name of your parition(s)
partition1=Home

## Zone names. Delete the zones you're not using to have them hidden.
## Add more zoneXX if you need more zones
zone1=A
zone2=B
zone3=C
zone4=D
zone5=E
zone6=F
zone7=G
zone8=H
zone9=I
zone10=J
zone11=K
zone12=L
zone13=M
zone14=N
zone15=O
zone16=P

## Pretty names for the user ids that arm/disarm alarm.
user1=MyUser1
user2=MyUser2
user3=MyUser3

[pushover]
enable=False
usertoken=e6424e02-2a98-4395-89fc-763ecfe5c0b6

[envisalink]
## Connection credentials to talk to the Envisalink device
host=192.168.1.82
port=4025
pass=user

## Run a proxy for the Envisalink device to get around the 1 connection limit
enableproxy=True
proxyport=4025
proxypass=user

## Alarm code: If defined you can disarm the alarm without having to
## enter a code.
alarmcode=1111

when opening
https://graph.api.smartthings.com/api/smartapps/installations/ to get the app ID, all I get is a blank page with

I created some devices on the IDE, and I can see them in my app, but nothing is coming through…

Any ideas where I can look, or how I can get this thing to work?

Thanks in advance!

I am not using that specific DSC app but from the error above it sounds like you may have sent the wrong auth key in that second step.

There is another app called j64AlarmServer that uses the envisalink controller to interface with the DSC control panel. You might give it a try also as it automates adding the smartapp/device types and also the full set of oauth steps. There is more info about it here: https://github.com/joejarvis64/j64.AlarmServer plus there are a couple of threads that talk about it.

I attempted the oauth steps four or five times with the same results…

This look like a good implementation thanks! Pity it runs on asp, but I can get around that. I’ll give it a try.