Skip to content

Kodi plugin to control a relay, connected into a Raspberry Pi, driven by screensaver.

License

Notifications You must be signed in to change notification settings

Qbunjo/relay-addon-kodi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple RPi Libreelec addon to control the relay and turn on the amplifier when needed. Now the amplifier turns on when the screensaver goes off. To get this script working you have to install rpi-tools plugin from libreelec repo. Also, it is necessary to add this script to the autoexec.py to allow automatic startup.

Forked from gabrielmdc (thanks!) The script was slightly changed to meet my requirements. Below you can find information from the author.

Relay kodi addon

This repository is obsolete in favor of this script.service.relay

This addon allow you to switch a relay status, (turn on or turn off)


Installation

Just download the ZIP , and install it using Kodi plugin installer.

Configuration

It use by default the GPIO port 18, where the relay is connected, but you can change it in the file relay.sh

GPIOPORT=18

About

Kodi plugin to control a relay, connected into a Raspberry Pi, driven by screensaver.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.4%
  • Shell 28.6%