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

Maybe a hint on how to open the skill silently #8

Open CC1337 opened 1 year ago

CC1337 commented 1 year ago

Hey, I just was researching for my iobroker vis dashboard and also saw you are annoyed by having Alexa always respond when opening the dashboard. I found the following solution and maybe it makes sense for you and can also work for HA. iobroker vis supports javascript, and a rest API, so I send a health ping on my dashboard website every 30 seconds (get request toggling a state). If for 40+ sec no health ping came, the echo show went to start page. Then I could tell it to open a skill, which it will talk to. BUT! If I create a ROUTINE in the alexa app which starts the skill, it will do it silently if I trigger the routine via iobroker alexa adapter. Maybe that's also possible in HA. Another tip, if you put a looping background (z index)

aldadic commented 1 year ago

Hi @CC1337! Thank you for sharing your findings! Using this skill, the browser on the Echo Show is already opened silently (which was a requirement for me in the beginning). But the main feature is that you can open as many different dashboards as you like (with different commands). I'm pretty sure that this should also work for iobroker, because there is nothing Home Assistant specific to this skill: it basically just opens the URL that is configured in the lambda_function.py file, which could also point to an iobroker dashboard.