diff --git a/front/plugins/_publisher_mqtt/config.json b/front/plugins/_publisher_mqtt/config.json index 17593f99..8700cd48 100755 --- a/front/plugins/_publisher_mqtt/config.json +++ b/front/plugins/_publisher_mqtt/config.json @@ -448,67 +448,6 @@ "string" : "Contraseña utilizada para iniciar sesión en su instancia de agente de MQTT." }] }, - { - "function": "QOS", - "type": "integer.select", - "default_value": 0, - "options": [0, 1, 2], - "localized": ["name", "description"], - "name" : [{ - "language_code": "en_us", - "string" : "MQTT Quality of Service" - }, - { - "language_code": "es_es", - "string" : "Calidad de servicio MQTT" - }], - "description": [{ - "language_code": "en_us", - "string" : "Quality of service setting for MQTT message sending. The higher the quality the longer the delay.
0 - Low quality to 2 - High quality." - }, - { - "language_code": "es_es", - "string" : "Configuración de calidad de servicio para el envío de mensajes MQTT. 0: baja calidad a 2: alta calidad. Cuanto mayor sea la calidad, mayor será el retraso." - }] - }, - { - "function": "VERSION", - "type": "integer.select", - "default_value": 1, - "options": [ 1, 2 ], - "localized": ["name", "description"], - "name" : [{ - "language_code": "en_us", - "string" : "Version" - }], - "description": [{ - "language_code": "en_us", - "string" : "Paho MQTT API version. Depends on the MQTT version supported by the MQTT broker. Usually set to 1." - }] - }, - { - "function": "DELAY_SEC", - "type": "integer", - "default_value": 2, - "options": [2, 3, 4, 5], - "localized": ["name", "description"], - "name" : [{ - "language_code": "en_us", - "string" : "MQTT delay per device" - }, - { - "language_code": "es_es", - "string" : "Retraso de MQTT por dispositivo" - }], - "description": [{ - "language_code": "en_us", - "string" : "A little hack - delay adding to the queue in case the process is restarted and previous publish processes aborted (it takes ~2s to update a sensor config on the broker). Tested with 2-3 seconds of delay. This delay is only applied when devices are created (during the first notification loop). It doesn not affect subsequent scans or notifications." - }, - { - "language_code": "es_es", - "string" : "Un pequeño truco: retrase la adición a la cola en caso de que el proceso se reinicie y los procesos de publicación anteriores se anulen (se necesitan ~2s para actualizar la configuración de un sensor en el intermediario). Probado con 2-3 segundos de retraso. Este retraso solo se aplica cuando se crean dispositivos (durante el primer bucle de notificación). No afecta los escaneos o notificaciones posteriores." - }] - }, { "function": "SEND_STATS", "type": "boolean", @@ -590,6 +529,67 @@ "string" : "The type of the sensor that should be generated for the is_present sensor. Inserted into the homeassistant/{PRESENCE_SENSOR_TYPE}/mac_44_ef_44_ef_44_ef/is_present/ topic. See the Plugin readme for details." } ] + }, + { + "function": "QOS", + "type": "integer.select", + "default_value": 0, + "options": [0, 1, 2], + "localized": ["name", "description"], + "name" : [{ + "language_code": "en_us", + "string" : "MQTT Quality of Service" + }, + { + "language_code": "es_es", + "string" : "Calidad de servicio MQTT" + }], + "description": [{ + "language_code": "en_us", + "string" : "Quality of service setting for MQTT message sending. The higher the quality the longer the delay.
0 - Low quality to 2 - High quality." + }, + { + "language_code": "es_es", + "string" : "Configuración de calidad de servicio para el envío de mensajes MQTT. 0: baja calidad a 2: alta calidad. Cuanto mayor sea la calidad, mayor será el retraso." + }] + }, + { + "function": "VERSION", + "type": "integer.select", + "default_value": 1, + "options": [ 1, 2 ], + "localized": ["name", "description"], + "name" : [{ + "language_code": "en_us", + "string" : "Version" + }], + "description": [{ + "language_code": "en_us", + "string" : "Paho MQTT API version. Depends on the MQTT version supported by the MQTT broker. Usually set to 1." + }] + }, + { + "function": "DELAY_SEC", + "type": "integer", + "default_value": 2, + "options": [2, 3, 4, 5], + "localized": ["name", "description"], + "name" : [{ + "language_code": "en_us", + "string" : "MQTT delay per device" + }, + { + "language_code": "es_es", + "string" : "Retraso de MQTT por dispositivo" + }], + "description": [{ + "language_code": "en_us", + "string" : "A little hack - delay adding to the queue in case the process is restarted and previous publish processes aborted (it takes ~2s to update a sensor config on the broker). Tested with 2-3 seconds of delay. This delay is only applied when devices are created (during the first notification loop). It doesn not affect subsequent scans or notifications." + }, + { + "language_code": "es_es", + "string" : "Un pequeño truco: retrase la adición a la cola en caso de que el proceso se reinicie y los procesos de publicación anteriores se anulen (se necesitan ~2s para actualizar la configuración de un sensor en el intermediario). Probado con 2-3 segundos de retraso. Este retraso solo se aplica cuando se crean dispositivos (durante el primer bucle de notificación). No afecta los escaneos o notificaciones posteriores." + }] } ] }