Advertisement
Guest User

Untitled

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