Skip to content

reading data from Beurer BM 58 (bm58) blood pressure monitor

License

Notifications You must be signed in to change notification settings

roose242/bmdump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

bmdump

reads data from Beurer BM 58 blood pressure monitor and output the result in csv format

Tested with the hid edition of the Beurer BM 58 blood pressure monitor connected to a Linux host.

It may work with the hid models of BM 55 and BM 65 too. (never tested)

requirements

requires python 3 and hid (ctypes bindings for hidapi)

read https://pypi.org/project/hid/

In case of permission issues read the hints at the bottom of this document.

usage

usage: bmdump.py [-h] [-f FILE] [-u USER] [-n] [-b DATE] [-e DATE] -d CHAR [-s CHAR]

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --update FILE
                        output latest measurements to a file
  -u USER, --user USER  data for the given user only
  -n, --skip-header     skip header output, in case a file name of a non empty file is given, header output is skipped automatically
  -b DATE, --date-start DATE
                        measurements not older than the given date
  -e DATE, --date-end DATE
                        measurements not newer than the given date
  -d CHAR, --device CHAR
                        device name [bm55, bm58, bm65]
  -s CHAR, --delimiter CHAR
                        data delimiter

permissions

keep in mind that connecting to the usb device may need special permissions

You may need to add a new udev rules file:

/etc/udev/rules.d/10-bm58.rules

with the following content:

SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}="c45/7406/170", OWNER="YOUR_USER"

(replace YOUR_USER with your user name)

About

reading data from Beurer BM 58 (bm58) blood pressure monitor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages