Thanks to visit codestin.com
Credit goes to github.com

Skip to content

masteryodha/hass-renpho

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

This is only working with the "Renpho - Outdated" app. If you are using the new Renpho Health, it will not work correctly

Renpho Weight

This is a custom component to import weight and last weigh time from the Renpho app into Home Assistant. You have to use the old outdated Renpho app for this integration Android: https://play.google.com/store/apps/details?id=com.qingniu.renpho&hl=en_US Apple: https://apps.apple.com/us/app/renpho-outdated-version/id1219889310

Installation

Copy this folder to <config_dir>/custom_components/renpho_weight/.

Configuration

  • email is mandatory and represent the email you use to log in the app
  • password is mandatory and represent the password you use to log in the app
  • refresh is optional and represent the time to check for update.
  • weight_units is optional and represent the unit of every MASS sensor. Possible values are 'kg' or 'lb'.

For example, add the following entry in your configuration.yaml:

renpho_weight:
  email: <email address>
  password: <password>
  refresh: 600
  weight_units: [kg | lb]

sensor:
  platform: renpho_weight

Important information

  • Bear in mind everytime you log in it logs you out of the app, so in my example it gives me ten minutes (660 seconds) between checking in case I ever wish to browse the app.
  • The MASS data are stored in Kg on the renpho API. So, if you select the weight_units, in lb, a conversion will be made by a factor of 2.2046226218

RoadMap / What's to come

  • Get All the users and create sensor for all of them
  • Specify in the config which users to get
  • Don't get logged out of mobile app when connecting via this python

About

Retrieve last weight and timestamp from Renpho app for use in Home Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%