ReverseMiScale
A Python app reading Xiaomi Mi Scale data
Install / Use
/learn @Wingjam/ReverseMiScaleREADME
Reverse Mi Scale
Read Xiaomi Mi Scale v1 data from a Raspberry Pi in Python 3.
Run
- Install dependencies
pip install -r requirements.txt
- Run the demo (must be run with
sudo)
sudo python example.py --help
sudo python example.py
- Optionnal, if you want to find your Mi Scale MAC Address
sudo hcitool lescan
Run tests
pytest
Output samples
{
"UUID": "181d",
"address": "c8:0f:10:bf:cc:66",
"isStabilized": false,
"loadRemoved": true,
"manufacturerData": "5701c80f10bfcc66",
"rawData": "820000e2070b0f082924",
"sequence": 10532,
"unit": "kg",
"weight": 0.0
}
{
"UUID": "181d",
"address": "c8:0f:10:bf:cc:66",
"isStabilized": true,
"loadRemoved": false,
"manufacturerData": "5701c80f10bfcc66",
"rawData": "226455e2070b0f0c1d1b",
"sequence": 7451,
"unit": "kg",
"weight": 109.3
}
{
"UUID": "181d",
"address": "c8:0f:10:bf:cc:66",
"isStabilized": true,
"loadRemoved": true,
"manufacturerData": "5701c80f10bfcc66",
"rawData": "a26455e2070b0f082a23",
"sequence": 10787,
"unit": "kg",
"weight": 109.3
}
{
"UUID": "181d",
"address": "c8:0f:10:bf:cc:66",
"isStabilized": false,
"loadRemoved": false,
"manufacturerData": "5701c80f10bfcc66",
"rawData": "02e402b2080101010422",
"sequence": 1058,
"unit": "kg",
"weight": 3.7
}
Source of inspiration
Thanks for providing those awesome open source projects.
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
104.6kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
345.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
