vdomos / domogik-plugin-mqtt

Domogik Plugin for send or receive MQTT messages
2 stars 0 forks source link

plugin blocked at starting #9

Closed tikismoke closed 8 months ago

tikismoke commented 5 years ago

When adding a device with topic containing accent:

2019-04-28 18:19:09,702 domogik-mqtt INFO Value for 'mqtt_protocol' is : MQTTv31
2019-04-28 18:19:09,703 domogik-mqtt INFO Casting value for key 'mqtt_protocol' in type 'choice'...
2019-04-28 18:19:09,703 domogik-mqtt INFO Value is : MQTTv31
2019-04-28 18:19:09,703 domogik-mqtt INFO Retrieve the devices list for this client...
2019-04-28 18:19:11,176 domogik-mqtt INFO - id : 451  /  name : grenier temp  /  device type id : mqtt.sensor_temperature
2019-04-28 18:19:11,176 domogik-mqtt INFO   xpl_stats features :
2019-04-28 18:19:11,176 domogik-mqtt INFO   xpl_commands features :
2019-04-28 18:19:11,176 domogik-mqtt INFO - id : 452  /  name : grenier humidite  /  device type id : mqtt.sensor_humidity
2019-04-28 18:19:11,177 domogik-mqtt INFO   xpl_stats features :
2019-04-28 18:19:11,177 domogik-mqtt INFO   xpl_commands features :
2019-04-28 18:19:11,177 domogik-mqtt INFO - id : 468  /  name : Fenêtre jardin  /  device type id : mqtt.sensor_value
2019-04-28 18:19:11,177 domogik-mqtt INFO   xpl_stats features :
2019-04-28 18:19:11,177 domogik-mqtt INFO   xpl_commands features :
2019-04-28 18:19:11,180 domogik-mqtt INFO - id : 469  /  name : Fenêtre cour  /  device type id : mqtt.sensor_value
2019-04-28 18:19:11,180 domogik-mqtt INFO   xpl_stats features :
2019-04-28 18:19:11,180 domogik-mqtt INFO   xpl_commands features :
2019-04-28 18:19:11,180 domogik-mqtt INFO - id : 470  /  name : Volet roulant cour  /  device type id : mqtt.sensor_value
2019-04-28 18:19:11,181 domogik-mqtt INFO   xpl_stats features :
2019-04-28 18:19:11,181 domogik-mqtt INFO   xpl_commands features :
2019-04-28 18:19:11,181 domogik-mqtt INFO - id : 471  /  name : Volet roulant jardin  /  device type id : mqtt.sensor_value
2019-04-28 18:19:11,181 domogik-mqtt INFO   xpl_stats features :
2019-04-28 18:19:11,181 domogik-mqtt INFO   xpl_commands features :
2019-04-28 18:19:11,183 domogik-mqtt INFO ==> Set MQTT devices list ...
2019-04-28 18:19:11,183 domogik-mqtt DEBUG Get parameter 'topic'
2019-04-28 18:19:11,184 domogik-mqtt DEBUG Parameter value found: /esp01grenier/temp_hum/Temperature
2019-04-28 18:19:11,184 domogik-mqtt DEBUG Get parameter 'qos'
2019-04-28 18:19:11,184 domogik-mqtt DEBUG Parameter value found: 0
2019-04-28 18:19:11,184 domogik-mqtt INFO ==> Device MQTT '{'topic': u'/esp01grenier/temp_hum/Temperature', 'qos': u'0', 'jsonquery': '', 'type': u'mqtt.sensor_temperature', 'name': u'grenier temp'}'
2019-04-28 18:19:11,184 domogik-mqtt DEBUG Get parameter 'topic'
2019-04-28 18:19:11,185 domogik-mqtt DEBUG Parameter value found: /esp01grenier/temp_hum/Humidity
2019-04-28 18:19:11,185 domogik-mqtt DEBUG Get parameter 'qos'
2019-04-28 18:19:11,185 domogik-mqtt DEBUG Parameter value found: 0
2019-04-28 18:19:11,185 domogik-mqtt INFO ==> Device MQTT '{'topic': u'/esp01grenier/temp_hum/Humidity', 'qos': u'0', 'jsonquery': '', 'type': u'mqtt.sensor_humidity', 'name': u'grenier humidite'}'
2019-04-28 18:19:11,186 domogik-mqtt DEBUG Get parameter 'topic'
2019-04-28 18:19:11,186 domogik-mqtt DEBUG Parameter value found: /Fenêtre jardin
2019-04-28 18:19:11,186 domogik-mqtt DEBUG Get parameter 'qos'
2019-04-28 18:19:11,186 domogik-mqtt DEBUG Parameter value found: 0
2019-04-28 18:19:20,785 domogik-mqtt DEBUG Send client status : starting
2019-04-28 18:19:35,786 domogik-mqtt DEBUG Send client status : starting
2019-04-28 18:19:50,786 domogik-mqtt DEBUG Send client status : starting
2019-04-28 18:20:05,787 domogik-mqtt DEBUG Send client status : starting

The plugin say on starting mode and never really start

If i removed this device all works.

tikismoke commented 5 years ago

Those topics make it unhappy:

/Fenêtre cour

and

/Fenêtre jardin

vdomos commented 5 years ago

Salut tiki désolé, mais je n'ai plus de domogik qui tourne. Pas sur d'avoir le courage de réinstaller le tout

tikismoke commented 5 years ago

Quoi comment ça....

:(

Le 13 juin 2019 14:27:36 GMT+02:00, vdomos notifications@github.com a écrit :

Salut tiki> désolé, mais je n'ai plus de domogik qui tourne.> Pas sur d'avoir le courage de réinstaller le tout>

-- > You are receiving this because you authored the thread.> Reply to this email directly or view it on GitHub:> https://github.com/vdomos/domogik-plugin-mqtt/issues/9#issuecomment-501681156

-- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.