Fork me on GitHub

pimatic-websolarlog by Marcus Wittig | github | npm

pimatic-websolarlog

npm version

Pimatic Plugin for WebSolarLog (WSL), an open-source data logger for PV systems - http://www.websolarlog.com.

Please provide feedback via github or pimatic-forum.

Configuration

You can load the plugin by editing your config.json to include the following in the plugins section. The property interval specifies the time interval in seconds for updating the data set. For debugging purposes you may set property debug to true. This will write additional debug messages to the pimatic log. The values properties interval and debug represent the the default values.

{
      "plugin": "websolarlog",
      "interval": 30,
      "debug": false
}

Then you need to add a device in the devices section. Currently, only the following device type is supported:

  • WebSolarProduction: This type is for solar power production devices. It provides attributes for the current power produced,

As part of the device definition you need to provide the deviceName which is the name of the Production Device as it has been set via WebSolarLog Admin. You also need to provide the url for the Live page of your WebSolarLog server.

{
      "id": "wsl1",
      "class": "WebSolarLogProduction",
      "name": "WSL Test",
      "deviceName": "Diehl",
      "url": "http://diehl-inverter-demo.websolarlog.com/api.php/Live",
}

Release History

See Release History.

License

Copyright (c) 2016, Marcus Wittig and contributors. All rights reserved.

GPL-2.0 License.

Plugin Config Options

pimatic-websolarlog plugin config options
OptionDescriptionDefault
interval
number
Polling interval for switch state in seconds
30
debug
boolean
Debug mode. Writes debug message to the pimatic log
false

Device Config Options

pimatic-websolarlog device config schemas

WebSolarLogProduction

WebSolarLog Production Device
OptionDescriptionDefault
deviceName
string
The name of the Production Device which has been set via WebSolarLog Admin
url
string
URL of the WebSolarLog Server Live page
interval
number
Polling interval for switch state in seconds
0
pimatic-websolarlog is written by Marcus Wittig