I have a Schlage deadbolt that has been rock solid up until the old SmartThings app was retired. The deadbolt still works and remembers both my & my wife’s passcodes. SmartThings says the deadbolt is online, but it has been stuck saying the door is unlocked even when it is not. The device is completely unresponsive in SmartThings and tied voice services (Alexa, Siri).
I figured I’d remove the device and try adding it again. When I try to remove the device through the IDE I get this error message: startup failed: script_app_92c57ab932dc555cf1b21cd60de6339f9b85aaa61f54dadc221fad62e48ba4b0: 640: expecting ':', found ')' @ line 640, column 108. ut('removeButton', device?.id)) {return} ^ 1 error
if you want to remove it - try z-wave exclusion in the new app> menu > devices > your hub > click 3 dots in the upper right of the screen and open z-wave utilities (except for v1 hubs) or you can use the z-wave exclusion in IDE.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
#4
That looks like a platform error. Possibly some maintenance work or a script bug. Try after a while or try a different browser or delete it from the app as @jkp suggested.
I just now tried to delete the device using Safari instead of Chrome and I got the same error as in my OP. I have tried waiting some time, in fact I posted about this issue a month ago on Reddit and wasn’t able to find a solution then. So this issue has been persistent for at least a month now.
I will try what @jkp recommends for Z-wave Exclusion later tonight, but IIRC I did try this last month and it didn’t work.
Now I’m not trying to make this even more complicated, I’m just trying to share everything I can think of that might be the cause of this… but I have an app installed called HomeBridge (SmartThings). It is the v1 of HomeBridge, I have since upgraded to v2 and want to delete the v1. However, when I try to open the HomeBridge v1 smart app on my phone I get an error.
When I try to delete the smart app on my phone or through the IDE > My locations > My SmartApps > Edit > Uninstall but nothing happens. The only reason I bring this up is when I try to delete the deadbolt, it warns me that the device is used by the HomeBridge app.
Perhaps I can’t delete the device because it is linked to this bugged out smart app? Or vice versa?
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
#6
Tagging @vlad if he has any insight into this IDE error. Never seen it before. Looks like an internal error.
Posting in this thread again because I still haven’t found a solution. Any help would be greatly appreciated, I’d even be willing to pay someone to sit down 1-on-1 with me to solve this issue.
Hey again. So I just found out this error message is not effecting just deleting this one device… I can’t delete any device! Can someone please help me get past this error?
startup failed: script_app_92c57ab932dc555cf1b21cd60de6339f9b85aaa61f54dadc221fad62e48ba4b0: 640: expecting ':', found ')' @ line 640, column 108. ut('removeButton', device?.id)) {return} ^ 1 error
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
#9
I would recommend contacting ST support as it may be an issue with the account / backend database.