timheuer / alexa-skills-dotnet

An Amazon Alexa Skills SDK for .NET
MIT License
547 stars 108 forks source link

Sending announcement to all alexa devices #269

Open xantari opened 3 hours ago

xantari commented 3 hours ago

Hope this is the right place to post this.

I was hoping to use C# to send announcements to Alexa.

I was able to get it to work using WSL (Windows Subsystem for Linux) using the alexa_remote_control.sh command here:

https://github.com/adn77/alexa-remote-control/blob/master/alexa_remote_control.sh

This was detailed in the following post:

https://blog.loetzimmer.de/2021/09/alexa-remote-control-shell-script.html

You can issue a command like this:

./alexa_remote_control.sh -d Everywhere -e speak:'test announcement'

Which will send "test announcement" to the Everywhere alexa group.

You can also list all alexa devices this way:

./alexa_remote_control.sh -a

How do you do these similar actions using this library? Or am I looking for a different library (getting lost in all the nugets available out there for this and none of them seem similar to what this bash script is doing at first glance).

Thanks!

github-actions[bot] commented 3 hours ago

👋 Hi there! Thanks for your contribution to the project by posting your first issue!