Skip to content

kernelb00t/home-assistant-moode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

home-assistant-moode

Manages power of a Home Assistant entity based on hardware playing state, to control speakers, amps, etc...

Warning

This script only support ALSA cards, not Bluetooth connections. However, any type of software that opens and closes the ALSA card are supported. Snapcast is not supported as it opens the card at startup and never close it even if no source is connected.

  1. Put the script somewhere (in your home for example) and modify variables to enter credentials.
  2. Make it executable :
chmod +x /home/user/home-assistant-moode.sh
  1. Put home-assistant-moode.service file in /etc/systemd/system/
  2. Modify the path and the user/group that correspond to the script's path and your user/group you are connecting with, in this service file.
  3. Enable and start the service:
sudo systemctl daemon-reload sudo systemctl enable home-assistant-moode.service sudo systemctl start home-assistant-moode.service

About

Manages power of a WiFi Shelly Plug S, to control speakers, amps, etc...

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages