idotmatrix-api-client
Control 16x16, 32x32 and 64x64 sized iDotMatrix Pixel Displays
Features
A library to control displays like the one on the right without the official iDotMatrix app, based on its reverse engineered Bluetooth protocol.
Looking for Home Assistant? The ha-idotmatrix integration is built on this library.
- Show photos, animated GIFs and pixel art, with text on top, or store them in the slots of the device so that it cycles through them on its own
- Clock, countdown, chronograph, scoreboard, graffiti board, effects and a full screen color
- Scrolling text with the bundled pixel fonts
- Music sync with the microphone of the device
- Brightness, eco mode, power and time
- Digital picture frame for a folder of pictures
- Terminal UI to try all of it
- Works with the 16x16, 32x32 and 64x64 displays, with
bleakor with the Bluetooth stack of Home Assistant
Open ends (alarm and buzzer, the cloud API, password protection, firmware update) are collected in the device protocol notes.
Getting Started
You need Python 3.12 or newer and a display that works with the iDotMatrix app (Windows may work but is untested).
Terminal UI
The quickest way to try your display: browse a folder, preview how pictures and animations look on the display, send them, and control its features, with a pixel editor.
pip install 'idotmatrix-api-client[tui]'
idotmatrix-tui /path/to/pictures
See the TUI notes for the keys and options.
API Client
To control the display from your own code, install the library and use the IDotMatrixClient:
pip install idotmatrix-api-client
import asyncio
from idotmatrix import IDotMatrixClient, ScreenSize
async def main():
client = IDotMatrixClient(screen_size=ScreenSize.SIZE_64x64)
await client.connect() # connects to the first iDotMatrix display it finds
await client.set_brightness(50)
await client.text.show_text("Hello World!")
await client.image.show_image_file("photo.jpg")
asyncio.run(main())
The examples show more: GIFs, labels, effects, and storing files in the slots of the device.
Digital Picture Frame
The DigitalPictureFrame class builds on the client and shows images and GIFs as a slideshow. It can
- display a static list of images and/or GIFs
- watch one or more directories for images and GIFs
- automatically reconnect to the device in case of an error or connection loss
See examples/example_digital_picture_frame.py for how to use it.
Home Assistant and other Bluetooth stacks
If something else owns the Bluetooth stack, like Home Assistant with its scanner and Bluetooth proxies, see the integration notes.
Fonts
Text is drawn in 1-bit cells without anti-aliasing, so pixel fonts work best. The package bundles a selection that was
tested at fixed font_size values. See the font notes for the sizes, licenses and how to add more.
Helpful Links
- This project
- idotmatrix-api-client on PyPI
- Device protocol notes: what is known about the Bluetooth protocol of the displays
- Related projects
- ha-idotmatrix: Home Assistant integration built on this library
- derkalle4/python3-idotmatrix-library: the original project this is a fork of
- 8none1/idotmatrix: further notes and tools for the displays
- fbnlrz/homeyidotmatrix: Homey integration with protocol notes
- The official iDotMatrix app (Android)
- Create images or GIFs
- pixilart: create a new drawing and select a preset for the size of your display (e.g. 64x64)
Other Hardware
This software is specifically built for devices which are supported by the iDotMatrix app. There are other devices being sold which have a similar form factor and claim to be compatible, but which are not. Below is a list of known non-iDotMatrix-compatible hardware and associated software.
- For hardware supported by the "LOY SPACE" app: https://github.com/eskibars/popledder/
Contributing
GitHub is for social coding: if you want to write code, I encourage contributions through pull requests from forks of this repository. Create GitHub tickets for bugs and new features and comment on the ones that you are interested in.
To work on the library, see the development notes.
License
Distributed under the GNU GENERAL PUBLIC License. See LICENSE for more information.
Differences From The Original Project
This is a fork of derkalle4/python3-idotmatrix-library, which is no longer maintained. The fork continues its development and maintenance.
The API is not compatible with the original: the structure was reworked for usability and maintainability, so code written for the original needs some adjustments to run with this library. Returning the raw bytearray data of commands was dropped to keep the library simple.
Acknowledgements
Original project by derkalle4 and jmgraeffe.
- Othneil Drew - README Template
- LordRippon - Reverse Engineering for the Displays
- 8none1 - Reverse Engineering for the Displays
- schorsch3000 - smaller fixes
- tekka007 - code refactoring and reverse engineering
- inselberg - Reverse Engineering for the Displays
Metadata
Release files for idotmatrix-api-client 1.0.0
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 |
|---|---|---|---|---|
| idotmatrix_api_client-1.0.0.tar.gz | 474.2 kB | With provenance | Details for idotmatrix_api_client-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| idotmatrix_api_client-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for idotmatrix_api_client-1.0.0-py3-none-any.whl |
Total release size: 991.5 kB
Release files / idotmatrix_api_client-1.0.0.tar.gz
| Download URL | idotmatrix_api_client-1.0.0.tar.gz |
|---|---|
| Size | 474.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
735fbe6af9afb27e224cf2cad1a1f23d33f9da7bae48817c91e99de3cffc135b
|
|
BLAKE2b-256 checksum How to use checksums |
24e42525f9bfef68c2ca2948100330c337922b9df6b24ff84211497b547110b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / idotmatrix_api_client-1.0.0-py3-none-any.whl
| Download URL | idotmatrix_api_client-1.0.0-py3-none-any.whl |
|---|---|
| Size | 517.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7448f87c323b9d963cc084801e732e6444eeaeee43c83f7b2d912b75022db207
|
|
BLAKE2b-256 checksum How to use checksums |
ee05a7fc728293cd193f795be5eaac27a33d1e7323f31f11bf48c3f807842743
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for idotmatrix-api-client 1.0.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for idotmatrix_api_client-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA 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.