Add timer to send alerts

This commit is contained in:
2024-05-28 16:44:57 -04:00
parent 6bf61966b8
commit 4917493f21
5 changed files with 109 additions and 22 deletions

View File

@@ -1,25 +1,31 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Mqtt": {
"Server": "172.23.10.3"
},
"Environment": {
"Database": {
"Host": "localhost",
"User": "postgres",
"Password": "postgres",
"Port": 5432,
"Name": "Environment",
"TrustServerCertificate": true
},
"Mqtt": {
"Server": "172.23.10.3"
"Hub": {
"Url": "http://localhost:8080/environment"
},
"Environment": {
"Database": {
"Host": "localhost",
"User": "postgres",
"Password": "postgres",
"Port": 5432,
"Name": "Environment",
"TrustServerCertificate": true
},
"Hub": {
"Url": "http://localhost:8080/environment"
}
},
"AuthorizationToken": "test-token"
"DeviceCheckInterval": "00:00:30",
"DeviceWarningInterval": "00:00:10"
},
"AuthorizationToken": "test-token",
"Telegram": {
"BotToken": "",
"ChatId": ""
}
}