Skip to content

Commit

Permalink
Merge pull request #401 from tuhriel/unifi-scanner-bugfix
Browse files Browse the repository at this point in the history
enable unifi scanner to show online state of devices - thanks so much @tuhriel 🙏
  • Loading branch information
jokob-sk authored Aug 27, 2023
2 parents a794170 + 8ffc07a commit 61df3ec
Show file tree
Hide file tree
Showing 2 changed files with 153 additions and 44 deletions.
89 changes: 84 additions & 5 deletions front/plugins/unifi_import/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
{
"language_code":"es_es",
"string" : "Este plugin se utiliza para importar dispositivos desde un controlador UNIFI."
},
{
"language_code":"de_de",
"string" : "Dieses Plugin imporiert die Geräte von einem UNIFI Controller."
}],
"params" : [
{
Expand Down Expand Up @@ -93,7 +97,12 @@
{
"language_code":"es_es",
"string" : "N/A"
}]
},
{
"language_code":"de_de",
"string" : "N/A"
}
]
} ,
{
"column": "Plugin",
Expand All @@ -110,6 +119,10 @@
{
"language_code":"es_es",
"string" : "N/A"
},
{
"language_code":"de_de",
"string" : "N/A"
}]
},
{
Expand All @@ -128,6 +141,10 @@
{
"language_code":"es_es",
"string" : "Dirección MAC"
},
{
"language_code":"de_de",
"string" : "MAC Adresse"
}]
},
{
Expand All @@ -146,7 +163,12 @@
{
"language_code":"es_es",
"string" : "IP"
}]
},
{
"language_code":"de_de",
"string" : "IP"
}
]
} ,
{
"column": "DateTimeCreated",
Expand All @@ -163,6 +185,10 @@
{
"language_code":"es_es",
"string" : "Creado"
},
{
"language_code":"de_de",
"string" : "Erstellt"
}]
},
{
Expand All @@ -181,6 +207,10 @@
{
"language_code":"es_es",
"string" : "Cambiado"
},
{
"language_code":"de_de",
"string" : "Angepasst"
}]
},
{
Expand All @@ -199,6 +229,10 @@
{
"language_code":"es_es",
"string" : "Nombre de host"
},
{
"language_code":"de_de",
"string" : "Name des Hosts"
}]
},
{
Expand All @@ -216,6 +250,10 @@
{
"language_code":"es_es",
"string" : "Proveedor"
},
{
"language_code":"de_de",
"string" : "Hersteller"
}]
},
{
Expand All @@ -233,6 +271,10 @@
{
"language_code":"es_es",
"string" : "Tipo"
},
{
"language_code":"de_de",
"string" : "Typ"
}]
} ,
{
Expand All @@ -250,6 +292,10 @@
{
"language_code":"es_es",
"string" : "¿Online?"
},
{
"language_code":"de_de",
"string" : "Online?"
}]
} ,
{
Expand All @@ -267,6 +313,10 @@
{
"language_code":"es_es",
"string" : "Comentarios"
},
{
"language_code":"de_de",
"string" : "Kommentar"
}]
},
{
Expand All @@ -284,6 +334,10 @@
{
"language_code":"es_es",
"string" : "Red"
},
{
"language_code":"de_de",
"string" : "Netzwerk"
}]
},
{
Expand Down Expand Up @@ -318,6 +372,10 @@
{
"language_code":"es_es",
"string" : "Estado"
},
{
"language_code":"de_de",
"string" : "Status"
}]
}
],
Expand All @@ -335,6 +393,10 @@
{
"language_code":"es_es",
"string" : "Cuándo ejecutar"
},
{
"language_code":"de_de",
"string" : "Ausführungszeitpunkt"
}],
"description": [{
"language_code":"en_us",
Expand All @@ -343,7 +405,11 @@
{
"language_code":"es_es",
"string" : "Habilite la importación de dispositivos desde un controlador UNIFI. Si selecciona <code>schedule</code>, se aplican las configuraciones de programación de abajo. Si selecciona <code>once</code>, el análisis se ejecuta solo una vez al iniciar la aplicación (contenedor) o después de actualizar su configuración."
}]
},
{
"language_code":"de_de",
"string" : "Aktiviere den Import von einem UNIFI controller. Bei <code>schedule</code> werden die Richtzeiten von weiter unten verwendet. Bei der Auswahl <code>once</code> der Import wird einmalig beim Start der Applikation (container), oder nach einem Update der Einstellungen durchgeführt."
}]
},
{
"function": "CMD",
Expand All @@ -358,6 +424,10 @@
{
"language_code":"es_es",
"string" : "Comando"
},
{
"language_code":"de_de",
"string" : "Befehl"
}],
"description": [{
"language_code":"en_us",
Expand All @@ -366,6 +436,10 @@
{
"language_code":"es_es",
"string" : "Comando para ejecutar. No se recomienda cambiar."
},
{
"language_code":"de_de",
"string" : "Befehl der ausgeführt wird. Anpassung nicht empfohlen"
}]
},
{
Expand Down Expand Up @@ -577,6 +651,10 @@
{
"language_code":"es_es",
"string" : "Tiempo máximo en segundos para esperar a que finalice el script. Si se supera este tiempo, el script se cancela."
},
{
"language_code":"de_de",
"string" : "Maximale Laufzeit des Scripts. Nach Ablauf der Zeit wird das Script abgebrochen."
}]
},
{
Expand All @@ -595,11 +673,11 @@
}] ,
"description":[{
"language_code":"en_us",
"string" : "Send a notification if selected values change. Use <code>CTRL + Click</code> to select/deselect. <ul> <li><code>Watched_Value1</code> is Hostname </li><li><code>Watched_Value2</code> is Vendor </li><li><code>Watched_Value3</code> is Type </li><li><code>Watched_Value4</code> is Network </li></ul>"
"string" : "Send a notification if selected values change. Use <code>CTRL + Click</code> to select/deselect. <ul> <li><code>Watched_Value1</code> is Hostname </li><li><code>Watched_Value2</code> is Vendor </li><li><code>Watched_Value3</code> is Type </li><li><code>Watched_Value4</code> is Online </li></ul>"
},
{
"language_code":"es_es",
"string" : "Envíe una notificación si los valores seleccionados cambian. Utilice <code>CTRL + clic</code> para seleccionar/deseleccionar. <ul> <li><code>Watched_Value1</code> es el nombre de host </li><li><code>Watched_Value2</code> es el proveedor </li><li><code>Watched_Value3</code> es el tipo </li><li><code>Watched_Value4</code> es Red </li></ul>"
"string" : "Envíe una notificación si los valores seleccionados cambian. Utilice <code>CTRL + clic</code> para seleccionar/deseleccionar. <ul> <li><code>Watched_Value1</code> es el nombre de host </li><li><code>Watched_Value2</code> es el proveedor </li><li><code>Watched_Value3</code> es el tipo </li><li><code>Watched_Value4</code> es Online </li></ul>"
}]
},
{
Expand Down Expand Up @@ -627,3 +705,4 @@
}
]
}

Loading

0 comments on commit 61df3ec

Please sign in to comment.