pi-gcast-remote
DIY Remote control for Google Cast Devices using Raspberry Pi Zero and Pimoroni Button SHIM
Click on the image below to see the demo
Step-1 - Install drivers for Button SHIM using:
sudo curl https://get.pimoroni.com/buttonshim | bash
Step-2 - Install dependencies using:
sudo apt-get install git
sudo pip3 install pychromecast
Step-3 - Clone the project using:
cd /home/pi/
sudo git clone https://github.com/shivasiddharth/pi-gcast-remote
Step-4 - Declare your Google Cast devices in the g-cast-controller.py script
#Enter the IP Addresses of your Google Cast devices
chromecasts_ip=['192.168.1.4','192.168.1.13']
#Enter the names of the Google Cast devices as in the Google App
chromecasts_name=['Living Room Speaker','Living Room TV']
Step-5 - Setup the script to start on boot using:
sudo chmod +x /home/pi/pi-gcast-remote/scripts/service-installer.sh
sudo /home/pi/pi-gcast-remote/scripts/service-installer.sh