From fd237e8d02343f1740c6bfc872553dc85e53cf1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= <1536036+zoic21@users.noreply.github.com> Date: Mon, 2 Oct 2023 10:34:05 +0200 Subject: [PATCH] add more command --- core/config/devices/HUB.json | 13 ++++++---- core/config/devices/HUB_2.json | 30 ++++++++++------------- core/config/devices/HUB_2_4G.json | 30 ++++++++++------------- core/config/devices/HUB_2_PLUS.json | 30 ++++++++++------------- core/config/devices/HUB_HYBRID.json | 30 ++++++++++------------- core/config/devices/HUB_PLUS.json | 37 +++++++++++++++++++++++++---- 6 files changed, 94 insertions(+), 76 deletions(-) diff --git a/core/config/devices/HUB.json b/core/config/devices/HUB.json index 03b5633..4104dae 100644 --- a/core/config/devices/HUB.json +++ b/core/config/devices/HUB.json @@ -55,10 +55,15 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsmNetworkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsmNetworkStatus" + }, + { + "name": "CMS", + "type": "info", + "subtype": "binary", + "isVisible": 0, + "isHistorized": 0, + "logicalId": "CMSActiveChannels" }, { "name": "Ethernet", diff --git a/core/config/devices/HUB_2.json b/core/config/devices/HUB_2.json index c4b8611..71ce812 100644 --- a/core/config/devices/HUB_2.json +++ b/core/config/devices/HUB_2.json @@ -54,21 +54,15 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsmNetworkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsmNetworkStatus" }, { "name": "Intensité du signal cellulaire", "type": "info", - "subtype": "binary", + "subtype": "string", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::signalLevel", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::signalLevel" }, { "name": "Type réseau GSM", @@ -76,10 +70,7 @@ "subtype": "string", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::networkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::networkStatus" }, { "name": "Données cellulaires actives", @@ -87,10 +78,15 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::gprsEnabled", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::gprsEnabled" + }, + { + "name": "CMS", + "type": "info", + "subtype": "binary", + "isVisible": 0, + "isHistorized": 0, + "logicalId": "CMSActiveChannels" }, { "name": "Ethernet", diff --git a/core/config/devices/HUB_2_4G.json b/core/config/devices/HUB_2_4G.json index 8b9ddbe..7daae4b 100644 --- a/core/config/devices/HUB_2_4G.json +++ b/core/config/devices/HUB_2_4G.json @@ -54,21 +54,15 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsmNetworkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsmNetworkStatus" }, { "name": "Intensité du signal cellulaire", "type": "info", - "subtype": "binary", + "subtype": "string", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::signalLevel", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::signalLevel" }, { "name": "Type réseau GSM", @@ -76,10 +70,7 @@ "subtype": "string", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::networkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::networkStatus" }, { "name": "Données cellulaires actives", @@ -87,10 +78,15 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::gprsEnabled", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::gprsEnabled" + }, + { + "name": "CMS", + "type": "info", + "subtype": "binary", + "isVisible": 0, + "isHistorized": 0, + "logicalId": "CMSActiveChannels" }, { "name": "Ethernet", diff --git a/core/config/devices/HUB_2_PLUS.json b/core/config/devices/HUB_2_PLUS.json index 5dec430..a189146 100644 --- a/core/config/devices/HUB_2_PLUS.json +++ b/core/config/devices/HUB_2_PLUS.json @@ -54,21 +54,15 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsmNetworkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsmNetworkStatus" }, { "name": "Intensité du signal cellulaire", "type": "info", - "subtype": "binary", + "subtype": "string", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::signalLevel", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::signalLevel" }, { "name": "Type réseau GSM", @@ -76,10 +70,7 @@ "subtype": "string", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::networkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::networkStatus" }, { "name": "Données cellulaires actives", @@ -87,10 +78,15 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::gprsEnabled", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::gprsEnabled" + }, + { + "name": "CMS", + "type": "info", + "subtype": "binary", + "isVisible": 0, + "isHistorized": 0, + "logicalId": "CMSActiveChannels" }, { "name": "Ethernet", diff --git a/core/config/devices/HUB_HYBRID.json b/core/config/devices/HUB_HYBRID.json index ea33f06..384a74b 100644 --- a/core/config/devices/HUB_HYBRID.json +++ b/core/config/devices/HUB_HYBRID.json @@ -54,21 +54,15 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsmNetworkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsmNetworkStatus" }, { "name": "Intensité du signal cellulaire", "type": "info", - "subtype": "binary", + "subtype": "string", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::signalLevel", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::signalLevel" }, { "name": "Type réseau GSM", @@ -76,10 +70,7 @@ "subtype": "string", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::networkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::networkStatus" }, { "name": "Données cellulaires actives", @@ -87,10 +78,15 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsm::gprsEnabled", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsm::gprsEnabled" + }, + { + "name": "CMS", + "type": "info", + "subtype": "binary", + "isVisible": 0, + "isHistorized": 0, + "logicalId": "CMSActiveChannels" }, { "name": "Ethernet", diff --git a/core/config/devices/HUB_PLUS.json b/core/config/devices/HUB_PLUS.json index 8d51cff..57e4248 100644 --- a/core/config/devices/HUB_PLUS.json +++ b/core/config/devices/HUB_PLUS.json @@ -54,10 +54,39 @@ "subtype": "binary", "isVisible": 0, "isHistorized": 0, - "logicalId": "gsmNetworkStatus", - "configuration": { - "repeatEventManagement": "always" - } + "logicalId": "gsmNetworkStatus" + }, + { + "name": "Intensité du signal cellulaire", + "type": "info", + "subtype": "string", + "isVisible": 0, + "isHistorized": 0, + "logicalId": "gsm::signalLevel" + }, + { + "name": "Type réseau GSM", + "type": "info", + "subtype": "string", + "isVisible": 0, + "isHistorized": 0, + "logicalId": "gsm::networkStatus" + }, + { + "name": "Données cellulaires actives", + "type": "info", + "subtype": "binary", + "isVisible": 0, + "isHistorized": 0, + "logicalId": "gsm::gprsEnabled" + }, + { + "name": "CMS", + "type": "info", + "subtype": "binary", + "isVisible": 0, + "isHistorized": 0, + "logicalId": "CMSActiveChannels" }, { "name": "Ethernet",