Personal tools

SMA Webbox example

From PhotoVoltaic Logger new generation

Revision as of 18:33, 1 March 2014 by KKoPV (talk | contribs) (Inverter channels)
Jump to: navigation, search

Abstract

This is a special model to split SMA Webbox RPC content into single channel values.

This model is in contrast to other grouping models writable but not readable!

Operation mode

The SMA Webbox model handles JSON outputs from Webbox RPC requests.

It scans the data and search its direct child channels for matching channel definitions!

Setup

Create

  • a grouping channel for the Inverter of channel type SMA Inverter or
  • complete channel hierarchy from predefined template SMA Inverter

Attributes

SMAInverter.png

Please note:

  • The serial number is used from external upload script to ask the SMA Webbox for the correct equipment.
  • When the serial number changes after firmware updates, don't forget to update the serial number here!

Special use for this channel type is the factor channel attribute. By default, the factor is only used for reading data.

But as you know, the SMA inverter is a not readable group. That is correct, but the attributes are always readable...

In this case, the factor must held the installed power in kilo watt peak on this inverter.

So it is for example possible to calculate the relative yield of the inverter (watt or watt hours per watt peak) by using proper channels and this factor. (This is done for example by the Twitter update script)

Channel tree

Insert the inverter into the channel tree

If you have more than 1 inverter, it could make sense for a better overview to group them, e.g. by building or location.

Inverter channels

Define the inverter channels according to your inverter. (If you created from template, this is still done.)

Check for each real child channel the correct channel attribute entry! (Channels for SMA STP inverter series)

Example for E-Total:

E-TotalChannel.png

Please note:

  • Use the exact channel name as your inverter delivers. This is needed to find the correct channel to store readings for!

Insert all the channels as sub channels of the inverter in the channel tree.

SMAInverterTree.png

A special case here is the Performance Ratio.