Skip to content

Commit

Permalink
Log which inverter is going to be connected
Browse files Browse the repository at this point in the history
  • Loading branch information
awaescher committed May 14, 2024
1 parent 32d6d2b commit 728a3ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MaxPower/HostedServices/ExporterService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ protected override async Task ExecuteAsync(CancellationToken cancellationToken)
{
foreach (var inverter in Inverters)
{
Logger.LogInformation("Trying inverter \"{inverterId}\" at \"{inverterIp}:{inverterPort}\".", inverter.Id, inverter.Ip, inverter.Port);

try
{
var data = await MaxTalkClient.RequestAsync(inverter.Ip, inverter.Id, inverter.Port);
Expand Down

0 comments on commit 728a3ff

Please sign in to comment.