Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CrunkA3 committed Aug 11, 2022
2 parents 0aedb9f + be673ce commit 2c6c740
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Client for reading data from Kostal inverters

```c#
var client = new ModbusClient("192.168.1.120");
var pvPowerResult = await _client.GetTotalDcPower();

```
var totalAcPowerResponse = await client.GetTotalAcPower();

Console.WriteLine(totalAcPowerResponse.ActivePower);
Console.WriteLine(totalAcPowerResponse.ReactivePower);
Console.WriteLine(totalAcPowerResponse.ApparentPower);

```

0 comments on commit 2c6c740

Please sign in to comment.