TiZeRa / BS440

Python code to talk to Medisana BS440 bluetooth enabled bathroom scale

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BS440

Python code to talk to Medisana BS440 bluetooth enabled bathroom scale User managementboy reports succes with the Medisana BS444 too.

Blog info

https://keptenkurk.wordpress.com/2016/02/07/connecting-the-medisana-bs440-bluetooth-scale/

Prequisits

  • Installed Pygatt 3.0.0 release
  • Installed BLE adapter

Tested on

  • Raspberry Pi B+ (Linux raspberrypi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l GNU/Linux).

Description

BS440 listens for information from a BS440 or compatible bluetooth scale. When received, it passes the information, depending on which option are enabled in the file BS440.ini, to the following possibilities:

Preferences

Before using this app, personalize your settings in the file BS440.ini.

Domoticz

Just uncomment the following two lines in the BS440.ini and fill in the right url! Then run it, the sensors will be automatically generated. That easy!

[Domoticz]
domoticz_url: 127.0.0.1:8080

The optional option hardware_name is the name of the dummy hardware to you can use, if you leave it empty or commented it out, it uses Medisana as default.

After a first run BS440domoticz.ini is generated. In which you can override the ids to use (if necessary). Note that the weight sensors are identified by ID and Unit while the other sensors are identified by idx in BS440domoticz.ini.

domoticz

Disclaimer

This software is build out of personal interest and not related to Medisana AG in any way.

About

Python code to talk to Medisana BS440 bluetooth enabled bathroom scale

License:MIT License


Languages

Language:Python 100.0%