Ok, so working on a smartApp to update another home automation system I use when certain events happen, this is my first smartapp, so its been a bit trial and error, I finally get it to where it appears to work, but I get the following error.
Unfortunately I appear to have lost the changes I had made for this along the line somewhere, without realizing it. I know I ended up moving the code to the device type itself, and using the VLC Media Player Device Type as an example for the logic. I was unable to get it to work as a smart app. It has been a while, and I should revisit doing this as a smartApp and see if I get the same issues.
Actually realized I was able to get it to work in a Smart App… I am not sure what I was doing wrong the first time, but this method works. I control the API on the other end, so authentication wasn’t much of a worry for me, as I am ignoring all data that I am not explicitly looking for.