Inofficial myStrom API C# implementation. It currently only supports internal API and NOT the public mobile one.
Install MyStrom.Api
via NuGet package manager (What is NuGet?)
Install-Package MyStrom.Api
var uri = new System.Url("http://192.168.254.1"); // Use here your internal device IP address
var client = new MyStrom.Api.Client(uri);
// use RefreshAll() to load all available data
client.RefreshAll();
// or for example LoadReport() if you only want to load temperature, relay state and power consumption
client.LoadReport();
- Support for public mobile API
I tested my implementation with myStrom WiFi Switch
firmware 3.82.4
, which is available directly by myStrom.