Sign inSign up

gpajot/qbee-gpio

By gpajot

•Updated 9 days ago

Control a display and amplifier relay for use in an AirPlay and/or Spotify Connect Raspberry Pi serv

Image
0

3.0K

gpajot/qbee-gpio repository overview

⁠qbee-gpio

tests PyPI Version Docker Image Version (tag)

A docker image to control an LCD and amplifier relay for use in an AirPlay and/or Spotify Connect Raspberry Pi server.

  • Detect sound output and turn on the amplifier power supply.
  • Get the track information and display it on an LCD.
  • Auto turn off amplifier power supply after set period of inactivity.

Additional documentation:

⁠Running

docker run -d \
  --name qbee \
  --restart always \
  --network host \
  -e LG_WD=/tmp \
  --device=/dev/gpiochip0 \
  -v ~/qbee:/app/config:ro \
  --user $(stat -c '%u:%g' ~) \
  --group-add $(stat -c '%g' /dev/gpiochip0) \
  gpajot/qbee-gpio:latest

This expects a config file located at ~/qbee/conf.yaml. See all config options⁠

A typical config would look like:

power:
  pin_on: 27
  pin_standby: 22
display:
  lcd:
    pins:
      data_4: 9
      data_5: 25
      data_6: 17
      data_7: 10
      enable: 24
      register_select: 23
⁠Metadata display

To enable reception of metadata:

udp:
  host: "0.0.0.0"

to enable UDB metadata (librespot and/or shairport)

mqtt:
  hostname: ...

to enable MQTT metadata (shairport)

Tag summary

Content type

Image

Digest

sha256:67e679795…

Size

29.4 MB

Last updated

9 days ago

docker pull gpajot/qbee-gpio