User Tools

Site Tools


informatica:iot:cubos

This is an old revision of the document!


https://www.bujarra.com/jugando-con-cubos-magicos-en-home-assistant/

Cubos de alixpress: https://es.aliexpress.com/item/32895216845.html

Gateway Zigbee: https://www.amazon.es/dp/B07PZ7ZHG5/

Cubos AQARA

Instalar Home Assitant

Instalamos docker y paquetes necesarios

sudo apt-get install -f software-properties-common
sudo su -
add-apt-repository universe
apt-get update
apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common
curl -sSL https://get.docker.com | sh

Ahora instalamos home assistant del repositorio de github

Repositorio: https://github.com/home-assistant/supervised-installer

Comandos para instalar:

curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh
bash installer.sh --machine raspberrypi4

Spotify

https://www.home-assistant.io/integrations/spotify/

# Example script to play playlist
script:
  play_jazz_guitar:
    sequence:
      - service: media_player.play_media
        data:
          entity_id: media_player.spotify
          media_content_id: "https://open.spotify.com/playlist/4kPUSDh6ELg2QX251qM6zi?si=cEt1dw6mRYiulWN4uj9o4w"
          media_content_type: playlist
informatica/iot/cubos.1613169913.txt.gz · Last modified: 2021/02/12 22:45 by jose