34 lines
1.8 KiB
JSON
34 lines
1.8 KiB
JSON
{
|
|
"elements": [
|
|
{ "type": "SelectInstance", "name": "VisuId", "caption": "Kachelvisu ID" },
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "E-Mail",
|
|
"items": [
|
|
{ "type": "CheckBox", "name": "SendInternalMail", "caption": "Internen SMTP-Mailversand aktivieren" },
|
|
{ "type": "SelectInstance", "name": "MailerId", "caption": "E-Mail SMTP ID" },
|
|
{ "type": "CheckBox", "name": "SendMailApi", "caption": "Mail-API aktivieren" },
|
|
{ "type": "PasswordTextBox", "name": "MailApiKey", "caption": "Mail-API-Key" }
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "WhatsApp",
|
|
"items": [
|
|
{ "type": "CheckBox", "name": "SendWhatsApp", "caption": "WhatsApp-API aktivieren" },
|
|
{ "type": "PasswordTextBox", "name": "WhatsAppApiKey", "caption": "WhatsApp-API-Key" }
|
|
]
|
|
},
|
|
{ "type": "CheckBox", "name": "AppendVariableName", "caption": "Variablennamen an Meldungstext anhängen" },
|
|
{ "type": "SelectVariable", "name": "ValueId01", "validVariableTypes": [0], "caption": "Überwachter Wert 1" },
|
|
{ "type": "SelectVariable", "name": "ValueId02", "validVariableTypes": [0], "caption": "Überwachter Wert 2" },
|
|
{ "type": "SelectVariable", "name": "ValueId03", "validVariableTypes": [0], "caption": "Überwachter Wert 3" },
|
|
{ "type": "SelectVariable", "name": "ValueId04", "validVariableTypes": [0], "caption": "Überwachter Wert 4" }
|
|
],
|
|
"actions": [
|
|
{ "type": "Button", "label": "Initialwerte setzen", "onClick": "VTMA_setInitValues($id);" },
|
|
{ "type": "Button", "label": "Testbenachrichtigung senden", "onClick": "VTMA_sendTestNotification($id);" }
|
|
],
|
|
"status": []
|
|
}
|