mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Update config.json
This commit is contained in:
@@ -60,16 +60,16 @@
|
|||||||
"type" : "setting",
|
"type" : "setting",
|
||||||
"value" : "UNFIMP_sites"
|
"value" : "UNFIMP_sites"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name" : "protocol",
|
|
||||||
"type" : "setting",
|
|
||||||
"value" : "UNFIMP_protocol"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name" : "port",
|
"name" : "port",
|
||||||
"type" : "setting",
|
"type" : "setting",
|
||||||
"value" : "UNFIMP_port"
|
"value" : "UNFIMP_port"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name" : "verifyssl",
|
||||||
|
"type" : "setting",
|
||||||
|
"value" : "UNFIMP_verifyssl"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name" : "version",
|
"name" : "version",
|
||||||
"type" : "setting",
|
"type" : "setting",
|
||||||
@@ -348,7 +348,7 @@
|
|||||||
{
|
{
|
||||||
"function": "CMD",
|
"function": "CMD",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"default_value":"python3 /home/pi/pialert/front/plugins/unifi_import/script.py username={username} password={password} host={host} sites={sites} protocol={protocol} port={port} version={version}",
|
"default_value":"python3 /home/pi/pialert/front/plugins/unifi_import/script.py username={username} password={password} host={host} sites={sites} port={port} verifyssl={verifyssl} version={version}",
|
||||||
"options": [],
|
"options": [],
|
||||||
"localized": ["name", "description"],
|
"localized": ["name", "description"],
|
||||||
"name" : [{
|
"name" : [{
|
||||||
@@ -414,29 +414,6 @@
|
|||||||
"string" : "La contraseña utilizada para iniciar sesión en su controlador UNIFI."
|
"string" : "La contraseña utilizada para iniciar sesión en su controlador UNIFI."
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"function": "protocol",
|
|
||||||
"type": "text.select",
|
|
||||||
"default_value":"https://",
|
|
||||||
"options": ["https://", "http://"],
|
|
||||||
"localized": ["name", "description"],
|
|
||||||
"name" : [{
|
|
||||||
"language_code":"en_us",
|
|
||||||
"string" : "Protocol"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"language_code":"es_es",
|
|
||||||
"string" : "Protocolo"
|
|
||||||
}],
|
|
||||||
"description": [{
|
|
||||||
"language_code":"en_us",
|
|
||||||
"string" : "The protocol to use to access the controller."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"language_code":"es_es",
|
|
||||||
"string" : "El protocolo a utilizar para acceder al controlador."
|
|
||||||
}]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"function": "host",
|
"function": "host",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
@@ -483,6 +460,29 @@
|
|||||||
"string" : "El número de puerto donde se ejecuta el controlador UNIFI. Normalmente es <code>8443</code>."
|
"string" : "El número de puerto donde se ejecuta el controlador UNIFI. Normalmente es <code>8443</code>."
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"function": "verifyssl",
|
||||||
|
"type": "text",
|
||||||
|
"default_value":"false",
|
||||||
|
"options": [],
|
||||||
|
"localized": ["name", "description"],
|
||||||
|
"name" : [{
|
||||||
|
"language_code":"en_us",
|
||||||
|
"string" : "verify SSL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"language_code": "es_es",
|
||||||
|
"string": "verificar SSL"
|
||||||
|
}],
|
||||||
|
"description": [{
|
||||||
|
"language_code":"en_us",
|
||||||
|
"string" : "verify SSL certificate validity <code>true|false</code>."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"language_code":"es_es",
|
||||||
|
"string" : "verificar la validez del certificado SSL <code>true|false</code>."
|
||||||
|
}]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"function": "version",
|
"function": "version",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
|
|||||||
Reference in New Issue
Block a user