Thanks @tomw -- I will pushes these changes. With your credit for them.
2 Likes
Thanks, but no credit necessary. I'm glad to pitch in, and I just used what was already there.
2 Likes
Too bad.. I gave you credit for the changes Sincerely I really appreciate the help -- HUE has always been a challenge for me.
2 Likes
i found missing URI params @tomw in the updatecheck() -- it should look like this...
def updatecheck(){
setVersion()
def paramsUD = [uri: "https://raw.githubusercontent.com/ShellyUSA/Hubitat-Drivers/master/resources/version.json", contentType: "application/json; charset=utf-8"]
I would have never seen this if it had not been for this post also. I forgot to add , contentType: "application/json; charset=utf-8"
in that line because github forces tex/plain and that would throw a HE error.
1 Like
I confirm it to be working in all my scenarios too! thank you
1 Like