openpixel (example config files)

Machine config examples

Here are some example machine-wide config files that show real-world examples of how these configs are used.

Note that there are multiple machine config examples here. They’re just included to show different options. You wouldn’t actually use more than one.

#config_version=5

lights:
  test_led:
    number: 99
    type: grb
  test_led2:
    number: 0-20
    type: grb
  test_led3:
    number: 1-99
    type: grb
#config_version=5

config:
- config.yaml

lights:
  test_rgbw:
    channels:
      red:
        - number: 2-0
      green:
        - number: 2-1
      blue:
        - number: 2-2
      white:
        - number: 2-3
  test_rgbw2:
    channels:
      red:
        - number: 2-4
      green:
        - number: 2-5
      blue:
        - number: 2-6
      white:
        - number: 2-7
  test_led_serial:
    previous: test_led2
    type: rgb
  test_led_serial2:
    previous: test_led_serial
    type: rgbw