Toolverse
All skills

alexa-remote

by openclaw

Control Alexa devices via CLI - set alarms, play music, flash briefings, smart home commands. Use when asked to set an alarm, play something on Echo, control smart home devices, or send voice commands to Alexa.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
Backend
Views
1

About this skill

Control Alexa devices via CLI - set alarms, play music, flash briefings, smart home commands. Use when asked to set an alarm, play something on Echo, control smart home devices, or send voice commands to Alexa.

How to use

  1. Sklonuj repozytorium alexa-remote-control na swoją maszynę, wpisując w terminal: git clone https://github.com/adn77/alexa-remote-control.git, następnie przejdź do folderu cd alexa-remote-control.

  2. Uzyskaj token odświeżający z Amazon, uruchamiając npx alexa-cookie-cli. Otwiera się przeglądarka – zaloguj się na swoje konto Amazon. Po uwierzytelnieniu skopiuj refreshToken (zaczyna się od Atnr|).

  3. Utwórz plik skryptu (np. alexa-alarm.sh) i wstaw do niego swoje dane: REFRESH_TOKEN, AMAZON (amazon.com lub amazon.co.uk) i ALEXA (alexa.amazon.com lub alexa.amazon.co.uk). Ustaw uprawnienia wykonywania: chmod +x alexa-alarm.sh.

  4. Ustaw alarm na wybranym urządzeniu, wpisując ./alexa-alarm.sh "6:30 am" (domyślne urządzenie) lub ./alexa-alarm.sh "7:00 am" "Kitchen Echo" (konkretne urządzenie).

  5. Wydawaj inne polecenia tekstowe, np. ./alexa_remote_control.sh -d "Living Room Echo" -e "textcommand:Turn off the lights" do sterowania oświetleniem, lub -e "textcommand:Play BBC Radio 6" do odtwarzania muzyki na wybranym Echo.

Related skills