6/19/2023 0 Comments Playlists on alexaText box for defining the card code Scripts Briefly, when you are editing the interface and hit the “add card” button, scroll down to the bottom of the list of pre-defined cards and click the “Manual” link. This code is entered in to the input box you get when creating a manual card. The key parts are the buttons with and type: script. That isn’t needed but I figured why not keep it for fun. Note that I kept the tts: entry which shows the text input box. Here is the code (manually entered) that creates the mini media player card shown above. After many false starts I figured out I needed to create a series of scripts, one for each playlist, and then call the scripts from the shortcuts object of the mini media player.What I wanted on the mini media player card was a list of buttons, each one for a play list: With a lot of internet searching I finally pieced all of the parts together. I didn’t want to have to type a command each time I wanted to play music. So now I had to by-pass the text input field.But I suspect that this might not work with a single echo. Now I have multiple echo devices, and the “living room” echo played the command, and a second echo device “heard” it and executed the command. A moment later, the echo played the message, recognized it as an echo command, and played the playlist. So I typed into the text input field “Alexa play my country playlist on echo living room”, and hit the send button. But I have noticed how often the Echo device will trigger on normal conversation when it hears it’s own keyword “alexa” spoken on the TV for example. While this was interesting, it is not very useful by itself.
0 Comments
Leave a Reply. |