Software Configuration

LightsShow Pi has been written to be highly configurable to handle various hardware configurations, as well as to control the experience of your light-show based upon your own preferences. The latest configuration settings, along with their default values are described in the file config/defaults.cfg.

Overriding Configuration Defaults

As described in config/defaults.cfg you can override any settings by creating a file in /home/pi/.lights.cfg that contains any settings you wish to override. This method is preferred to directly editing the default configuration file such that your changes will not be over-written if and when you update to a new version of LightShow Pi.

9 Comments

  1. Lambetb,

    I am having trouble getting the playlist to work . I am very new to Linux and I think I am lost in the little details . I can pull up the sample playlist and look at the list, but I don’t know what command to use to get the play list to play on a continuous loop . Can anyone give me a basic step by step process.

  2. Hi Todd

    First of all would like to say thanks for a great peice of software. Its all up and running but im using panpipe music but some of them dont react with the relays and others are perfect. Ive been told i can change each individual mp3 – cfg file?. But when i do the custom frequencies reset to nothing again. Its a file that says dont alter but thats the one ive been told to change.

    Can you help , if so what excactly do i do to configure each song correctly.

    Many thanks

    Andy

  3. I need to know how to configure the Arduino and a WS2812 LED strip which works as a Neopixel strip.

    As my LED strip has only a data pin I used ICSP header without modifying the global.h file. I connected the RST pin to A0 on the arduino and strip data pin to 4 (MOSI).

    I don’t know how to upload the sketch to Arduino using CLI (SSH).

    • Hi Sanjay. I’ve no expertise with Arduino – this project is based on the Raspberry Pi. Good luck with your project!

  4. I’ve tried overriding the defaults.cfg by:

    $ cp defaults.cfg overrides.cfg

    $ vi overrides.cfg

    — then I ensure to have only one custom_channel_mapping = 1,1,2,2,3,3,4,4

    $ sudo python py/hardware_controller.py –state=flash
    Press -C to stop
    custom channel mapping is being used
    multiple channels may display that the same time
    channel 1 : gpio pin number 0
    channel 8 : gpio pin number 7

    channel 2 : gpio pin number 1
    channel 7 : gpio pin number 6

    channel 3 : gpio pin number 2
    channel 6 : gpio pin number 5

    channel 4 : gpio pin number 3
    channel 5 : gpio pin number 4

    channel 1 : gpio pin number 0
    channel 8 : gpio pin number 7

    channel 2 : gpio pin number 1
    channel 7 : gpio pin number 6

    channel 3 : gpio pin number 2
    channel 6 : gpio pin number 5

    channel 4 : gpio pin number 3
    channel 5 : gpio pin number 4

    channel 1 : gpio pin number 0
    channel 8 : gpio pin number 7

    any ideas? It seems as though my configuration file wont update to reflect my changes? Any file cached somewhere?

Leave a Reply

Your email address will not be published. Required fields are marked *