A reverse-engineered, non-certified tool and documentation set for decoding blood glucose readings from Yuwell 5 HSE (Anytime CGM) BLE broadcasts without relying on the official mobile app.

Stars

6

7-day growth

No data

Forks

2

Open issues

0

License

No data

Last updated

2026-07-31

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides a rare, publicly documented end-to-end breakdown of a consumer CGM's BLE protocol, encryption scheme, and data format, with working Python and web-based tooling for local monitoring.

Who it is for

  • People using Yuwell 5 HSE / Anytime CGM who want local access to their glucose data
  • Developers building personal CGM dashboards or data logging tools
  • Reverse-engineering and IoT security enthusiasts studying BLE medical devices

Use cases

  • Decoding glucose and temperature data directly from BLE advertisements
  • Continuously logging CGM readings into a local SQLite database with a web dashboard
  • Exploring GATT services and device characteristics for research
  • Understanding the encryption and packet format used by this CGM device

Strengths

  • Documents hardware IDs, BLE services, packet layout, and the full XOR plus bit-flip decryption algorithm
  • Includes practical tools for one-off decoding, continuous monitoring, database backup, and a read-only web API
  • Emphasizes data safety with fail-closed behavior, protected database files, and tests that never touch production data
  • Covers honest caveats about unverified checksum logic and legacy reverse-engineering notes

Considerations

  • Not certified or intended for medical diagnosis or treatment decisions
  • The final checksum algorithm is not confirmed, and some app reverse-engineering names require further verification
  • Requires a device-specific sureClose key and one sensor per database, limiting casual multi-device use

README quick start

使用方法

Related repositories

Similar projects matched by category, topics, and programming language.

TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
vercel-labs
Featured
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

Developer ToolsCode Quality & Build
1,985
Jakubantalik
Featured
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI & Machine LearningAI Agents
1,191