The Sunny WebBox (made by SMA Solar Technology) is a monitoring system for solar plants which offers RPC (remote procedure calls) to access the data of the box. These calls are made of JSON objects which are transported by HTTP or UDP.
This python module provides a classes that can be used to communicate with a Sunny WebBox. You can use the classes in your own code. A small sample program is used if you run the module as a script. The first parameter is the hostname or IP of the box. A password can be provided with an optional second parameter.
python SunnyWebBox.py 18.104.22.168 "foobar"
There's no documentation yet. You should try to read and understand the code of the class and the sample program to get an idea of the data structures.
The RPC API is documented here, but the documentation is not complete. I had analyse other tools to get some hints on how to get this working.
The code is hosted on github: https://github.com/jraedler/SunnyWebBox .