[DEPRECATED] EchoSistant Version 3.16 with Alexa Feelings

Any advice for a version 1.2 user looking to upgrade to 3.0.7?

Complete uninstallation and start over? or just upgrade the app :grimacing:

Unfortunately a lot has changed in v3 that complete reinstall is recommended. Sorry about that. I know how annoying these trash all updates are. I think we are at the point where we won’t do that again, unless we are forced to…

2 Likes

Does this mean just deleting the smart app? or also completely trashing the Amazon profiles etc?

No, it means copy and paste the ST groovy code over your old code, same with the Amazon skills and Lambda.
Your profiles should remain intact that way.

Not sure where I’m messing up. I’ve completed the Lambda portion. Had to change the ST ide to:
https://graph-na02-useast1.api.smartthings.com:443/api/smartapps/installations/
I’m at the Main Intent section and am now stuck

Before when I ran the test for Main Intent with the original URL I got:
{
“response”: {
“outputSpeech”: {
“type”: “PlainText”,
“text”: “There was an error. If this continues to happen, please reach out for help”
},
“card”: {
“content”: “There was an error. If this continues to happen, please reach out for help”,
“title”: “Lambda Error”,
“type”: “Simple”
},
“shouldEndSession”: true
},
“sessionAttributes”: {}
}

After updating the URL to my IDE I get:

{
“response”: {
“outputSpeech”: {
“type”: “PlainText”
},
“card”: {
“title”: “EchoSistant Control”,
“type”: “Simple”
},
“shouldEndSession”: true
},
“sessionAttributes”: {}
}

In Live Logging I get an error:
java.lang.NullPointerException: Cannot invoke method multiply() on null object @ line 1130

Obviously I’m doing something wrong but can’t seem to pinpoint it

It doesn’t sound like you are doing anything wrong. I am checking now and will PM with further details…

As I mentioned in my PM, the error is probably because the app has not been yet opened. The calculation should have a default value but the app sees it as null. Please go into Device Control Settings and add a number for the light leve adjustment. Sorry for the inconvenience. Will fix the bug on our end too…

1 Like

Thank you, it’s working now. In Main Intent test my Lambda response is as it should be.
In my Profile test my Lambda response is:
{
“response”: {
“outputSpeech”: {
“type”: “PlainText”
},
“card”: {
“title”: “EchoSistant Free Text”,
“type”: “Simple”
},
“shouldEndSession”: true
},
“sessionAttributes”: {}
}

However, Its working. Lights are flashing and speakers are talking. LOVE this.

2 Likes

****** UPDATE *******

This is a minor update to the Lambda code and the EchoSistant Groovy code for minor bug fixes.

EchoSistant Groovy code is now:

  • Version 3.0.8

Bug fix is: correct error stopping action for automatic light level adjustment

Lambda code is now:

version 3.0
release date 12/29/2016
release version 3.1.3

Bug fixes are:

  • incorrect release version number in App
  • Continued commands request blending with intent name

Please update your Lambda code and your Groovy code by following the links below.

Thank you.

Groovy - https://github.com/BamaRayne/Echosistant/blob/master/smartapps/echo/echosistant.src/echosistant.groovy

Lambda - https://github.com/BamaRayne/Echosistant/blob/master/smartapps/bamarayne/echosistant.src/echosistant-lambda.js

Who knows that you can record messages and play them back later???

Alexa, tell the Living room to record message “This is my recording”

Alexa, play message "your last recording was “This is my recording”

3 Likes

Great work on this so far , I’m really interested in the possibilities that this can provide.

Are you able to give any guidance on whether this will work for a UK based SmartThings Hub and Amazon Echo dot please? I’m concerned that as they both use different servers to the US that I’ll need to make changes in Lambda and the Amazon developers website set up to take this into account?

For example should I instead be selecting UK language and Europe for the locale where my customers are located ? Should my ARN be a European one?

Been playing around for a couple of days following the step by step guide in the Wiki but no success so far.

How far have you gotten on the install? What isn’t working exactly? What are the responses? Try setting your region from the n.Virginia to one in your area. The website will tell you if the Alexa skills are not available.

We are happy to step through it with you.

thanks Jason !
I’ve gone through from start to finish
created the Smart App, set up and copied the AWS lambda code, and have created the Alexa Skill.

when I created my profile and things didn’t work , then I started to tinker with the settings and that’s where I think I started to screw things up …

first question is on the Lamda coding , I spotted that you mentioned in the guide to change this
var url=‘https://graph.api.smartthings.com:443/api/smartapps/installations/’ + STappID + '/’ ;

however when I log into the IDE and click on My locations my URL looks like this https://graph-eu01-euwest1.api.smartthings.com/location/list

Should I copy and paste “https://graph-eu01-euwest1.api.smartthings.com” and replace so that I end up with

var url=‘https://graph-eu01-euwest1.api.smartthings.com:443/api/smartapps/installations/’ + STappID + ‘/’

the error message I’m getting when I run test is this

{
“errorMessage”: “RequestId: 17018672-cee4-11e6-95d8-2be4fec37c55 Process exited before completing request”
}

p.s. sorry to be a pain !!! I thought this would be straightforward …!

This error message is not one we have to worry about. You have to set up parameters to run that Lambda test.

I sent you a PM.

UPDATE - RELEASE ECHOSISTANT VER 3.0.9***

Introducing Garage Door Control.

You can now tell your home to open and close the garage, and it works on a delay action as well!

To update your system, do the following:

  • Update your EchoSistant smart app to ver. 3.0.9
  • Update your Main Intent Utterance file to release 12/31/2016
  • Update your Main Intent LIST_OF_COMMANDS to release 12/31/2016
  • Choose the garage door device in the “Notifications, Device Controls, and Integrations” section of the EchoSistant app
  • Update your Main Intent LIST_OF_DEVICES by adding the name of your Garage Door to the List.

Find the required update files here:
http://thingsthataresmart.wiki/index.php?title=EchoSistant#EchoSistant_Software_-_Current_Release_Versions

These are your new commands:

  • Alexa, tell Home to open the Garage Door
  • Alexa, tell Home to close the Garage Door
  • Alexa, tell Home to open the Garage Door in XX minutes
  • Alexa, tell Home to close the Garage Door in XX minutes

Stay tuned for EchoSistant Version 4.0… due in the hopefully near future!

2 Likes

where is the 12/31 updated list of commands?

My apologies, I didn’t realize there was no link for that. I’ll fix it asap in the wiki.

But here it is.

https://github.com/BamaRayne/Echosistant/blob/master/smartapps/bamarayne/echosistant.src/MainCustomSlots

Thanks for the list of commands.

Up and running with 3.0.9 after upgrading from 1.X

but where is the setting to have alexa respond with “message sent to PROFILE NAME” - I can’t find that in this version.

1 Like

Go into your profiles and look under the message settings. That was hard coded into version one but is now a custom response.

1 Like