Posts by Arakon

    Well, my ambilight is set up (minus final calibration) and works fine.
    Power distribution is done via a power splitter board (actually intended for a drone originally), connected via an XT30 plug (can handle 30 amps).
    All devices and the strip are powered from that board.
    The PSU had to go down on the sideboard since the gap between TV and wall is too small. I'm using an original Raspberry Pi Zero (without wlan), hence the wlan stick on the USB hub.
    Certainly not the prettiest wiring job, but it does the trick with what little space I have behind the TV.

    Ok, I managed to hack together a solution.


    This goes in /usr/local/bin/ as hyper-switch.py.
    sudo chmod +x /usr/local/bin/hyper-switch.py



    This goes in /etc/init.d/ as hyper-switch.sh
    sudo chmod +x /etc/init.d/hyper-switch.sh


    Finally run
    sudo update-rc.d hyper-switch.sh defaults


    Reboot.

    Connect a pushbutton between pin 5 (GPIO3) and GND.
    Pressing the button will toggle between setting the LED strip to all black and resuming normal operation.


    The code and info is mostly bits and pieces I found online and adjusted to fit my needs.. it seems to work fine so far.

    I'm very new to the raspberry and not a coder at all (much better at messing with the hardware than the software).. Do you have an example? I tried digging around some already, but all the tutorials seem to require decent coding knowledge and only give parts of the needed info, not a "from scratch" approach.

    For some reason, I see a lot of tutorials powering the Pi from a seperate power supply. Is there any specific reason for this, instead of just using the 5V high amp PSU that is used to power the LED strip?

    Hi.


    I'm wondering if there's a way to disable the LED strip using a simple pushbutton connected to the GPIO?
    I'm waiting for the LED strip currently, going to set up a HDMI-input ambilight with the standard raspberry-grabber-hdmi splitter-hdmi converter combination.
    I saw there are plugins for Kodi etc for this, but no standalone options.