Git Product home page Git Product logo

wmr100's Introduction

Oregon Scientific WMR100 client for Linux/BSD/etc.

Supports

Oregon Scientific WMR100 Oregon Scientific WMR200 Oregon Scientific RMS300A

Introduction

The WMR100/200 use a proprietary protocol for their USB connection. It's very useful for enthusiasts running a headless Linux box to collect and analyze data from this link, but unfortunately the protocol isn't openly documented, nor are clients provided for this platform.

This simple C program handles the USB protocol of the WMR100, and translates it an ASCII line-format, easy for parsing/analysing.

You'll need to setup the udev rules (see udev/README) if you want to run this not as root. This is due to how libhid accesses the USB ports.

Requisites

libhid-dev (or similarly named) package installed. pkg-config package installed.

Building

Run 'make'.

To install, copy wmr100 to your path.

One time install for osx To keep the default HIDManager from taking the wmr100, run this once: make setup_osx If you want to use different software to read the wmr100 device, you should undo this by running make unsetup_osx and then reboot so that the HIDManager will take control of the device again.

Usage

I'd suggest you run ./wmr100, which will dump data to data.log as well as stdout. You can then process periodically data.log with a script in python/perl/ruby/your language of choice, and frob with the data that way.

Alternativally you could adapt the original C code to write to a database directly instead, but that's more pain that I'm willing to endure. :-)

wmr100's People

Contributors

barnybug avatar dherbst avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.