Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bleak-dash

An unofficial bleak powered cross platform python library for controlling Wonder Workshop's Dash robot.

NOTICE:

Adapted from original source code Copyright 2016 Ilya Sukhanov https://github.com/IlyaSukhanov/morseapi & updated code Copyright 2018 Russ Buchanan https://github.com/havnfun/python-dash-robot

Key differences:

  • Changed backend from pygatt to bleak
  • Compatible with Python 3.11
  • Cross Platform
  • Asynchronous

Motivation

I wanted to use my kids dash robot from my Mac or my Windows machine without reinventing the wheel.

Compatibility

Using Bleak we should be Windows / Mac / Linux agnostic. Please let me know if any issues. Tested on M1 & Windows

Getting Started

git clone https://github.com/mewmix/bleak-dash
cd bleak-dash
pip install -e . 

Tests

python tests/lightshow_random.py  

Library Quick Start

import asyncio
from dash.robot import DashRobot, discover_and_connect

async def main():
    robot = await discover_and_connect()
    if robot:
        print(f"Connected to {robot.address}")
        # Example command to move Dash
        await robot.move(100, 100)  # Move forward 100mm at 100mm/s
        await robot.disconnect()

if __name__ == "__main__":
    asyncio.run(main())

About

Control Dash Robots from Wonder Workshop on Mac, Windows and Linux thanks to BLEAK !

Topics

Resources

Stars

24 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.