# 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.
Metadata
Release files for hifipower 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hifipower-0.2.1.tar.gz | 6.1 kB | Without provenance | Details for hifipower-0.2.1.tar.gz |
Release files / hifipower-0.2.1.tar.gz
| Download URL | hifipower-0.2.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c09f80e1cf1589c3cf87459ac5dc0df9996b5cf120805fc9136c12df09eeff57
|
|
BLAKE2b-256 checksum How to use checksums |
81a608e13a760e9119b3312dd61a4ec44dc602ce9a501fe13768ae10f9ccdf95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|
Security for hifipower 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.