Personal tools

Installation

From PhotoVoltaic Logger new generation

Revision as of 11:14, 7 April 2014 by KKoPV (talk | contribs) ({{PVLngRepo}})
Jump to: navigation, search

Hardware requirements

  • A server, which fits the software requirements :-)
  • Some sensors, like 1-Wire sensors, watt meters
  • Solar inverter which supports either

Software requirements

  • Operating system with support of periodic job scheduling (for example *nix with cron)
  • MySQL ≥ 5.1.* (supports table partitions, views, trigger, functions, procedures and events)
  • PHP ≥ 5.3.*
  • Web server with PHP support, tested with Apache, Litespeed and Nginx (recommended)

Installation

The system is devided into 2 repositories, the PVLng core repo with web frontend and API and the PVLng-Scripts repo with the data aquisition scripts.

PVLng-scripts repository

Install with Git by cloning

# git clone https://github.com/KKoPV/PVLng-scripts.git

or download an archive

# wget -O master.zip https://github.com/KKoPV/PVLng-scripts/zipball/master
# unzip master.zip
# mv PVLng-scripts-master/* .
# rm -r master.zip PVLng-scripts-master

Afterwards prepare the configuration file with

# cp PVLng.conf.dist PVLng.conf

Fill in at least your API key, you can find it on the information page.

There are some examples in the Category:Scripts.