{"id":15698003,"url":"https://github.com/0x2b3bfa0/python-omron-mit-elite-plus","last_synced_at":"2025-06-26T19:33:30.064Z","repository":{"id":92704339,"uuid":"277122867","full_name":"0x2b3bfa0/python-omron-mit-elite-plus","owner":"0x2b3bfa0","description":"Python script to extract measurements from an Omron MIT Elite Plus USB blood pressure meter","archived":false,"fork":false,"pushed_at":"2023-08-11T12:15:10.000Z","size":8,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-09T01:07:29.503Z","etag":null,"topics":["blood-pressure","omron","python"],"latest_commit_sha":null,"homepage":"https://github.com/0x2b3bfa0/python-omron-mit-elite-plus","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x2b3bfa0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-04T14:13:06.000Z","updated_at":"2023-10-15T13:22:52.000Z","dependencies_parsed_at":"2024-10-24T02:57:19.606Z","dependency_job_id":"4de8e068-b157-408e-b3be-94490dd71afd","html_url":"https://github.com/0x2b3bfa0/python-omron-mit-elite-plus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0x2b3bfa0/python-omron-mit-elite-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2b3bfa0%2Fpython-omron-mit-elite-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2b3bfa0%2Fpython-omron-mit-elite-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2b3bfa0%2Fpython-omron-mit-elite-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2b3bfa0%2Fpython-omron-mit-elite-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x2b3bfa0","download_url":"https://codeload.github.com/0x2b3bfa0/python-omron-mit-elite-plus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2b3bfa0%2Fpython-omron-mit-elite-plus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262132664,"owners_count":23264041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blood-pressure","omron","python"],"created_at":"2024-10-03T19:22:33.030Z","updated_at":"2025-06-26T19:33:30.017Z","avatar_url":"https://github.com/0x2b3bfa0.png","language":"Python","readme":"# Omron MIT Elite Plus HEM-7301-ITKE7\nPython script to extract measurements from an Omron MIT Elite Plus (`HEM-7301-ITKE7`) blood pressure monitor with USB support (`0590:0028`). This has also been tested to work with an Omron T9P (`HEM-759P-C1`) using the `HHX-CABLE-USB1`. This cable claims to work with `HJ-720IT`, `HEM-7080IT-E` and `HEM-790IT` models, although this has not been tested yet.\n\n***\n\nBased on [https://usb2me.wordpress.com/2013/02/06/omron-mit-elite-plus-hem-7301-itke7](https://web.archive.org/web/20200704141615/https://usb2me.wordpress.com/2013/02/06/omron-mit-elite-plus-hem-7301-itke7/) ([direct link](https://usb2me.wordpress.com/2013/02/06/omron-mit-elite-plus-hem-7301-itke7)).\n\n\u003e _This upper arm blood pressure monitor has memory for last 90 measurements. It records date, time, systolic/diastolic pressure and pulse. It has somewhat more complicated USB protocol using request/response packets. It has also support for wakeup request._\n\n## Installing\n\n```bash\ngit clone https://github.com/0x2b3bfa0/python-omron-mit-elite-plus.git\ncd python-omron-mit-elite-plus\npip install -r requirements.txt\n```\n\n## Linux permissions\nBy default, this script will need to be run as root to gain privileges to access the device. The `elevate` python module is used to request this automatically if running as the current user fails due to permissions issues. In the long term, it is recommended that udev rules be added to allow any (or selected) users to access the USB device so that running as root is not required. To do this:\n1. Copy the [`73-omron-bpm.rules`](./73-omron-bpm.rules) file to `/etc/udev/rules.d/73-omron-bpm.rules`.\n2. Run `sudo udevadm control --reload-rules \u0026\u0026 sudo udevadm trigger` as per [this post](https://unix.stackexchange.com/a/39371) to apply the new rules.\n\n## Windows driver installation\nThis script uses the [PyUSB](https://github.com/pyusb/pyusb) library to communicate with the monitor. On Windows computers this usually needs a backend to be installed - see the [PyUSB readme](https://github.com/pyusb/pyusb) for more details.\n\n[Zadig](https://zadig.akeo.ie/) is one application that has been used with a little bit of trial and error by a family member to get this script / monitor to operate on Windows 10.\n\n## Usage\nThis script is controlled through command line arguments. For example, to read all data on the monitor, write this to `output.csv` and then clear it, run\n```\npython omron_elite_plus.py -r -c -o output.csv\n```\n\n### Options\n```\nusage: omron_elite_plus.py [-h] [-r] [--correct-times] [-c] [-t]\n                           [-n] [-o OUTPUT]\n\nTool for connecting to Omron branded blood pressure monitors\n\noptions:\n  -h, --help            show this help message and exit\n  -r, --no-read         Do not read all data stored on the monitor.\n                        The default action if not provided is to\n                        read everything.\n  --correct-times       When reading, adds an offset from the\n                        computer's time to the monitor's time for\n                        each record to correct for the date and time\n                        on the monitor not being set correctly.\n  -c, --clear           Request that the monitor clear its internal\n                        memory after reading.\n  -t, --time            Get the current time from the monitor.\n  -n, --number          Get the number of records stored on the\n                        monitor.\n  -o OUTPUT, --output OUTPUT\n                        Write the results to the provided file\n                        instead of to the console.\n\n```\n\n## Alternatives\n\n* [UBPM - Universal Blood Pressure Manager](https://codeberg.org/LazyT/ubpm), a [Qt](https://qt.io) graphical application for managing your blood pressure meter, compatible with macOS, Linux and Windows.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x2b3bfa0%2Fpython-omron-mit-elite-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x2b3bfa0%2Fpython-omron-mit-elite-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x2b3bfa0%2Fpython-omron-mit-elite-plus/lists"}