Skip to main content

Onbon dynamic area protocol package

Project description

Onbon 6th series Dynamic area protocol package

Simple package to update and delete dynamic areas on Onbon led controllers listed below:

  • BX6QL
  • BX6Q1
  • BX6Q2
  • BX6Q3
  • BX6Q2L
  • BX6Q3L

Package implements only three commands: Ping, DeleteDynamicArea and UpdateDynamicArea.


  • Pillow - for image processing
  • libscrc - for crc16 checks


Example below creates creeping line dynamic area for one minute:

from onbon import (
    LEDClient, ImageData, DynamicArea, ImageFont,
    Devices, RunModes, DisplayModes

font = ImageFont.truetype('arial.ttf', 12)  # os windows
text = ImageData.from_text('test test test', (32, 16), font)
dynamic_area = DynamicArea(
    runmode=RunModes.CYCLE_TIMEOUT,  # looped with timeout
    displaymode=DisplayModes.CONTINUOUS_MOVE_LEFT,  # creeping line
    timeout=60  # one minute
led = LEDClient(('', 5005), Devices.BX6Q2L)
led.delete_dynamic_areas()  # clears all existing dynamic areas

Project details

Download files

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

Files for onbon, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size onbon-0.0.2-py3-none-any.whl (12.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size onbon-0.0.2.tar.gz (10.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page