solarium
RaspberryPi based LED controller for artificial sunlight.
Setup
Install and enable PiGPIO:
sudo apt install python3-pip python3-gpiozero python3-pigpio sudo systemctl enable pigpiod sudo systemctl start pigpiod
Install the package via pip:
python3 -m pip install solarium
Create launch script:
sudo nano /etc/systemd/system/solarium.service
Add the following lines:
[Unit] Description=LED controller for artificial sunlight. After=pigpiod.service [Service] Type=idle ExecStart=/usr/bin/python3 /usr/local/bin/solarium -v -- 35 13 ### Add correct coordinates Restart=always [Install] WantedBy=multi-user.target
Launch script:
sudo systemctl enable solarium.service sudo systemctl start solarium.service
Remote access
If you have pigpiod’s remote access enabled, you can also lauch the script from your local machine and specify the correct host:
solarium --host=10.0.0.1 -- 52 13
Sound support
If you want to play a background sound using the --sound option, you will need to install ffplay:
sudo apt install ffmpeg -y
Should you be using an Inter-IC Sound (I2S) board, make sure to run pigpiod’s clock in PMW mode, to ensure PCM is available for audio:
sudo pygpiod -t 0
Metadata
Release files for solarium 0.4.3
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 | |
|---|---|---|---|---|
| solarium-0.4.3.tar.gz | 6.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| solarium-0.4.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 13.1 kB
Release files / solarium-0.4.3.tar.gz
| Download URL | solarium-0.4.3.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e132fe7f8764e345f6b70375a326b93cdde057afa2330a915f8667a55e59e055
|
|
BLAKE2b-256 checksum How to use checksums |
c618a65b1eb481a1655d8e64bdb3252bfd5df527072bc7f7b8109676780b7d09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / solarium-0.4.3-py2.py3-none-any.whl
| Download URL | solarium-0.4.3-py2.py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
36e572a77d6850324729d5695372d98814d279df681c0aaab5944ed475873319
|
|
BLAKE2b-256 checksum How to use checksums |
28a9ae5d67b5a07b8dc0b5312044c1ba57c50b3786d3ef2e8bf13bf153e974ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for solarium 0.4.3
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.