Giter Club home page Giter Club logo

fronius-fslurp's Introduction

Versión de fslurp para inversores fronius de la terraza.
llamada online
/home/u4477/fslurp/fslurp -b 19200 -r all -d , -p /dev/ttyS1

ver --> sendtoemoncms.sh
(lee los datos, los almacena en ficheros /home/u4477/fslurp/data)

para arrancarlo se hace con un cron. 

sudo crontab -e

* * * * * /home/u4477/fslurp/fslurp2emoncms.sh
*/5 * * * * /home/u4477/fslurp/fslurp2dataciemat.sh

la tarea fslurp2dataciemat creo ficheros de datos cada 5 minutos, con formato de fecha leible por humano

$ cd /wherever/you/put/it/fslurp-0.5
$ make clobber
$ make

And then to run it, from the same directory:

$ ./fslurp -h

This will display the following help message:

Usage: ./fslurp [-b baud][-d delimiter][-H][-h][-p device][-r report][-v]
-b baud Set the baud rate. Supported rates are:
2400, 4800, 9600, and 19200. Defaults to 9600.
-d delimter Set delimiter for CSV-style output. The
default is no delimiter, human-readable.
-H Display the delimited output header for the
current reporting mode. The -d option must
also be set.
-h Display this help message.
-p device Set the serial port device. Defaults to /dev/ttyS0.
-r report Set report type. Supported types are:
now, day, total, and all Defaults to now.
-v Enable verbose, debugging output.

Return codes:
0 Success.
1 Communications failure.
2 No active inverter found.
3 Usage error.
4 Fronius protocol error.

#=====================================================================================
del github original fslurp
#=====================================================================================
$RCSfile: README,v $
$Revision: 1.3 $
$Date: 2013/11/17 00:16:12 $

Introduction
============
fslurp is a program to pull the data from a Fronius inverter systems
via a serial port connection.

It supports both single and multiple inverter systems through the
Interface Card Easy and the Fronius Interface Card/DataLogger Box. Fronius
Sensor Card devices are also supported.

It supports both human-readable and delimited (CSV-style) text output.

Sample output can be seen by building project and exercising one
of the test simulator targets (e.g. simIFCEasy).

It is written in C++ and has been compiled on Linux.

Building
========

The GNU C++ compiler and the GNU make program
are required for building fslurp.

Un-tar the source.
cd to the top level directory extracted.
Type make to build.

Installing and running
======================

The fslurp binary requires no external files and can be run
from anywhere.  Copy it to wherever as appropriate.

Testing
=======

In addition to fslurp, the makefile builds several simulator versions
of fslurp (e.g. simIFCEasy). The simulators are identical to fslurp,
except that they each replace the serial communications with simulated
canned responses for a particular Fronius installation configuration.

The test target in the makefile exercises fslurp via these simulators.

David Stone
[email protected]

fronius-fslurp's People

Contributors

miguelalonso avatar

Stargazers

Wynton avatar  avatar Andrew Eberbach avatar

Watchers

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