Giter Site home page Giter Site logo

netoflux's Introduction

netoflux

Takes a netatmo csv export file and converts it to line format for insertion into InfluxDB

Currently you have to remove the first 2 lines of the export file so that the first line is the header row with column titles.

Example csv lines

Timestamp;"Timezone : Europe/Berlin";Temperature;Humidity;CO2
1460483334;"2016/04/12 19:48:54";24;37;
1460483592;"2016/04/12 19:53:12";24.6;35;
node index.js Indoor_160507.csv -t module=Indoor > bed.lines

Output

temperature,module=Indoor value=24 1460483334000000000
humidity,module=Indoor value=37 1460483334000000000
temperature,module=Indoor value=24.6 1460483592000000000
humidity,module=Indoor value=35 1460483592000000000
temperature,module=Indoor value=24.5 1460483643000000000
humidity,module=Indoor value=35 1460483643000000000
co2,module=Indoor value=1133 1460483643000000000

Options

-t a_tag_key=the_tag_value

As many -t as you want can be added

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.