SmartThings Community

[RELEASE] Ask Alexa

(Tim Raynor) #4288

Good luck with everything !

(Joel W) #4289

As always your quality of life and that of your family always comes first. Enjoy you vacation, and try to relax.

(Micheal ) #4290

My vacation is at the end of the month, but thank you! I did play around with programming this weekend and made some neat progress…more to come…

(Kevin [Yorkshire UK]) #4291

Is the’complete’ install via Community Installer still on track, or should I bite the bullet and do the partial/manual one?

(Micheal ) #4292

The community installer will never do the FULL installation…that is not it’s scope…only the IDE part. I recommend doing the manual installation for now. You shouldn’t have any issues as it is up-to-date:

(Kevin [Yorkshire UK]) #4293

Ahh. I meant v 2.4.0 with the integrated Lambda installer feature, perhaps I had wrongly assumed this was achieved via Community Installer.

(Micheal ) #4294

No…that version is not out yet…still 2.3.9 which is still via the Community installer for the IDE piece, but the Lambda and Developer pieces still need to be installed manually.

(supa) #4295

I just got an email from Amazon announcing the end of life of node.js v4
What do I need to do to make sure this continues to work? Just change node.js version to v8?

(Micheal ) #4296

Yep…it should always be the latest version. Mine has been running great on it:

(Micheal ) #4297

Happy Friday…

As mentioned last week I am rather busy this summer but I still enjoy writing up something every Friday.

This week just a few notes: First, I usually put out bug fixes without notice. So, if you see the color of the apps in the IDE this is on purpose and usually indicates a small bug fix was released. For example, just this morning, I updated the Rooms/Groups extension to 1.0.4b. This was a small change to a reference for the humidity sensor you might have chosen for the room status. Again, this is not a requirement to load but if you do upgrade it might fix a bug for you.

Speaking about the rooms extension, I do have a question for those users that use it extensively…do you use the thermostat feature to control the temperature? Unlike lights, people usually have only one or two thermostats in their entire house and they MAY be better served controlling it directly instead of in a room context. I ask as I am actually making revisions to code to allow for more context based control if the room ( i.e. “turn on the lights” and “turn on the fans” could be done instead of just turning on all of the switches in a room). Anyway, getting rid of the thermostat control in a room could allow more and easier contextual status of the room.

Anyway, if there is anyone using the extension to control the temperature I would love to hear your use case…. otherwise I way deprecate that feature in lieu of better status control.

Have a great weekend…and make sure you recognize the ladies around you for Mother’s day. Maybe a special automation where they have someone else do the laundry :slight_smile:

(Edward) #4298

Hi MichaelS,

First of all many thanks for this great Ask Alexa project. I’m trying to set this up and everything is going well till I reache the point that I have to click on the JSON Editor. After this something has to be done. What exactly? When I go back to the smartapp (on my phone?) and click on Setup Ask Alexa => Setup Variables Link, I receive the same logging info in my Browser (on my PC) as when I had to do this for the Lambda part.

Your instruction is: Just like the Lambda code setup (see Ask_Alexa#One-Step_Method) you will click the link for the Developer Code (Second bold line).

I can’t figure out this sentence or maybe I’m missing some options in my smartapp?
Where do I find the Developer Code in the SmartApp on my phone or somewhere else?

I will appreciate if someone can help me out on this!!!

Thanks in advance,


(Micheal ) #4299

Edward…sorry this was not clear…basically, with two browser windows open (one with the Amazon JSON editor, and one with your setup variables page), you will click one of the two buttons below Developer Code. This will either be “Display Developer JSON code” or "Download Developer Code.

If you click the “Display Developer JSON code”, you will copy and paste the resulting code on the page to the JSON editor. If you download the code, you will click the area to upload the code to the JSON area:

Does that help at all?

(Edward) #4300

Hi MichaelS many many thanks for this fast reply. I’m at work right now. As soon as I get home I will give it a try and I will let you know if I have manage to pass this hurdle :blush:

Thanks again and have a nice rest of the day,


(Edward) #4301

Hi MichaelS,

First question is the wiki site down of confronting problems?
And sorry, I love all this Home Automation project, but I’m not an experienced user. I still can’t figure out how to get to the point I can click on Display Developer JSON code. Is this just a sentence under the live logging? or do I have to be in ‘browser windows two’ on a Amazon website? (if so witch one? or and do I have to use the smartApp on my phone at this point?

Sorry again to bother you with all this question and thanks a lot.


(Micheal ) #4302

Hmmm…I it does look like the wiki is indeed down…I will contact the site admin.

To Display Developer JSON code You will have your live logging open on your IDE, then open the app and go to Settings>>Setup Ask Alexa and the Setup Variables will be there. Going to that page, the Live Logging will display the URL to get to the page I references. You can then follow the directions, going to the JSON editor under and editing the skill.

Not a bother at all, and it sounds like you are close…so keep at it.

(Edward) #4303

Wonderful and thanks again, I will give it a try.

Best regards,


(Micheal ) #4304

I did give the guy who runs the wiki a heads up that there is an issue. Hopefully he can get it working again.

(Micheal ) #4305

Looks like the Wiki is back up!

(Edward) #4306

Hi Michael, yes thanks I have been trying to solve this and I’m glad to inform that I’m almost to the end. The current problem I’m dealing with right now is the ARN information. I’m receiving a error message when pasting the ARN. I click on copy to Clipboard and then past. Do I have to edit something by deleting a part of this info? The format is amzn1.ask.skill.axxxxxxx-xxxe-xxxx-bxbx-xxebxxxacxax. In this case I have replaced every number with a ‘X’. which part do I have to past? The bold part or everything?

Thanks again, I’m almost there :grinning:


(Edward) #4307

Error message: ‘The provided Lambda ARN is not in the correct format’