Coder Social home page Coder Social logo

netatmo_librato's Introduction

netatmo_librato

A node.js server which will grab information from netatmo and send them to librato

How to use

You have two choices :

  • use the daemon script (via the debian helper for example) named netatmo_librato_daemon.js
  • use via crontab every 10 min the one shot script (netatmo_librato.coffee)

Configuration

nodejs and coffeescript (for the one shot script) are required. Other dependencies are bundled secret.yml must provide the credentials to netatmo and librato (an example is given). config.yml is only needed for the daemon in order to make it work (the default value should be sufficient for everybody).

You'll need a netatmo account, a netatmo application created and a librato account

For the one shot script, -tflag ask the script to retrieve also the value from a thermostat. It should be done every hour. For me, it seems that thermostat is updated just after half the hour.

0,10,20,30,50 * * * * /opt/nodejes/netatmo_librato/netatmo_librato.coffee > /var/log/netatmo_librato.log
40 * * * * /opt/nodejes/netatmo_librato/netatmo_librato.coffee -t > /var/log/netatmo_librato.log

License

Licensed under the MIT license.

netatmo_librato's People

Contributors

sdesbure avatar

Watchers

 avatar James Cloos 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.