aldadic / home-assistant-on-echo-show

This Alexa skill adds a voice command to open Lovelace dashboards on the Echo Show in the built-in Silk browser.
MIT License
136 stars 25 forks source link

Skill isnt working on device - publish? #7

Open ofirda opened 1 year ago

ofirda commented 1 year ago

First - a big thank you, so smart to do the skill on the echo show! Second - I tested the skill and it works fine in the developer console but when I tried to invoke it via my echo show it wasnt aware of the skill should I publish/certify/add to alexa echo show somehow?

aldadic commented 1 year ago

It's great that the skill works in the developer console. To make it available on your Echo devices, you just need to select "Skill Testing is enabled in: Development" from the dropdown menu on the Test tab. If this doesn't work, make sure you're using the same Amazon account in both the Alexa developer console and on your Echo device. The skill should also appear in the Skills menu in the Alexa app: screenshot

ofirda commented 1 year ago

Thanks! I just figured this out - the Locale had to be adjusted on the device and it worked Amazing how that did the trick - the SKILL is great.

Another question that I have what if i want to call the skill with a NAME for the page instead of a NUMBER (for example - "Tell Smart Home to open Page Lights") - is that feasible?

aldadic commented 1 year ago

Great that it works now! The issue with the locale makes a lot of sense. This is why it is important to select the correct locale in step 8. However, it didn't occur to me that this might lead to the problems that you described.

It is possible to use something different than a number. For that you will need to create you own Slot Type in the Alexa Developer Console and use it instead of ALEXA.NUMBER in the OpenPageIntent. And, of course, you'll also need to adjust the URLs in Home Assistant accordingly.

The only reason I chose numbers instead of a custom slot type is ease of use: when you create a new page in your dashboard, you will also need to add its URL to the slot type. However, if this doesn't bother you, changing to a custom slot type should be fairly easy.

If its just the voice command that bothers you, you could alternatively also create routines instead (see here). This is the way I use the skill.

ofirda commented 1 year ago

Sweet. I actually like landing on the "home page" and navigating from there to the "other pages", but will use you idea if someone wants a shortcut. What I am missing though is that it works on on Echo devices and you cant use it on mobile as APL isnt supported. however, the dashbaord looks so good as is, that it renders nicely enough via the HA app on android

zenodotus280 commented 1 year ago

Thanks! I just figured this out - the Locale had to be adjusted on the device and it worked Amazing how that did the trick - the SKILL is great.

Another question that I have what if i want to call the skill with a NAME for the page instead of a NUMBER (for example - "Tell Smart Home to open Page Lights") - is that feasible?

Thanks - I was struggling to figure this out myself!