Smart Plug with LibreELEC

  • Hi, I want to turn on my cinematic lights etc. automatically when LibreELEC starts. I tried to install this, but it does not work:

    Code
    sudo apt-get install build-essential
    Code
    sudo apt-get install git-core
    git clone git://git.drogon.net/wiringPi
    cd wiringPi
    git pull origin
    ./build
    Code
    sudo mkdir /opt/rcswitch-pi
    cd /opt/rcswitch-pi
    sudo wget http://www.onkeldave.de/pi/rcswitch-pi.zip
    sudo unzip rcswitch-pi
    sudo make

    I read that it is disabled to install things like this because of stability, but I would like to do it anyway. Can you tell me how?

  • The problem is that I need rcswitch in addition to wiringPi and for example the command:

    Code
    sudo /opt/rcswitch-pi/send 11111 4 1

    Has someone done this already?

    Edited once, last by Loomis (September 7, 2017 at 5:45 PM).