[RELEASE] Alexa Helper

I hear the soon-to-be-released Heisenberg version will demand it.

https://www.pedestrian.tv/images/article/2013/08/21/heisenberg-breaking-bad-642-380.jpg

Hello @MichaelS ,

Iā€™ve been using the Alexa helper app for a couple of months now and had 2 virtual switches & scenarios hooked up through it. I went to add a 3rd switch/scenario today and the switch installed fine, but I couldnā€™t configure the scenario.

I verified the ST status, deleted all the original switches, scenarios and smartapp and re-created with the latest version, but iā€™m still getting the same error. Any idea what it could be? Some scenario configurations work, but the specific ā€œmodes/routines/devices/HTTP/SHMcontrolā€ wonā€™t let you configure.

Any help is appreciated!

Are you getting an error? I have over 10 scenarios configured, and havenā€™t changed the app for a while (except yesterday to fix a screwed up variable).

Is any error appearing in the log or on the screen?

I just get a generic ā€œunexpected errorā€ message. Iā€™m not sure how to check the log to get more info.

the only ones that seem to be having an issue are the baseboard heater and modes/routines scenarios. The other options look to be working as expected.

Are you sure you copied it from GitHub using the raw function? The log should show you what line number is the issue. In the IDE, before you run the app, go into the live logging. Then run at appā€¦filter the top to show items from Alexa Helper (or the scenario). If nothing shows up in the log it is more than likely a copy/paste error. If something does show up there, make note of the line number and check your code to ensure it looks like it should (or send me what it looks like and I can check it also).

Let me know what you find out.

Just checked mine one more time and I can create those scenariosā€¦let me know what you find out about the log.

probably no help and not the problem but i was making some changes tonight i kept getting that exact error with some other stuff in ST. it seemed like I was having some time out problems. i was changing some bulbs around and 2 of them kept popping that error. I restarted my phone and the tried again to make my changes and it worked with out a problem. ST bug maybe?

I uninstalled the smartapp, deleted it from the IDE and then readd it again following the steps outlined, but iā€™m still getting the same error.

This is what I got from the live log

2861a290-ddf8-41e9-91c7-1f06a77bc8d9 8:24:52 AM: trace getPhrases(), state.welcomeIssue = null
2861a290-ddf8-41e9-91c7-1f06a77bc8d9 8:24:52 AM: trace getPhrases(), state.welcomeIssue = null
b183fd8d-c022-4140-9697-de5d917d91df 8:24:37 AM: debug getChildDevices(false), children=1
b183fd8d-c022-4140-9697-de5d917d91df 8:24:37 AM: debug getChildDevices(false), children=1
b183fd8d-c022-4140-9697-de5d917d91df 8:24:37 AM: debug getChildDevices(false), children=1
b183fd8d-c022-4140-9697-de5d917d91df 8:24:37 AM: error com.netflix.hystrix.exception.HystrixRuntimeException: C*-IsaState-Update timed-out and fallback disabled.
b183fd8d-c022-4140-9697-de5d917d91df 8:24:31 AM: debug getChildDevices(false), children=1
b183fd8d-c022-4140-9697-de5d917d91df 8:24:31 AM: debug getChildDevices(false), children=1
b183fd8d-c022-4140-9697-de5d917d91df 8:24:31 AM: debug getChildDevices(false), children=1
b183fd8d-c022-4140-9697-de5d917d91df 8:24:31 AM: debug getChildDevices(false), children=1
b183fd8d-c022-4140-9697-de5d917d91df 8:24:27 AM: debug Created Switch Goodnight: AH_b183fd8d-c022-4140-9697-de5d917d91df_0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:27 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:27 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:25 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:25 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:21 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:21 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:17 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:17 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:04 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:04 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:02 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:02 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:24:02 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:23:57 AM: error com.netflix.hystrix.exception.HystrixRuntimeException: C*-IsaState-Update timed-out and fallback disabled.
b183fd8d-c022-4140-9697-de5d917d91df 8:23:52 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:23:52 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:23:50 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:23:50 AM: debug getChildDevices(false), children=0
b183fd8d-c022-4140-9697-de5d917d91df 8:23:50 AM: debug getChildDevices(false), children=0

Nothing I see there stands outā€¦I would actually prefer a screen shot of the actual page to see if any red issues pop up when you see the issue on your mobile device.

The only interesting one is this one: error com.netflix.hystrix.exception.HystrixRuntimeException: C*-IsaState-Update timed-out and fallback disabled.

And it appears to come form SmartThings itselfā€¦Never have seen that before.

Are you saying the scenarios were ALL working at one time and then just stopped after you tried to add a third one?

Hereā€™s the screenshot from the live log on the desktop.

I posted a screenshot of the mobile app. The red box that pops up just says ā€œSorry, but there was an unexpected errorā€

Everything worked beautifully until yesterday when I tried to add the 3rd scenario. Then, in the hopes that deleting and reinstalling everything would fix whatever the problem was, I lost my other scenarios as well.


ā€œGooā€ is the new scenario, and I got these errors when trying to configure it after I created it without actually configuring it.

Can you filter this down by showing me both Goo and the Alexa Helper areas? I canā€™t tell which is which when the log has everything together.

Alexa Helper

Stand byā€¦the 725 line appears to be the issueā€¦looking into it.

Okay. Hereā€™s the ā€œGooā€ if you need itā€¦

Okā€¦Something changed on the SmartThings processing side. The new error ā€œcom.netflix.hystrix.exception.HystrixRuntimeException: C*-IsaState-Get timed-out and fallback disabledā€ seems to be something on the back end.

However, I was able to compensate for the issue at 725 (which worked until last night). Give 2.9.9d a try.

Still getting that same generic error message on my phone. But there doesnā€™t appear anything in the log, same stuff as before:

Would resetting the hub be worthwhile? Iā€™ve done a reboot on it this morning and tried again, but that didnā€™t seem to help either.

I added 2 scenarios with 2.9.9d, ā€œGoodnightā€ and ā€œGoodmorningā€ both have this in the log if itā€™s worth anything.

Noā€¦I think something is going on at SmartThingsā€¦that error is some back end server. I am wiping out my scenarios and logging which have issuesā€¦but I am starting to get that error in other apps too, so I am almost sure the back end is causing them.

Thanks for pointing out the issue with 725ā€¦that was unrelated to what is happening now, but seems to be indicative of a larger issue on the back end. That line was not an issue until just this morning.