I had half a post typed up as a draft and accidentally posted it at 2 a.m. from my phone while I was sleepily browsing this thread from my phone. I saw it when I woke up this morning and removed it. Sorry about that, haha!
I thought I had done everything correctly, but no matter what I did, the DSC devices would not show up in my Smartthings app. I screwed around with it numerous times last night and decided I would just delete everything in the Smartthings IDE and start fresh. While doing that, I discovered my problem and figured I’d post it here in case someone else runs into that issue. When I was copying and pasting the myURL base from my email, I was right-clicking and selecting “Copy Link Address” and pasting that into the alarmserver.cfg file not realizing that it was not carrying over the port from the URL. So instead of getting https://graph-na04-useast2.api.smartthings.com:443/api/smartapps/installations, I was actually getting https://graph-na04-useast2.api.smartthings.com/api/smartapps/installations, and I totally passed over it while trying to do my rudimentary debugging.
There were also a couple of things that I found confusing about the process that I’m putting here in case anyone else has the same questions I did:
-
To add the device handlers, you need to go to the “Device Handlers” tab in the Smartthings IDE. You’d think that would be apparent based on the name of the device you’re adding, but that totally slipped past me in my haste to get things up and running. I ended up adding four Smartthings Apps in the IDE the first time.
-
The OAuth app id and access token from the app that you install on your phone (Step 3 in the ###Smartapp Setup section of the Readme file) does not match the one you see in the IDE when you publish. You have to use the one you see on your phone.
-
If you setup the phone app to send you alerts for “all” events, your phone will sound like a slot machine that hit a jackpot when once you start the alarmserver app on your Pi, haha.
This app is really cool. Thanks to everyone that has worked on it!