mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Correct json structure
This commit is contained in:
@@ -1,63 +1,56 @@
|
||||
{
|
||||
"runOnStartup": true,
|
||||
"cronSchedule": "5 16 * * *",
|
||||
"logLevel": "info",
|
||||
"webPortalConfig": {
|
||||
"baseUrl": "https://epic.exmaple.com"
|
||||
},
|
||||
"accounts": [
|
||||
{
|
||||
"email": "example@gmail.com",
|
||||
"password": "abc1234",
|
||||
"totp": "EMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZE"
|
||||
},
|
||||
],
|
||||
"notifiers": [
|
||||
// You may configure as many of any notifier as needed
|
||||
// Here are some examples of each type
|
||||
{
|
||||
"type": "email",
|
||||
"smtpHost": "smtp.gmail.com",
|
||||
"smtpPort": 587,
|
||||
"emailSenderAddress": "hello@gmail.com",
|
||||
"emailSenderName": "Epic Games Captchas",
|
||||
"emailRecipientAddress": "hello@gmail.com",
|
||||
"secure": false,
|
||||
"auth": {
|
||||
"user": "hello@gmail.com",
|
||||
"pass": "abc123",
|
||||
},
|
||||
},
|
||||
{
|
||||
"type": "discord",
|
||||
"webhookUrl": "https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456",
|
||||
// Optional list of users or roles to mention
|
||||
"mentionedUsers": [
|
||||
"914360712086843432"
|
||||
],
|
||||
"mentionedRoles": [
|
||||
"734548250895319070"
|
||||
],
|
||||
},
|
||||
{
|
||||
"type": "telegram",
|
||||
"token": "644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k",
|
||||
"chatId": "-987654321",
|
||||
},
|
||||
{
|
||||
"type": "apprise",
|
||||
"apiUrl": "http://192.168.1.2:8000",
|
||||
"urls": "mailto://user:pass@gmail.com",
|
||||
},
|
||||
{
|
||||
"type": "pushover",
|
||||
"token": "a172fyyl9gw99p2xi16tq8hnib48p2",
|
||||
"userKey": "uvgidym7l5ggpwu2r8i1oy6diaapll",
|
||||
},
|
||||
{
|
||||
"type": "gotify",
|
||||
"apiUrl": "https://gotify.net",
|
||||
"token": "SnL-wAvmfo_QT",
|
||||
},
|
||||
],
|
||||
"runOnStartup": true,
|
||||
"cronSchedule": "5 16 * * *",
|
||||
"logLevel": "info",
|
||||
"webPortalConfig": {
|
||||
"baseUrl": "https://epic.exmaple.com"
|
||||
},
|
||||
"accounts": [{
|
||||
"email": "example@gmail.com",
|
||||
"password": "abc1234",
|
||||
"totp": "EMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZEEMNCAZE234AZE"
|
||||
}],
|
||||
"notifiers": [{
|
||||
"type": "email",
|
||||
"smtpHost": "smtp.gmail.com",
|
||||
"smtpPort": 587,
|
||||
"emailSenderAddress": "hello@gmail.com",
|
||||
"emailSenderName": "Epic Games Captchas",
|
||||
"emailRecipientAddress": "hello@gmail.com",
|
||||
"secure": false,
|
||||
"auth": {
|
||||
"user": "hello@gmail.com",
|
||||
"pass": "abc123"
|
||||
}
|
||||
}, {
|
||||
"type": "discord",
|
||||
"webhookUrl": "https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456",
|
||||
"mentionedUsers": [
|
||||
"914360712086843432"
|
||||
],
|
||||
"mentionedRoles": [
|
||||
"734548250895319070"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "telegram",
|
||||
"token": "644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k",
|
||||
"chatId": "-987654321"
|
||||
},
|
||||
{
|
||||
"type": "apprise",
|
||||
"apiUrl": "http://192.168.1.2:8000",
|
||||
"urls": "mailto://user:pass@gmail.com"
|
||||
},
|
||||
{
|
||||
"type": "pushover",
|
||||
"token": "a172fyyl9gw99p2xi16tq8hnib48p2",
|
||||
"userKey": "uvgidym7l5ggpwu2r8i1oy6diaapll"
|
||||
},
|
||||
{
|
||||
"type": "gotify",
|
||||
"apiUrl": "https://gotify.net",
|
||||
"token": "SnL-wAvmfo_QT"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user