Looks like you didn’t setup the device preferences correctly.
just triple checked my device preferences. verified my intsteon username Id and password. verified port is open and device ID.
more details from logs
4cd1f0eb-383d-4272-9b83-67e449c50a71 8:13:20 PM: error something went wrong: groovy.json.JsonException: Lexing failed on line: 1, column: 1, while reading ‘E’, no possible valid JSON value or punctuation could be recognized.
4cd1f0eb-383d-4272-9b83-67e449c50a71 8:13:19 PM: debug Polling…
4cd1f0eb-383d-4272-9b83-67e449c50a71 8:13:19 PM: debug Refreshing…
4cd1f0eb-383d-4272-9b83-67e449c50a71 8:11:57 PM: error java.lang.reflect.UndeclaredThrowableException @ line 130
4cd1f0eb-383d-4272-9b83-67e449c50a71 8:11:57 PM: debug Sending Command
4cd1f0eb-383d-4272-9b83-67e449c50a71 8:11:57 PM: debug Turning device OFF
My best advice is to try running the command manually.
Here’s a test you can run, try to access this URL (fill in the variables):
When you access that in your browser with the variables filled in for the correct ID, you should see your light go on. If there is an error or something is inaccessible, there’s a problem with your configuration.
Hi Thanks again for your response. I’m trying to get this working again. Now I’m being prompted with a login in window. It doesn’t like my username / password. I’m using the same credentials that I use for the Insteon App
any other suggestions
This is incorrect. you need to use the credentials that are under the My House settings inside the app. There should be a username and password listed in there.
Here’s the step you skipped:
It’s probably a jumbled username/password like KJLJlk12r8y / JIuihf18912
bingo…that was the problem… Had to locate the information on the bottom of the device… Thanks again for your support and guidance
I fully understand that you are doing this in your spare time, but were you ever able to make progress on the “8% issue”?
I have the 2245 also, and got my dimmers added thanks to your great instructions at the top. However still dealing with this issue.
I have one method that will fix it but it depends on how many devices you have. If you have over … I believe the the count is 255 characters divided by the output of 12, you’ll only be able to hold the device status of ~20 devices.
I’ll give this a run this weekend and let you know what I come up with.
Let me know if you need a tester! I’ve got the 8% bug, not afraid to run new stuff or add devices to test. Really really appreciate what you are doing for everyone. I’ve got a house full of 2 wire dimmers and the work you’re doing is helping me resist getting too far into Insteon. Unfortunately Insteon is one of the few companies that offer no neutral switches, I’m stuck with them! Keep up the good work!
Hi all, I’ve adapted the DTH from @idealerror to work with the Hub2 (2245), and fix the ‘8% error’. It uses the local hub buffer (buffstatus.xml) to get the status of the device, and doesn’t rely on any third-party resource. I think it should work with the original Hub as well, but I don’t have one to test.
looks to be working fine on my end.
This is great! I’ll test with my 2422 hub and add a note in the original post.
I also have a DTH for an IOLinc set up as a garage door opener/status. I’ve been using it for a while and it seems to work well.
Working for me. As long as I only allow ST to control the Insteon devices, this works good. Would still be cool to get updates, as Alexa and Harmony control them for some one off things, but I also want a million bucks!
Thanks for this!
@michaelahess it should reflect the correct status regardless of what you use to control your Insteon devices (ie, Alexa, Harmony, manually turning on), as the DTH gets status directly from your Hub, which should be aware of all status changes by any device. By default, it only polls status every three minutes, but you can easily change that in the DTH code. Tapping the refresh button should get a relatively instant status update.
I don’t get any updates, after three minutes or after tapping refresh. Turn on via Alexa, wait, tap a few times, nothing. But turn on and then if in ST and it shuts off. On of course also works fine. No idea why it’s not updating. Since it’s using my public IP for everything, the firewall shouldn’t be an issue right?
@michaelahess You’re correct that it shouldn’t be a firewall issue. Double check in the Hub app to make sure status shows correctly there. Take a look at the logs in ST when you hit refresh. There’s a possibility that the status returned from the hub is not for the correct device, in which case it should retry. If you have multiple devices simultaneously requesting status from the Hub, there’s a chance that the status request is getting overwritten in the buffer by another request. Its an artifact of the way that the Hub provides status and I don’t have a workaround at this point.
Just finding this thread and community today and my timing could not have been better!
First of all, thank you for making this tool available its exactly what I’ve been looking for.
I’ve got one device set up (A dimmer switch) and seems to be working fine, I’ll go ahead and add my other devices later today.
I’m wondering what others’ reasons are for using Smartthings to control Insteon devices.
Mine is basically that I’ve become frustrated with Insteon’s app as a way to control and monitor device status and with Insteon’s general lack of integration with Google Home/Assistant or other device hardware. I’m hoping that Smarrthings will give me the ability to control my Insteon devices in the way I want to alongside other devices and I’m sure I’ll discover the limitations or headaches as I go but how do others using this setup generally feel about smartthings and the more global smart home ecosystem? Am I heading down the right path?
Basically we’ve all jumped on the Insteon train in the past and decided that it’s not expanding to the depths that we would like. The products are great overall, but you’re locked into the Insteon ecosystem.
With this integration, you can still use the hundreds of dollars of Insteon products you purchased in a more open source environment. You aren’t limited to what you can do and you can expand your home automation beyond what you were capable of before.
Yep, thats pretty much me too. I’ve had Insteon for 4 years or so. Originally bought that because of the x10 devices I had but have phased those devices out so I’m left with an Insteon Dimmer switch, 3 dimmer switches, 4 LED bulbs and a couple of on/off switches.
Now I’ve added a Nest Protect and two non-insteon on/off switches to the mix and I’m tired of having to use different apps for everything.
Unfortunately my biggest need is the scheduling of insteon devices so I’m hoping I can use smartthings for that legacy need while still benefiting from the versatility of smartthings moving forward.