Config for PI Status Board

Just wanted to share the config for using the Pi Status Board (https://thepihut.com/products/status-board-pro). This gives 5 green LEDs, 5 red LEDs and optionally 5 buttons.

The binary_sensor configures the switches, the LEDs are controlled as switches.

binary_sensor:
  - platform: rpi_gpio
    ports:
      14: Switch A
      19: Switch B
      15: Switch C
      26: Switch D
      18: Switch E
    invert_logic: true

switch:
  - platform: rpi_gpio
    ports:
      4: Row 1 Red
      17: Row 1 Green
      27: Row 2 Red
      22: Row 2 Green
      10: Row 3 Red
      9: Row 3 Green
      11: Row 4 Red
      5: Row 4 Green
      6: Row 5 Red
      13: Row 5 Green
2 Likes