Hey man so Ive added the smartapp and device handler, but for some reason when i try to add my device in the smartapp it keeps saying something went wrong and please try to install the smartapp again. any idea what i could be doing wrong here?
I haven’t looked at this since last year, I can’t say what would be causing this. With the move from the classic app some functionality was depreciated until it can be replicated in the new system, this could be the cause, as it broke some other custom handlers I had, but I don’t know.
Unfortunately I have now moved away from SmartThings now, so I won’t be updating the handler or app. But if anyone wants to carry on from where I left off they are more than welcome, so long as they provide their work to others free.
Since Covid-19 is here I started christmas decorating early and saw that the Twinkly-app doesnt support multiple on- and off-settings (For example on 06:00, off 08:00, on 15:30, off 23:00)
So I googled and found this, unfortunately I got the same result as Trenton_LaBiche.
Unfortunately I dont have any coding-skills but mabye there is someone out there that have?
I’ve managed to quickly get this working so that it is usable.
Dameon87/SmartThings: SmartApps and Devices for Samsung SmartThings (github.com)
Use the same way as before, except use my repo. Install SmartApp and use the IP Address of the Twinkly device on your network.
I’ve also modified the way login() is used a bit and instead delegated that to be done in the background once per minute. This ensures that commands response faster (instead of a long delay every command.)
I’ll work on this a bit more as time permits, but figured I’d share my success in getting this up and running.
So far the following works: On, Off, and Brightness. These fit most of my needs, though I may add other bits as time permits.
Awesome, so I now have the device created using the app, but for some reason it’s not responding when I try to give it a command in smartthings. Any idea what I may have done wrong?
I’ll take a look in a few, but I have an idea as to what it is. (The way the IP address is stored.) Lemme wrap up dinner and I’ll push some changes.
I’ve added a few minor changes to the smartapp to address this, and it now correctly adds the device and ensures it is assigned to the hub. Give it a try!
Looks like that update did it, thank you so much.
No worries, just happy to share something that helps others. Happy Holidays!