diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2019-04-13 11:45:12 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2019-04-13 11:45:12 +0300 |
| commit | 04bf0cfea3f012fb8afc660d699ccf4b11db9681 (patch) | |
| tree | 3cfc4895b3f209c9b29a2671b4f54b0cc473269e /README.md | |
| parent | e074834e6d3b8cd1453569a5835859a98e1e6cae (diff) | |
| download | ruuvitag-upload-04bf0cfea3f012fb8afc660d699ccf4b11db9681.tar.gz ruuvitag-upload-04bf0cfea3f012fb8afc660d699ccf4b11db9681.zip | |
Add license, readme, etc
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..afc583c --- /dev/null +++ b/README.md @@ -0,0 +1,53 @@ +# ruuvitag-upload + +A tool for collecting a set of ruuvitag sensor measurements +and uploading them for further processing. + +The measurements are formatted as JSON with the following +structure + + { + \"<ALIAS>\": { + \"address\": \"XX:XX:XX:XX:XX:XX\", + \"timestamp\": <seconds since unix epoch>, + \"humidity\": <0-100%>, + \"pressure\": <kPa>, + \"temperature\": <Celcius>, + \"battery_potential\": <volts> + }, + ... + } + +where ALIAS will either be the address of the sensor, or +an alias that you can define. + +## USAGE + + ruuvitag-upload [--url=URL] <sensor>... + ruuvitag-upload -h | --help + ruuvitag-upload --version + +## ARGUMENTS + + <sensor>... + + A sensor address and optionally a human-readable + alias. You can either specify the address as + XX:XX:XX:XX:XX:XX or you can attach a human- + readable alias to the address + XX:XX:XX:XX:XX:XX=mysensor. + +## OPTIONS + + -u URL, --url=URL + + Where the measurements are uploaded to. If you don't + specify this, the measurements are written to stdout. + + -h, --help + + Show this message. + + --version + + Show the version number. |
