Skip to main content

# hifipower

high fidelity equipment power controller daemon

A daemon running on an Orange Pi or RPi, exposing a web API for switching the audio equipment on or off, using a relay connected with one of the GPIO pins.

This software reads a configuration file (/etc/hifipowerd.conf) and gets the pin numbers for shutdown and reboot buttons, automatic mode sense and relay drive output. Then the web API is started, exposing three endpoints:

address/hifi/power (GET) - get the current state as JSON,

address/hifi/power/on (GET) - turns the power on,

address/hifi/power/off (GET) - turns the power off.

Future features

Use PulseAudio or ALSA to detect lack of audio signal on the input (configurable), then if no audio is present for a preset time (e.g. 10 minutes), turn the equipment off automatically. Prevents idle power draw by e.g. vacuum tube amplifiers.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hifipower-0.2.1.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file hifipower-0.2.1.tar.gz.

File metadata

  • Download URL: hifipower-0.2.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for hifipower-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c09f80e1cf1589c3cf87459ac5dc0df9996b5cf120805fc9136c12df09eeff57
MD5 6a85fc41ef1dfe10d1547fa90399e858
BLAKE2b-256 81a608e13a760e9119b3312dd61a4ec44dc602ce9a501fe13768ae10f9ccdf95

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 file

0.2

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page