Skip to content

Custom_components Body Metrics for Xiaomi Miscale 1 and 2 (esphome or BLE monitor for Homeassistant)

License

Notifications You must be signed in to change notification settings

dckiller51/bodymiscale

Repository files navigation

bodymiscale

GH-release GH-downloads GH-last-commit GH-code-size hacs_badge

EN :

The purpose of this custom integration is to have additional information when weighing yourself with a smart scale like Xiaomi Mi Scale. For example you can use ESPHome or BLE monitor to collect the required data via Bluetooth.

Information about the unit of measurement. All calculations are made using the unit of measurement KG. If your scale is set in lbs don't worry Bodymiscale will convert for you. If you want to display your data in lbs you can use the card here lovelace-body-miscale-card. Just click on Convert kg to lbs.

The generated data is :

  • Weight
  • Height
  • Years
  • Gender
  • Bmi
  • Basal metabolism
  • Visceral fat
  • Ideal weight
  • Bmi label
  • Lean body mass *
  • Body fat *
  • Water *
  • Bone mass *
  • Muscle mass *
  • Fat mass ideal *
  • Protein *
  • Body type *

*: When also the impedance sensor is configured


Installation

Via HACS

  • Search "Bodymiscale" recently added Component under Integrations in the HACS Store tab

Manual installation

  • You can install it manually. Simply copy and paste the contents of the bodymiscale/custom_components folder in yourconfig/custom_components. For example, you will get the file __init __.Py in the following path: /config/custom_components/bodymiscale/__init__. py.

Configuration

  1. Open your Home Assistant instance and start setting up a new integration. Click on the button above or go to your HA Configuration (Settings) -> Devices & Services -> Add -> Bodymiscale.

  2. Insert the required data and select your input sensor for weight and optional impedance.