{
  "SecretFile": "",
  "Serilog": {
    "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "System": "Warning"
      }
    },
    "WriteTo": [
      {
        "Name": "Console",
        "Args": { "outputTemplate": "[{Timestamp:HH:mm:ss}] {Message:lj}{NewLine}{Exception}" }
      },
      {
        "Name": "File",
        "Args": {
          "path": "logs/zendure-evguard-.log",
          "rollingInterval": "Day",
          "retainedFileCountLimit": 30,
          "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
        }
      }
    ]
  },
  "Shelly": {
    "Enabled": true,
    "Host": "192.168.x.x",
    "UseDigestAuth": false,
    "Username": "",
    "Password": ""
  },
  "Smappee": {
    "Enabled": false,
    "ClientId": "",
    "ClientSecret": "",
    "Username": "",
    "Password": "",
    "ServiceLocationId": "",
    "BaseUrl": "https://app1pub.smappee.net/dev/v3",
    "PollingIntervalSeconds": 300,
    "EvThresholdWatts": 1400
  },
  "ZendureDevice": {
    "Host": "192.168.x.x",
    "Port": 80,
    "DefaultOutputLimit": 2400,
    "DefaultMinSoc": 950,
    "TimeoutSeconds": 10
  },
  "EvDetection": {
    "PowerThresholdWatts": 5000,
    "ConfirmationReadings": 2,
    "ReleaseReadings": 24,
    "PollingIntervalSeconds": 5
  },
  "Notification": {
    "Enabled": false,
    "SmtpHost": "",
    "SmtpPort": 587,
    "UseSsl": true,
    "Username": "",
    "Password": "",
    "FromAddress": "",
    "ToAddress": "",
    "RateLimitMinutes": 15
  },
  "Monitoring": {
    "HealthCheckIntervalSeconds": 30,
    "LogStatusIntervalSeconds": 300,
    "PostResumeGuardSeconds": 300,
    "DeviceUnreachableAlertMinutes": 60
  },
  "Pushover": {
    "Enabled": false,
    "ApiToken": "",
    "UserKey": "",
    "RateLimitMinutes": 15
  },
  "Telegram": {
    "Enabled": false,
    "BotToken": "",
    "ChatId": "",
    "RateLimitMinutes": 15
  },
  "Update": {
    "AutoUpdateEnabled": true,
    "CheckIntervalHours": 4
  },
  "Subscription": {
    "SecretKey": ""
  }
}
