GithubHelp home page GithubHelp logo

otrho / env-senso-rs Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 14 KB

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

License: MIT License

Rust 100.00%
metriful iot

env-senso-rs's Introduction

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.

env-senso-rs's People

Contributors

otrho avatar

Watchers

 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.