Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Amazon Echo Support
Are you sure you've got the latest changes loaded? Do a load configuration command just to make sure.
Dean Roddey
Explorans limites defectum
While I was waiting for a response, I added another line for bedroom lights, reloaded, and saw the same behavior. Then I decided to try my system status query (which was added yesterday sometime before many subsequent reloads)

Alexa, ask Jarvis what is the system status

and I got this:

Code:
12/16 17:10:11-CQC-MASTER, CQCWebSrv, CQCWebSrvWorkerThread2
{
    CQCWebSrvC, CQCWebSrvC_EchoHandler.cpp.809, Status/App Status
    Key=xxxxxx, Intent=CQCQueryIntent, Phrase=system status, Value=
}

Odd.

Here is my entire config file:

Code:
EchoConfig
    MyKey=*****
EndEchoConfig

RunMap
    Action=\User\Echo\Good Night
        Goodnight, Good Night, Night Mode
    EndAction
EndRunMap

SetMap
    Action=\User\Echo\Lights
        Lights
        Family, Family Lights, Family Room Lights
        Bedroom, Bedroom Lights, Bed Room Lights
    EndAction
EndSetMap

QueryMap
    Action=\User\Echo\Weather
        Today, Weather Forecast, Today's Weather, Today's Forecast
        Tomorrow, Tomorrow's Weather, Tomorrow's Forecast
    EndAction
    Action=\User\Echo\SystemStatus
        Status, system status
    EndAction
EndQueryMap
I think that the line logged by the web server is showing you the literal value you got. If you want to see what got to your actual handler, you'd need to put a System::LogMsg command in there.
Dean Roddey
Explorans limites defectum
You are correct, and further - my code is working now. I don't know what I did wrong or what I did to fix it but thanks for the help anyway and sorry for the confusion.

The text to numbers macro you wrote is a great asset for Echo actions! :-)
As I continue adding actions, I've run into an issue that I can't think of a way to solve.

Right now, I have this action:

Code:
    Action=\User\Echo\Temperature
        Bedroom Temperature, Master Bedroom Temperature, Bed Room Temperature, Master Bed Room Temperature
    EndAction
This is in the QueryMap section and let's me ask for the bedroom temperature. Now I want to add an action to the SetMap that would let me set the bedroom temperature, but I can't use the logical choice for a target since they have to be unique across the entire config file (ideally I'd be able to say Alexa - ask Jarvis to set the bedroom temperature to 70).

Has anyone else run into this? If so, how did you address it?
Does it really have to be unique across the whole thing, are only between the query, run, and set scenarios? It's too late to look at it right now, but I would have thought I'd look at the intent type and decide which of the sections I should look through.
Dean Roddey
Explorans limites defectum
That seems logical, but I hadn't tried it because the document says:

All of the values in all of the target lines in the whole file must be unique.

I just tried it though, and it works as you described. You might want to re-word the document just a bit.
I'm making good progress this afternoon on CML macros for Echo. Being able to use CML makes for a flexible and powerful solution. Well done Dean!
I updated the docs for the next release.
Dean Roddey
Explorans limites defectum
I've gotten most of the way to getting the Echo integration working with SSL.  I got the certificate loaded, and had someone external hit the server to confirm that all looked good.  Then I went to the AWS console and updated the Lambda JS to use 443 and https. 

Once I did that though, I get the message "There was a problem with the requested skills response".  I changed it back to http and my other port and it's working again.  Has anyone else run into this?  If so, any advice?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Broadlink Support? Darrie 1 382 01-20-2022, 04:09 PM
Last Post: Dean Roddey
  Driver for Amazon 4k Stick Darrie 3 508 01-15-2022, 02:21 PM
Last Post: znelbok
  Support for MATTER znelbok 0 339 01-10-2022, 03:08 AM
Last Post: znelbok
  Amazon AWS Message kblagron 1 509 10-16-2021, 03:49 PM
Last Post: Dean Roddey
  Amazon Echo integration rhosch 8 1,771 05-15-2021, 01:06 PM
Last Post: Bugman
  any support for TP Link Kasa natively or third party int? b00ter 1 651 03-13-2021, 06:16 PM
Last Post: gReatAutomation
  Echo troubleshooting dlmorgan999 3 917 01-13-2021, 04:27 PM
Last Post: dlmorgan999
  ISY994i Support simplextech 49 15,327 06-29-2020, 05:21 AM
Last Post: keepersg
  Additional MQTT Support znelbok 5 2,018 05-14-2020, 03:55 PM
Last Post: Dean Roddey
  Elk Version Support Issue Ron Haley 20 5,515 05-05-2020, 08:38 PM
Last Post: Shaky

Forum Jump:


Users browsing this thread: 1 Guest(s)