No project description provided
Project description
divo
Divoom Pixoo and Divoom Timebox Evo python controller, packet builder/parser and image renderer.
This project aims to fully implement controlling everything the Pixoo can do.
This project is pretty much work in progress
Requirements
- Python 3.7+
- Poetry (
pip install poetry)
Install dependencies using poetry:
poetry install --no-root
Examples
Hints:
- make sure to install the requirements first
- you need a terminal that can render the colors to see the images properly
- add
--send --mac-address 11:75:58:xx:xx:xxto send these packets to your Pixoo - add
--debugfor debug output - there are a lot of tests demo'ing most of the Pixoo modes in the sub-command
test - you can also install divo as a package with
poetry installand then use the installeddivocommand in place ofpoetry run divo
Send image file (16x16 px):
poetry run divo img --send --mac-address 11:75:58:xx:xx:xx test.png
Mudkip (source):
poetry run divo raw 01860044000a0a04aa7f00f40100080000004dbbef2989c8c1c3c5ff9f00ffffff1f1f30bf5c1500002001000000002402000000002402000000004402000000904409000000922449b00140922449b20d64d22469420e64e22471420e27e32471c80ff89b2449ff0d00d6b6adb60d00a06d92b40d00a06d89a40100106d89a401001049893400512802
This gives the following output:
Mudkip (eyes closed):
poetry run divo raw 01860044000a0a04aa7f00f40100080000004dbbef2989c8c1c3c5ff9f001f1f30bf5c15ffffff00000000000000002001000000002402000000002402000000004402000000904409000000922449006c40922449826d64922449426e64da2469436e2693264d486fb09f24c9ed6d00f6ffbfb66d00a06d92a40d00106d89a401001049893400142702
Nyan Cat:
poetry run divo raw 01e40044000a0a04aadd00f401001212173dffffffff0000000000293268ffaa00f193ed7b757bffff02e547da00ff005b585b00aaff6b74b2aa01ff909eddc1d9f2a5e6ff0004000000000000000000000000000000004000420821c618638c4108214208314a29659432c820a594518a31e38c31c619a594518c31e39c73ce1908a1518c49e38471c21808a1519231e38c71c6184aa9518c31c39cb38e194aa9518a49e3ac75d6198c31364a29658c31c6688c3176c618638c735a6bce39b7d67befbdb5de7bce39f7de7befbdf7c27b1042082184104218608031400821841042080384515d02
Palette 4 color test:
poetry run divo raw 015a0044000a0a04aa5300f4010004000000ff0000ff5500ffffffe40000c0000000300000000c000000030000c0000000300000000c000000030000c0000000300000000c000000030000c0000000300000000c00000003000000dc0c02
Palette 8 color test:
poetry run divo raw 01860044000a0a04aa7f00f4010008000000ff0000ff5500ffaa00ffff02adff0000ff00ffffff88c6fa0000e000000000001c000000008003000000007000000000000e00000000c001000000003800000000000700000000e000000000001c000000008003000000007000000000000e00000000c00100000000380000000000070000000000ee1602
Development
Build Dependencies
Install dependencies and pre-commit hooks:
# you may need to install the following tools outside of your virtualenv, too:
pip install poetry pre-commit
poetry install --no-root
poetry run pre-commit install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file divo-0.1.0.tar.gz.
File metadata
- Download URL: divo-0.1.0.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/4.18.0-348.12.2.el8_5.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c13993566839feb13dcfe8d86a774f60d60b273b00599a396fd419da7d55f4e1
|
|
| MD5 |
41c309b5af8af7197c4643371e49a619
|
|
| BLAKE2b-256 |
7990944414c80046ee4014c44d6f3caf99d390c06de0f3461be792f3b2d73b74
|
File details
Details for the file divo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: divo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 51.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/4.18.0-348.12.2.el8_5.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64258919eef5a425dc857e46b758b06ff9a4da94aac1242c30a09e20cf5c5170
|
|
| MD5 |
2e4bddfe8cb7a0774857e970fd7e0487
|
|
| BLAKE2b-256 |
62023eeb40988ce23ec4333b03e74caf5961a25c0c7682f35b134bb45dda1607
|