question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New Routine Service doesn’t work.

See original GitHub issue

Ok, so sequence works for me, but I don’t get routines working.

I have a routine called “test” and I tried it this way

{
“entity_id”: “media_player.myalexadevice”,
“media_content_id”: “test”,
“media_content_type”: “routine”
}

but it doesn’t work.

When I say “alexa, test” it works.

This is the error I get when I trigger a script with the data from above.

Error doing job: Task exception was never retrieved Traceback (most recent call last): File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py”, line 291, in _handle_service_platform_call await func(entity, data) File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run result = self.fn(*self.args, **self.kwargs) File “/config/custom_components/alexa_media/media_player.py”, line 536, in play_media self.alexa_api.run_routine(media_id) File “/config/deps/lib/python3.7/site-packages/alexapy/alexaapi.py”, line 127, in run_routine a_utterance = automation[‘triggers’][0][‘payload’][‘utterance’] KeyError: ‘utterance’

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:25

github_iconTop GitHub Comments

1reaction
alandtsecommented, Mar 29, 2019

@h4nc Can you provide the script that’s failing to #147; we’ll take a closer look to see if it’s reproduceable. Wasn’t sure if it’s the same as listed above.

0reactions
h4nccommented, Mar 29, 2019

@alandtse my routines still don’t work a 100% reliable. Sometimes it doesn’t work at the first try, but it does always at the second one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Alexa Routines Not Working: 8 Fixes - groovyPost
Alexa not responding to your commands? If you're having problems with your Alexa routines not working, try some of the fixes in this...
Read more >
Amazon Smart Soap Dispenser Routine isn't Working
If you don't see a handwashing routine, set one up. Open the Alexa app, and select Devices > All Devices > Soap Dispenser...
Read more >
How To Handle Scheduled Car Maintenance | Edmunds
Routine maintenance is most often oil and filter changes, tire rotations and various inspections.
Read more >
Spectrum Maintenance Update | Spectrum Support
Information about routine maintenance on Spectrum services in your area.
Read more >
What happens if you don't perform routine maintenance on ...
Routine service on your automobile can seem like an unnecessary cost, a waste of time, and, at worst, a scam perpetuated by those...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found