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

Authentication? #2

Closed ernestoongaro closed 1 year ago

ernestoongaro commented 1 year ago

Just following the installation instruction, and I don't see anything about authentication.

I assume someToken in lambda_function.py should be replaced with a long lived access token?

aldadic commented 1 year ago

You are right, there is no authentication. This skill just opens Home Assistant in the built-in browser on the Echo Show. Like on any other device, you will first need to login using your username and password. Don't forget to select the "keep me logged in" option so that you won't need to do this again.

The token is a mandatory parameter of the ExecuteCommandsDirective function, but it is unnecessary for this skill, which is why any string can be used for it.

ernestoongaro commented 1 year ago

Ah ok! Thank you for the clarification, and awesome work here :)

ernestoongaro commented 1 year ago

For me the .local domain didn’t work, had to use .lan from echo

Try loading in the browser (silk) first

On Sun 18 Sep 2022 at 12:43, Jörn Berkefeld @.***> wrote:

somehow im getting website not available and the question if i might have a typo in the url. any thoughts? I do not ssl or access from the outside enabled but my echos and HA are in the same network. trying the very same url on my laptop leads me to the login prompt :( means the url is right but somehow my echo cannot open it / reach it?

— Reply to this email directly, view it on GitHub https://github.com/aldadic/home-assistant-on-echo-show/issues/2#issuecomment-1250252136, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALVKECCUOLVQRJWIJZ4G3V6355RANCNFSM6AAAAAAQFS55ZE . You are receiving this because you modified the open/close state.Message ID: @.***>