/kodi-cecstartstop

Starts and stops Kodi when TV powers on and off with a remote control. Made for Raspberry Pi running Raspbian.

Primary LanguagePython

Starts and stops Kodi when TV powers on and off with a remote control. Made for Raspberry Pi running Raspbian.

Requirements

A user named kodi for the kodi service, in groups render, audio, lp

Install procedure

sudo pip3 install cec

sudo apt install kodi-eventclients-kodi-send

sudo mv *.service /etc/systemd/system/

sudo mv kodistartstop.py /usr/bin/kodistartstop.py

sudo chmod +x /usr/bin/kodistartstop.py

sudo systemctl enable kodistartstop.service