Skip to content

Instantly share code, notes, and snippets.

View juhaautioniemi's full-sized avatar

Juha Autioniemi juhaautioniemi

View GitHub Profile
@juhaautioniemi
juhaautioniemi / README.md
Created March 7, 2017 08:58
Get solar power plant data from SMA Sunny Webbox using RPC API

Description

This flow requests data directly from Sunny Webbox data acquisition unit every 30 seconds (00:00:30, 00:01:00... etc) and then parses the result only if response payload.result has changed or timeout value has reached 1800 seconds.

Returned values are current power [W], daily energy [kWh], total energy [kWh], current mode and error message.

Created and tested with Node-RED 0.16.2 and Node.js 6.10.0 in Windows 10 machine. Connection to Sunny Webbox is established over local area network.

User actions