From 396416ad2941f0eadbc75067317bbe3fa6134492 Mon Sep 17 00:00:00 2001 From: Andreas Brett Date: Sun, 27 Aug 2023 14:07:36 +0200 Subject: [PATCH] Update config.json --- front/plugins/unifi_import/config.json | 58 +++++++++++++------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/front/plugins/unifi_import/config.json b/front/plugins/unifi_import/config.json index d1ec3d85..7fd44907 100755 --- a/front/plugins/unifi_import/config.json +++ b/front/plugins/unifi_import/config.json @@ -60,16 +60,16 @@ "type" : "setting", "value" : "UNFIMP_sites" }, - { - "name" : "protocol", - "type" : "setting", - "value" : "UNFIMP_protocol" - }, { "name" : "port", "type" : "setting", "value" : "UNFIMP_port" }, + { + "name" : "verifyssl", + "type" : "setting", + "value" : "UNFIMP_verifyssl" + }, { "name" : "version", "type" : "setting", @@ -348,7 +348,7 @@ { "function": "CMD", "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": [], "localized": ["name", "description"], "name" : [{ @@ -414,29 +414,6 @@ "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", "type": "text", @@ -483,6 +460,29 @@ "string" : "El número de puerto donde se ejecuta el controlador UNIFI. Normalmente es 8443." }] }, + { + "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 true|false." + }, + { + "language_code":"es_es", + "string" : "verificar la validez del certificado SSL true|false." + }] + }, { "function": "version", "type": "text",