conoro / yunmai-data-extract

Extract your data from the Yunmai weighing scales cloud API so you can use it elsewhere
MIT License
31 stars 8 forks source link
android android-platform api etl fitbit fitness google node nodejs phone scale scale-data scales toml weighing weight yunmai yunmai-weighing-scales

Intro

NOTE: As the API is now HTTPS (in 2022), this code doesn't work, and is unlikely to ever work, unless Yunmai opens up their API.

The Yunmai weighing scales is an impressive inexpensive smart scales with Bluetooth. I bought mine from GearBest. If you install their app on your phone, it will connect to the scales and save all of your data, each time you weigh yourself.

Whilst it isn't obvious, Yunmai is also saving all of your data to their Cloud. Unfortunately they have no webapp for accessing this data and no way for you to dump it out either.

This App will access that data on their API and save it in various formats locally and optionally on Google Sheets for you to re-use elsewhere.

LICENSE: MIT

Setting it up for yourself (Android only for the moment)

git clone https://github.com/conoro/yunmai-data-extract
cd yunmai-data-extract
npm install
userId = userId variable from requests
code = code variable from requests
token = token variable from requests
node index.js