Crates.io | ruuvitag-upload |
lib.rs | ruuvitag-upload |
version | 0.3.0 |
source | src |
created_at | 2019-04-13 15:25:33.712439 |
updated_at | 2019-05-27 17:48:53.659873 |
description | A tool for collecting a set of ruuvitag sensor measurements and uploading them for further processing. |
homepage | https://github.com/oswjk/ruuvitag-upload |
repository | https://github.com/oswjk/ruuvitag-upload |
max_upload_size | |
id | 127679 |
size | 50,989 |
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.
Parts of the program are inspired by and some parts are copied from ruuvitag-listener.
ruuvitag-upload [--url=URL] <sensor>...
ruuvitag-upload -h | --help
ruuvitag-upload --version
<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.
-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.