Skip to content

A utilty to read the Metriful Indoor Sensor Board and upload to IoT dashboards.

License

Notifications You must be signed in to change notification settings

otrho/env-senso-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environment Sensors Interface In Rust

This project is a small utilty to interface with the Metriful Indoor Sensor Board from a Raspberry PI SBC and to report its readings to an online dashboard at IoTPlotter.

Other dashboards may be supported in the future. I chose IoTPlotter to begin with since it's very simple, open and free.

Building

env-senso-rs is designed to be built on the RPi itself, which is slow and can download 100s of MB in library dependencies, but it's probably simpler than trying to get it built using a cross compiler.

Rust can be installed on an RPi using rustup as usual, and then cargo build will work as expected.

Running

The utility assumes the sensor was connected to the RPi GPIO as described in the Metriful instructions.

It also requires an IoTPlotter feed ID and authorisation key to allow sending the readings online.

$ cargo run -- -h
env-senso-rs 0.1
Toby Hutton <[email protected]>
Read from environment sensors and send to iotplotter.com.

USAGE:
    env-senso-rs --feed <STRING> --key <STRING>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -f, --feed <STRING>    The iotplotter.com feed ID for the URL.
    -k, --key <STRING>     The secret API auth key for the feed.

About

A utilty to read the Metriful Indoor Sensor Board and upload to IoT dashboards.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages