Skip to main content

Asynchronous Python library for Divoom Pixoo64 LED display

Project description

AioPixooAPI

A Python library for interacting with Divoom Pixoo devices and the Divoom online API.

Installation

Install the library using pip:

pip install aiopixooapi

Usage

Pixoo64 (Device API)

The Pixoo64 class is used to interact with a Pixoo64 device on your local network.

import asyncio
from aiopixooapi.pixoo64 import Pixoo64

async def main():
    async with Pixoo64("192.168.1.100") as pixoo:
        # Reboot the device
        response = await pixoo.sys_reboot()
        print(response)

        # Get all settings
        settings = await pixoo.get_all_settings()
        print(settings)

asyncio.run(main())

Divoom (Online API)

The Divoom class is used to interact with the Divoom online API.

import asyncio
from aiopixooapi.divoom import Divoom

async def main():
    async with Divoom() as divoom:
        # Get dial types
        dial_types = await divoom.get_dial_type()
        print(dial_types)

        # Get dial list for a specific type and page
        dial_list = await divoom.get_dial_list("Social", 1)
        print(dial_list)

asyncio.run(main())

Development

Setup

To set up the development environment, clone the repository, create a virtual environment and install the required packages

pip install -e .
pip install -e .[test]

Running Tests

To run the tests using pytest, execute:

pytest

Or to run tests in a specific file:

pytest tests/test_pixoo64.py

Documentation

http://docin.divoom-gz.com/web/#/5/23

Sources used

Divoom

That gives us:

Where the contact page:

Send us to

OLDER REFERENCES

License

This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.

Project details


Download files

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

Source Distribution

aiopixooapi-0.2.2.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiopixooapi-0.2.2-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file aiopixooapi-0.2.2.tar.gz.

File metadata

  • Download URL: aiopixooapi-0.2.2.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aiopixooapi-0.2.2.tar.gz
Algorithm Hash digest
SHA256 8ca43f9c6f1212ce9ddfdcdaa39c095bc2c2c3f92cac460d11cfb22075ec8c33
MD5 94a550dcf87a761dd4d73b160011331c
BLAKE2b-256 9e5bee4a996402e5dbf9cc62f0be35122b4a27671686f41e1a57cd89927e3dda

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiopixooapi-0.2.2.tar.gz:

Publisher: python-publish.yml on KoenDierckx/aiopixooapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aiopixooapi-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: aiopixooapi-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aiopixooapi-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e025740fb5af196bb82fbd85807d33f69f735082078fb74e1f5ad54858465494
MD5 0170988797c5958041af483fb0b7c7b5
BLAKE2b-256 67f815c3df4490de163f6b84b9dd7e0d49a38b27398c2d357a0a57b1a9cf3551

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiopixooapi-0.2.2-py3-none-any.whl:

Publisher: python-publish.yml on KoenDierckx/aiopixooapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page