{"id":13420450,"url":"https://github.com/openyou/libomron","last_synced_at":"2025-03-15T06:33:09.770Z","repository":{"id":52112851,"uuid":"186132","full_name":"openyou/libomron","owner":"openyou","description":"Libraries for accessing data from Omron medical devices","archived":true,"fork":false,"pushed_at":"2012-10-29T20:35:42.000Z","size":493,"stargazers_count":93,"open_issues_count":13,"forks_count":30,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-07-31T22:55:18.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://qdot.github.com/libomron","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openyou.png","metadata":{"files":{"readme":"README.asciidoc","changelog":"ChangeLog.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-04-26T17:25:26.000Z","updated_at":"2024-05-31T16:54:31.000Z","dependencies_parsed_at":"2022-09-06T07:52:16.835Z","dependency_job_id":null,"html_url":"https://github.com/openyou/libomron","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openyou%2Flibomron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openyou%2Flibomron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openyou%2Flibomron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openyou%2Flibomron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openyou","download_url":"https://codeload.github.com/openyou/libomron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695464,"owners_count":20332622,"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":[],"created_at":"2024-07-30T22:01:33.929Z","updated_at":"2025-03-15T06:33:09.425Z","avatar_url":"https://github.com/openyou.png","language":"C","funding_links":[],"categories":["TODO scan for Android support in followings"],"sub_categories":[],"readme":"= libomron =\n\nby Kyle Machulis \u003ckyle@nonpolynomial.com\u003e\n\nNonpolynomial Labs - http://www.nonpolynomial.com\n\nwith contributions from\n\n* Brett Viren - SWIG Implementaiton, Python utils\n* And others\n\nIf you find libomron useful, please donate to the project at http://www.pledgie.com/campaigns/14372\n\n== Description ==\n\nlibomron is a mainly C-based implementation of the data retreival\nprotocol for the USB enabled line of omron home medical\nequipment. \n\n== Supported Hardware ==\n\n_Blood Pressure Monitors_\n* HEM-790-IT\n* BP-791-IT\n* M10-IT\n\n_Pedometers_\n* HJ-720-IT\n\nWhile basic communication functions in the library should work for any\nOmron product, there may be differences in packet layout and measure\nunits between US/European/Japanese/etc products... We will try to\ncover these as requested, but the library itself is produced in the\nUS, so that's what I have easiest access to.\n\n== Package Information ==\n\nProject Information @ http://libomron.nonpolynomial.com\n\nSource repo @ http://www.github.com/qdot/libomron\n\nReleases @ http://www.sourceforge.net/projects/nplabs\n\n== A Tale of Two Libraries ==\n\nlibomron comes in two flavors: Win32 and libusb-1.0. The Win32 version\nuses direct Win32 DDK calls to access the windows HID system, and\nreads raw reports from there (which means we aren't required to\ninstall any specific drivers.). libusb-1.0 works for all platforms\ncurrently supporting the library.\n\n== Library Requirements (For Compilation) ==\n\n* CMake (Required on all platforms) - http://www.cmake.org\n* SWIG (For non-C libraries) - http://www.swig.org\n* Python (with dev libraries, for python lib) - http://www.python.org\n* WDK (Windows Only) - http://www.microsoft.com/whdc/devtools/WDK/default.mspx\n* libusb-1.0 (All non-windows platforms) - http://www.libusb.org\n\nTo build on Ubuntu, you can pull the following packages to build the\nproject from source.\n\n* libusb-1.0-0-dev\n* cmake\n* cmake-data\n\nFor OS X, there are build files available for homebrew and macports.\n\n== Build Notes ==\n\nTo build libomron, make a subdirectory in the source dir (called\nwhatever you want), then go into that directory and run\n\"cmake ..\". This will generate the project files for your platform\n(makefiles for OS X and linux, visual studio for windows). For more\ninformation on project generators, look at the cmake documentation.\n\n== Notes on Compilation and Usage ==\n\n=== Mac OS X ===\n\nYou will need to install the \"Omron OS X Extension\" in order to use\nomron software on OS X. The file and installation instructions are\navailable on the libomron sourceforge site, or in the mac binary\npackage if one is available. The kext should work on 10.5 or later.\n\n=== Linux ===\n\nThe VID/PID pair of the omron will need to be blacklisted on linux in\norder to use libomron there without requiring root access. This can be\ndone either in the kernel or through udev. \n\n== License ==\n\n---------------------\nCopyright (c) 2009-2010, Kyle Machulis/Nonpolynomial Labs\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above copyright\n      notice, this list of conditions and the following disclaimer in the\n      documentation and/or other materials provided with the distribution.\n    * Neither the name of the Kyle Machulis/Nonpolynomial Labs nor the\n      names of its contributors may be used to endorse or promote products\n      derived from this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY Kyle Machulis/Nonpolynomial Labs ''AS IS'' AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL Kyle Machulis/Nonpolynomial Labs BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE\n---------------------\n\n== Brett Viren's README ==\n\n(I'm including Brett's README here because I'm too lazy to integrate\nit and just want to get 0.9.0 out. :) )\n\nThis is a fork of http://github.com/qdot/libomron I use to play around\nwith my 790-IT.  Much thanks to qDot for the original heavy lifting!\nThe intention here is to scratch my own itch and feed any useful\nimprovements back to qDot.\n\n* Overview\n\nThis fork adds:\n\n * Python bindings via SWIG\n\n * Python utilities including plotting, device autodetection\n\n * Random bug fixes/improvements on the C side\n\n * A simple Python/TK GUI app.\n\n* Installation\n\n** Pre-requirements\n\n * CMake\n\n * SWIG\n\n** Steps for installation, testing and running\n\nThings are not as polished as they could be, but here is how to go\nfrom nothing to something.\n \nIt assumes these locations:\n\n - git clone to ~/git/libomron\n - build area in ~/opt/omron-build\n - install area in ~/opt/omron\n\n0) Clone github repo by going to http://github.com/brettviren/libomron\n   and selecting a method\n\n cd ~/git\n git clone ...\n\n1) Go to resulting libomron/ directory and install needed qDot\n   submodule (git://github.com/qdot/compily_buildd.git)\n\n cd ~/git/libomron\n git submodule update --init\n\n2) Create and enter installation directory\n\n mkdir -p ~/opt/omron-build\n cd ~/opt/omron-build/\n\n3) Run \"cmake ~/git/libomron\" \n\n4) Run \"make\" and optionally \"make DESTDIR=~/opt/omron install\"\n\n5) Plug in USB and find out device\n\n lsusb | grep Omron\n Bus 005 Device 006: ID 0590:0028 Omron Corp. HJ-720IT Pedometer\n\n(note, my 790-IT blood pressure monitor is identified incorectly, but\nthat is okay)\n\n6) From the numbers above, set this env. var.:\n\n export OMRON_DEV=/dev/bus/usb/005/006\n\n7) Check that it is readable and writable by you:\n\n ls -l $OMRON_DEV\n groups\n\n8) Finally, run the example to readout stored values\n\n ~/opt/omron/usr/local/bin/omron_790IT_test\n\n9) Try out the python bindings do:\n\n export PYTHONPATH=~/opt/omron/usr/local/python\n python ~/opt/omron/usr/local/python/omron/omron_790IT_test.py\n # (this will make a omron.sqlite3 in current directory\n python ~/opt/omron/usr/local/python/omron/store.py\n # (this will dump omron.sqlite3)\n python ~/opt/omron/usr/local/python/omron/plot.py \n # (this wlil plot all readouts)\n\n10) Try the GUI app\n\n # Set PYTHONPATH as above, and print help screen\n python ~/opt/omron/usr/local/python/omron/gui -h\n # Run it, point it to a data file, can be same one produced above\n python ~/opt/omron/usr/local/python/omron/gui -f omron.sqlite3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenyou%2Flibomron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenyou%2Flibomron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenyou%2Flibomron/lists"}