Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 462 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 462 Bytes

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