Personal tools

SMA Webbox script

From PhotoVoltaic Logger new generation

Revision as of 09:41, 9 September 2014 by KKoPV (talk | contribs)
Jump to: navigation, search

With this script you can acquire data from your SMA Webbox and store them in PVLng.

This script can run via cron around the clock, the Webbox will be queried only during daylight times ± 60 minutes.

Location

SMA/webbox.sh

Configuration example

SMA/webbox.conf.dist

Global settings

Webbox IP[:Port]

optional, default "192.168.0.168:80"

WEBBOX         "192.168.0.168:80"

Installer password

The plain Webbox "installer" account password. If not set, the "user" account will be used for Webbox access, with less information.

optional

PASSWORD       ""

Count of inverters / Sensorboxes

Count of following sections.

required

GUID_N         0

Section to copy

Copy the following settings as much as you need. Name the parameters for each section with the same _<#>

Inverter/Sensorbox GUID

required, empty GUID skips section

GUID_1         ""

Inverter/sensor box serial

The inverter/sensor box serial is requested by default via API. If you run the scripts on remote equipment, you should define them also here, so when the connection to your PVLng server fails, the data will be collected correctly.

optional

SERIAL_1       ""