Skip to main content

CyberGear Dashboard

A GUI dashboard for controlling the Xiaomi CyberGear micromotor.

Getting started

Install the package from pip:

pip install CyberGearDashboard

Launch it with CAN bus connection details.

# Connect to motor ID 127 with the serial USB to CAN adapter device /dev/cu.usbmodem101
python -m CyberGearDashboard --motor 127 --channel /dev/cu.usbmodem101 --interface slcan

(see more about CAN devices, below)

CAN bus connection

Unlike the stock Xiaomi CyberGear software, this tool can use any CAN adapter supported by the Python CAN library. If you have trouble connecting, start by connecting to one of the Python CAN tools, in order to get the correct connection settings.

Serial adapters

If you have a CAN to serial adapter, you'll likely be connecting with the slcan interface.

# Replace /dev/cu.usbmodem101 with the device port for the adapter on your computer
python -m CyberGearDashboard --channel /dev/cu.usbmodem101 --interface slcan --motor 127

If that doesn't work, try the serial interface

# Replace /dev/ttyUSB0 with the device port for the adapter on your computer
python -m CyberGearDashboard --channel /dev/ttyUSB0 --interface serial --motor 127

SocketCAN / candlelight / Geschwister Schneider

Linux

On Linux, you can connect using the SocketCAN interface. This will not work on Windows or Mac.

python -m CyberGearDashboard  --interface socketcan --channel can0 --motor 127

Mac/Windows

For Mac and Windows, you can connect to SocketCAN and candleLight devices with the Geschwister Schneider interface. NOTE: you might have to disconnect and reconnect the adapter between uses.

python -m CyberGearDashboard  --interface gs_usb --channel 0 --motor 127

Troubleshooting

If the dashboard has trouble connecting to your device, try connecting via one of the Python CAN tools. Once you're able to connect with one of those tools, use the same arguments to open the dashboard.

For example

# If this connects without error
python -m can.viewer --interface gs_usb --channel 0

# Open the dashboard with the same connection values
python -m CyberGearDashboard --motor 127 --interface gs_usb --channel 0

Metadata

Release files for CyberGearDashboard 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CyberGearDashboard 0.2.1
File Size Uploaded
cybergeardashboard-0.2.1.tar.gz 700.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for CyberGearDashboard 0.2.1
File Interpreter ABI Platform
cybergeardashboard-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 724.4 kB

Release files / cybergeardashboard-0.2.1.tar.gz

Download URL cybergeardashboard-0.2.1.tar.gz
Size 700.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8f301192aa943e94b0264de7c58d17b4b2bb5c23c3f032f5661d4168a5375a5f
BLAKE2b-256 checksum
How to use checksums
9e9c6e3c8b05149be1336a4d3b44efe88c3cc794b9b9478f72c0be7bdb0bf427
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / cybergeardashboard-0.2.1-py3-none-any.whl

Download URL cybergeardashboard-0.2.1-py3-none-any.whl
Size 23.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4cf812f17660692145bfee7a023455679e7eeb4b03963587c2bfcd3c8a146f49
BLAKE2b-256 checksum
How to use checksums
40932392f4045003b579298b30bc797aef1774dfd6d0a83e2273f4fa9712d09c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page