Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- mi-scale:
- image: lolouk44/xiaomi-mi-scale:latest
- container_name: mi-scale
- restart: always
- network_mode: host
- privileged: true
- environment:
- - MISCALE_MAC=0C:95:41:EA:EB:81 # Mac address of your scale
- - MQTT_HOST=192.168.2.18 # MQTT Server (defaults to 127.0.0.1)
- - MQTT_PREFIX=miScale
- - MQTT_USERNAME=censoredmyusername # Username for MQTT server (comment out if not required)
- - MQTT_PASSWORD=censoredmypassword # Password for MQTT (comment out if not required)
- - MQTT_PORT=1883 # Defaults to 1883
- - MQTT_TIMEOUT=60 # Defaults to 60
- # Auto-gender selection/config -- This is used to create the calculations such as BMI, Water/Bone Mass etc...
- # Up to 3 users possible as long as weights do not overlap!
- - USER1_GT=83 # If the weight is greater than this number, we'll assume that we're weighing User #1
- - USER1_SEX=male
- - USER1_NAME=Dennis # Name of the user
- - USER1_HEIGHT=176 # Height (in cm) of the user
- - USER1_DOB=1995-02-21 # DOB (in yyyy-mm-dd format)
- - USER2_LT=82 # If the weight is less than this number, we'll assume that we're weighing User #2
- - USER2_SEX=female
- - USER2_NAME=Tjejnamn # Name of the user
- - USER2_HEIGHT=169 # Height (in cm) of the user
- - USER2_DOB=1996-08-31 # DOB (in yyyy-mm-dd format)
- - USER3_LT=10 # If the weight is less than this number, we'll assume that we're weighing User #3
- - USER3_SEX=male
- - USER3_NAME=Einar # Name of the user
- - USER3_HEIGHT=22 # Height (in cm) of the user
- - USER3_DOB=2019-05-29 # DOB (in yyyy-mm-dd format)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement