If this is your first visit, be sure to check out the FAQ. You must register before you can post. Your first post will be checked for appropriate content
(SPAM) - please allow a bit of time for that. After that, you'll be able to post at will!
select echo-device
next|prev|fwd|rwd|shuffle|
connect/disconnect bluetooth device
play tunein radio
play library track
play Prime playlist
play Prime station
play Prime historical queue
play library playlist
list imported library tracks
list purchased library tracks
list Prime playlists
list Prime stations
list available devices
delete multiroom and/or create new multiroom containing devices
logoff
Right now, i am sending tts to alexa from hs3 with mcsmqtt to node red, then to openhab . But that is not as intuitive as sending via/to sonos, this is not local, and sending the same command to multiple alexa (i created a linked string vitual item in openhab) does not result in good ync, it is asynchronous( we understand nothing )
just as a FYI, i have got this working directly from a windows 10 machine without the need for other machines/apps by installing the Windows Feature "Windows Linux Subsystem" then rebooting
after which i installed the Ubuntu Linux app from the windows store, see the link for further info.
then all i did once linux was setup is run the following commands
i then followed the setup instructions available in the github repo about getting the cookie. (word of advice i used firefox as Chrome etc.. would not work) ensure you comment/uncomment your correct region info, i also used the following Browser Line andreplaced the line in the code as i had better success with this
BROWSER='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36'
once all that was up and running i just ran
~/<ExtractedFolder>/alexa_remote_control.sh -a
which returned all my devices.
and as a test i just ran
~/<ExtractedFolder>/alexa_remote_control.sh -d "Alexa Device Name" -e speak:"This is a test message"
once you have output, i just created the an AlexaSpeak.bat in a directory in the windows partition with the following:
@echo off
set arg1=%1
set arg2=%2
shift
shift
%SystemRoot%\sysnative\wsl.exe /home/<wsl user>/<ExtractedFolder>/alexa_remote_control.sh -d %arg1% -e speak:%arg2%
ensure you set the script name and path correctly to match your install
after which you can run the batch file with your Alexa Device Name and Message, you can use the "ALL" instead for device name but if like me you have more than 6 devices it wont send to all, and i cannot get a speaker group to work either. but for individual notifications to device it works very well so far. but i am still testing.
This should also work similarly on linux HS3 installs but you just need a different wrapper script.
hope this helps as this has been my utopia for a long time as i have an alexa in every room including my toilets
Comment