Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Amazon Echo Support
#61
If anyone has some examples of Global Actions and the echocfg.txt file that would be helpful. I have everything setup now, but having not used Global Actions on my system before, an example would be great.
#62
They are no different from any other action. It's just that, instead of being embedded inside something (button, triggered event, etc...) they are just standalone. One common use is to break out common functionality and call them from other actions so as to avoid duplication of the same action commands over and over. Actually that's probably their most common and intended use. But, in cases like this, where we need some way to associate an action an incoming voice event, they are also convenient since they are just standalone actions that can be invoked by their name.
Dean Roddey
Explorans limites defectum
#63
In your instructions at the first of this thread, you said you could do this:

Code:
Alexa, what is the Current Temperature
Alexa, is the Washer Running

Would you not need to say your control word? Like "Alexa, ask Control what is the Current Temperature"
#64
kblagron Wrote:In your instructions at the first of this thread, you said you could do this:

Code:
Alexa, what is the Current Temperature
Alexa, is the Washer Running

Would you not need to say your control word? Like "Alexa, ask Control what is the Current Temperature"

You would need to run a macro for those which would be Set and Query. Run can do a Global Action
#65
kblagron Wrote:If anyone has some examples of Global Actions and the echocfg.txt file that would be helpful. I have everything setup now, but having not used Global Actions on my system before, an example would be great.

Just head to the Admin interface and under admin choose Global Actions. Name the Global Action in File Name and hit select (example below is named "Sprinkler"). That takes you to a typical action panel. Just chose a field to write to for testing purposes (Amp on e.g.). Save and there you have a global action.

Your config file for a test would be something like this. Make sure the MyKey when you set up the skill is the same here. Also watch the path for the Global Action. Here is under the default location.

Also say Alexa tell "invocation name" to run load echo configuration.

EchoConfig
MyKey=ABCDEF
EndEchoConfig

RunMap
Action=\User\Sprinkler
Sprinklers
Lawn Sprinklers
EndAction
EndRunMap

To run this say "Alex have "invocation name" run Sprinklers". The RunMap above lets you use other words such as Lawn Sprinklers as a variant. Can't remember everything....nice to have options. Of course this would only turn it on or off depending on what fieldwrite (on or off) you used. In my case I made two of these. Sprinkler On and Sprinkler Off. Small steps, Ellie, small steps.
#66
Dean,
Is there any protocol for multiple run commands in the config file, i.e. have multiple action commands under the Run Map, or do we use multiple Run Maps?
Thanks
George M
#67
George M Wrote:Dean,
Is there any protocol for multiple run commands in the config file, i.e. have multiple action commands under the Run Map, or do we use multiple Run Maps?

Multiple actions are fine. Just stack them back to back. I think it's single RunMaps, but Dean needs to confirm. I know this works.

This is what I have and it works fine.

RunMap
Action=\User\Echo\Home Theater
Theater
Theatre
Movie
Movies
EndAction

Action=\User\Echo\SprinklerOn
Sprinklers
Sprinkler
EndAction

Action=\User\Upstairs Heat Up
warmer
EndAction

Action=\User\Upstairs Heat Down
Cooler
EndAction

EndRunMap
#68
kblagron Wrote:In your instructions at the first of this thread, you said you could do this:

Code:
Alexa, what is the Current Temperature
Alexa, is the Washer Running

Would you not need to say your control word? Like "Alexa, ask Control what is the Current Temperature"

Oops, yeh, you are correct. I'll fix that.
Dean Roddey
Explorans limites defectum
#69
Dean Roddey Wrote:How is it going so far? What are you guys using it for?

Mixed bag here. I'm getting a lot of "CQC Handler for this command failed. Check with your CQC administrator"

Other time the global action will run, but then she says she cannot communicate with the CQC Skill, even though the action ran.

Can't seem to run anything that has to do with Test. I get an error in the logs about Test On already exists somewhere else.

Still trying to sort it all out. Will leave more specifics as I try to rule things out.
Thanks
George M
#70
I am stuck... Sad

I cannot get past my first objection ... telling control to run 'bedtime' AKA - set thermostat to 70 degrees. I have my EchoCfg.txt set up as follows:

[HTML]EchoConfig
MyKey=ABCDEF
EndEchoConfig

RunMap
Action=\User\nestBedtime
bedtime
Time for bed
Time to go to sleep
EndAction
EndRunMap

SetMap
EndSetMap

QueryMap
Action=\User\nestCurrentTemp
Current Temperature
Current Temp
EndAction
EndQueryMap[/HTML]

It just keeps telling me she doesn't know how to do that command.
Caleb
CQC Noob


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

Forum Jump:


Users browsing this thread: 1 Guest(s)