2017 © Pedro Peláez
 

library pvoutput

PVOutput.org API implementation

image

ebaschiera/pvoutput

PVOutput.org API implementation

  • Sunday, October 4, 2015
  • by ebaschiera
  • Repository
  • 1 Watchers
  • 0 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

PVOutput

Implementation of PVOutput.org API. For more information, see http://www.pvoutput.org/help.html#api-spec, (*1)

Methods currently implemented are:, (*2)

This is a simple PHP class that can be used in a larger project to delegate communication with PVOutput. It is not a monitoring application., (*3)

Please note that not all API parameters are handled by this class methods. Parameters coverage is: + Add Output + d + g + e + pp + pt + c + Get Output + df + dt + a + limit + tid + sid1 + Add Status + d + t + v2 + v4, (*4)

Missing parameters will be implemented in the future., (*5)

Installation

Composer

From the Command Line:, (*6)

composer require ebaschiera/pvoutput:1.1.*

In your composer.json:, (*7)

``` json { "require": { "ebaschiera/pvoutput": "1.1.*" } }, (*8)


### Manually Just download the release package, put `src/PVOutput.php` inside your project tree and you are set. ## Basic usage Please note that not all API method parameters are handled by this class.

//during the day $pvoutput = new \PVOutput\PVOutput($system_id, $api_key); $pvoutput->addStatus(2500, 1500); //sends instant generation and consumption, (*9)

//at the end of the day $pvoutput = new \PVOutput\PVOutput($system_id, $api_key); $pvoutput->addOutput(NULL, 9000, 3100, $peak_output_datetime, 8000, 1000); //sends generated energy, peak generation power, peak generation datetime, consumed energy, exported energy, (*10)

//get a full month aggregated output $start_date = \DateTime::createFromFormat('Ymd', '20150401'); $end_date = \DateTime::createFromFormat('Ymd', '20150430'); $pvoutput = new \PVOutput\PVOutput($system_id, $api_key); $pvoutput->getOutput($start_date, $end_date, 'm'); ```, (*11)

License

This software is provided as is, according to GPL-2. See the LICENSE file for more information., (*12)

The Versions

04/10 2015

dev-master

9999999-dev

PVOutput.org API implementation

  Sources   Download

GPL-2.0

The Requires

  • php >=5.3.0

 

by Ermanno Baschiera

04/10 2015

v1.2.0

1.2.0.0

PVOutput.org API implementation

  Sources   Download

GPL-2.0

The Requires

  • php >=5.3.0

 

by Ermanno Baschiera

30/08 2015

v1.1.1

1.1.1.0

PVOutput.org API implementation

  Sources   Download

GPL-2.0

The Requires

  • php >=5.3.0

 

by Ermanno Baschiera

01/05 2015

v1.1.0

1.1.0.0

PVOutput.org API implementation

  Sources   Download

GPL-2.0

The Requires

  • php >=5.3.0

 

by Ermanno Baschiera

01/05 2015

dev-dev

dev-dev

PVOutput.org API implementation

  Sources   Download

GPL-2.0

The Requires

  • php >=5.3.0

 

by Ermanno Baschiera

29/03 2015

v1.0.4

1.0.4.0

PVOutput.org API implementation

  Sources   Download

GPL-2.0

The Requires

  • php >=5.3.0

 

by Ermanno Baschiera

16/03 2015

v1.0.3

1.0.3.0

PVOutput.org API implementation

  Sources   Download

GPL-2.0

The Requires

  • php >=5.3.0

 

by Ermanno Baschiera

16/03 2015

v1.0.2

1.0.2.0

PVOutput.org API implementation

  Sources   Download

GPL-2.0

The Requires

  • php >=5.3.0

 

by Ermanno Baschiera

16/03 2015

v1.0.1

1.0.1.0

PVOutput.org API implementation

  Sources   Download

GPL2

by Ermanno Baschiera