solarium


Namesolarium JSON
Version 0.4.3 PyPI version JSON
download
home_pagehttps://github.com/codingjoe/solarium
SummaryRaspberryPi based LED controller for artificial sunlight
upload_time2024-05-20 14:23:51
maintainerNone
docs_urlNone
authorJohannes Maron
requires_pythonNone
licenseMIT
keywords led raspberrypi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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

.. _ffplay: https://ffmpeg.org/ffplay.html

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/codingjoe/solarium",
    "name": "solarium",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "led, raspberrypi",
    "author": "Johannes Maron",
    "author_email": "info@johanneshoppe.com",
    "download_url": "https://files.pythonhosted.org/packages/c6/18/a65b1eb481a1655d8e64bdb3252bfd5df527072bc7f7b8109676780b7d09/solarium-0.4.3.tar.gz",
    "platform": null,
    "description": "solarium\n===============================================================================\n\n**RaspberryPi based LED controller for artificial sunlight.**\n\nSetup\n-----\n\nInstall and enable PiGPIO::\n\n    sudo apt install python3-pip python3-gpiozero python3-pigpio\n    sudo systemctl enable pigpiod\n    sudo systemctl start pigpiod\n\nInstall the package via pip::\n\n    python3 -m pip install solarium\n\n\nCreate launch script::\n\n    sudo nano /etc/systemd/system/solarium.service\n\nAdd the following lines::\n\n    [Unit]\n    Description=LED controller for artificial sunlight.\n    After=pigpiod.service\n\n    [Service]\n    Type=idle\n    ExecStart=/usr/bin/python3 /usr/local/bin/solarium -v -- 35 13  ### Add correct coordinates\n    Restart=always\n\n    [Install]\n    WantedBy=multi-user.target\n\nLaunch script::\n\n    sudo systemctl enable solarium.service\n    sudo systemctl start solarium.service\n\nRemote access\n-------------\n\nIf you have pigpiod's remote access enabled, you can also lauch the script from your\nlocal machine and specify the correct host::\n\n    solarium --host=10.0.0.1 -- 52 13\n\n\nSound support\n-------------\n\nIf you want to play a background sound using the ``--sound`` option,\nyou will need to install `ffplay`_::\n\n    sudo apt install ffmpeg -y\n\n.. _ffplay: https://ffmpeg.org/ffplay.html\n\nShould you be using an Inter-IC Sound (I2S) board, make sure to run pigpiod's clock\nin PMW mode, to ensure PCM is available for audio::\n\n    sudo pygpiod -t 0\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "RaspberryPi based LED controller for artificial sunlight",
    "version": "0.4.3",
    "project_urls": {
        "Homepage": "https://github.com/codingjoe/solarium"
    },
    "split_keywords": [
        "led",
        " raspberrypi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "28a9ae5d67b5a07b8dc0b5312044c1ba57c50b3786d3ef2e8bf13bf153e974ab",
                "md5": "7375696af2129ef1ab00b3db640aa09e",
                "sha256": "36e572a77d6850324729d5695372d98814d279df681c0aaab5944ed475873319"
            },
            "downloads": -1,
            "filename": "solarium-0.4.3-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7375696af2129ef1ab00b3db640aa09e",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 6162,
            "upload_time": "2024-05-20T14:23:49",
            "upload_time_iso_8601": "2024-05-20T14:23:49.629107Z",
            "url": "https://files.pythonhosted.org/packages/28/a9/ae5d67b5a07b8dc0b5312044c1ba57c50b3786d3ef2e8bf13bf153e974ab/solarium-0.4.3-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c618a65b1eb481a1655d8e64bdb3252bfd5df527072bc7f7b8109676780b7d09",
                "md5": "ce3154f2eed9e0fae11a8515d0023194",
                "sha256": "e132fe7f8764e345f6b70375a326b93cdde057afa2330a915f8667a55e59e055"
            },
            "downloads": -1,
            "filename": "solarium-0.4.3.tar.gz",
            "has_sig": false,
            "md5_digest": "ce3154f2eed9e0fae11a8515d0023194",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6889,
            "upload_time": "2024-05-20T14:23:51",
            "upload_time_iso_8601": "2024-05-20T14:23:51.181308Z",
            "url": "https://files.pythonhosted.org/packages/c6/18/a65b1eb481a1655d8e64bdb3252bfd5df527072bc7f7b8109676780b7d09/solarium-0.4.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-20 14:23:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "codingjoe",
    "github_project": "solarium",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "solarium"
}
        
Elapsed time: 0.91044s