Thanks, I was so eager to test it that I found your GitHub in between
I am now making a test with a dumb DTH to see that. I had this idea too using the carousel but got stuck when I had to tie that to a non AWS image location. Your implementation solved that as I see.
[Update]: I got it working but as usual in ST, things work differently if you access local network versus external (www). I didn’t want to publish externally my webpage so I have to adapt your get to GET from local IP via a hubAction.
I was using the following code to generate charts on my device handler. The “dl” variable is an array with 192 integer elements. Recently I started getting the following error when the chart is called in DTH refresh function (periodically)
I don’t get the error when I call the chart function manually (with a button on the DTH)
i just started getting this in my smart app on a 3 hour refersh
javax.net.ssl.SSLException: java.security.ProviderException: java.security.InvalidKeyException: EC parameters error @line 661 (apiGET)
my DH wont refresh on a schedule but works when i click it manually
java.lang.reflect.UndeclaredThrowableException @line 443 (poll)
This in the DH
def resp = parent.apiGET("/subdevices/show?params=" + URLEncoder.encode(new groovy.json.JsonBuilder(body).toString()))
The smartapp started with this error it must be a permissions or security issue
javax.net.ssl.SSLException: java.security.ProviderException: java.security.InvalidKeyException: EC parameters error @line 661 (apiGET)
bit more digging and the apiGET calls this in the smartapp, the last log debug dosnt get trigged
this is the last “good” response Beginning API GET: /subdevices/show?params=%7B%22id%22%3A123008%7D
def apiGET(path) {
try {
log.debug(“Beginning API GET: ${path}”)
httpGet(uri: apiURL(path), headers: apiRequestHeaders()) {response -> //hissy hear
log.debug(“response ${response}”)
logResponse(response)
return response
Update its stoped working completely
Done some diging. Long story short smartthings dosent like the security credentials (encryption curve) of the response back (nether did my work computer using postman) check to see if your host is cloudfair (ip check) they host my mihome.co.uk issue