Erreur BDD après chaque mise à jour en bêta

Bonjour,

J’ai depuis quelques temps, je pense après chaque mise à jour du plugin en bêta, ce message d’erreur dans les logs :

[2024-12-16 11:00:14] ERROR  : Fatal exception in handleMessage:[MySQL] Error code : 23000 (1062). Duplicate entry '419-On' for key 'unique'  : INSERT INTO `cmd` SET `id` = :id, `logicalId` = :logicalId, `generic_type` = :generic_type, `eqType` = :eqType, `name` = :name, `order` = :order, `type` = :type, `subType` = :subType, `eqLogic_id` = :eqLogic_id, `isHistorized` = :isHistorized, `unite` = :unite, `configuration` = :configuration, `template` = :template, `display` = :display, `value` = :value, `isVisible` = :isVisible, `alert` = :alert
[2024-12-21 16:00:57] ERROR  : Fatal exception in handleMessage:[MySQL] Error code : 23000 (1062). Duplicate entry '419-On' for key 'unique'  : INSERT INTO `cmd` SET `id` = :id, `logicalId` = :logicalId, `generic_type` = :generic_type, `eqType` = :eqType, `name` = :name, `order` = :order, `type` = :type, `subType` = :subType, `eqLogic_id` = :eqLogic_id, `isHistorized` = :isHistorized, `unite` = :unite, `configuration` = :configuration, `template` = :template, `display` = :display, `value` = :value, `isVisible` = :isVisible, `alert` = :alert
[2024-12-29 09:13:47] ERROR  : Fatal exception in handleMessage:[MySQL] Error code : 23000 (1062). Duplicate entry '419-On' for key 'unique'  : INSERT INTO `cmd` SET `id` = :id, `logicalId` = :logicalId, `generic_type` = :generic_type, `eqType` = :eqType, `name` = :name, `order` = :order, `type` = :type, `subType` = :subType, `eqLogic_id` = :eqLogic_id, `isHistorized` = :isHistorized, `unite` = :unite, `configuration` = :configuration, `template` = :template, `display` = :display, `value` = :value, `isVisible` = :isVisible, `alert` = :alert
[2024-12-29 09:13:48] ERROR  : Fatal exception in handleMessage:[MySQL] Error code : 23000 (1062). Duplicate entry '419-On' for key 'unique'  : INSERT INTO `cmd` SET `id` = :id, `logicalId` = :logicalId, `generic_type` = :generic_type, `eqType` = :eqType, `name` = :name, `order` = :order, `type` = :type, `subType` = :subType, `eqLogic_id` = :eqLogic_id, `isHistorized` = :isHistorized, `unite` = :unite, `configuration` = :configuration, `template` = :template, `display` = :display, `value` = :value, `isVisible` = :isVisible, `alert` = :alert
[2025-01-05 16:19:05] ERROR  : Fatal exception in handleMessage:[MySQL] Error code : 23000 (1062). Duplicate entry '419-On' for key 'unique'  : INSERT INTO `cmd` SET `id` = :id, `logicalId` = :logicalId, `generic_type` = :generic_type, `eqType` = :eqType, `name` = :name, `order` = :order, `type` = :type, `subType` = :subType, `eqLogic_id` = :eqLogic_id, `isHistorized` = :isHistorized, `unite` = :unite, `configuration` = :configuration, `template` = :template, `display` = :display, `value` = :value, `isVisible` = :isVisible, `alert` = :alert
[2025-01-06 13:49:10] ERROR  : Fatal exception in handleMessage:[MySQL] Error code : 23000 (1062). Duplicate entry '419-On' for key 'unique'  : INSERT INTO `cmd` SET `id` = :id, `logicalId` = :logicalId, `generic_type` = :generic_type, `eqType` = :eqType, `name` = :name, `order` = :order, `type` = :type, `subType` = :subType, `eqLogic_id` = :eqLogic_id, `isHistorized` = :isHistorized, `unite` = :unite, `configuration` = :configuration, `template` = :template, `display` = :display, `value` = :value, `isVisible` = :isVisible, `alert` = :alert

Je ne sais pas quoi en faire.
J’ai vérifié que je n’avais pas de commande « 419 » ou « 419-On » ou de commande « On » bizarre. Et je ne me sens pas capable de moi-même de toucher à la BDD.

Salut,

C’est que tu as un équipement sur lequel une commande « On » existe déjà mais dont le logicalId n’est plus celui que le plugin recherche.

histoire d’orienter les recherches d’équipement, j’ai fait des modifs qui ont plus touché des équipements zigbee à priori dans les dernières beta (c’est pas propre à zigbee, ca pourrait être zwave ou autre mais j’ai touché à la gestion des lampes couleurs et donc c’est plus probable que ca soit zigbee que bluetooth par exemple)
tu peux me dire quel type d’équipement tu gères? de quelle passerelle je veux dire? (zigbee, omg, tydom…)

edit: et si tu sais me dire un peu plus précisément ce que c’est « quelques temps »: 1 mois? 3 mois? 6 mois? ca m’aidera si je dois fouiller dans l’historique; à priori au moins depuis le 16/12

sinon faudra le log en DEBUG et voir sur quel composant il était au moment de l’exception

Salut,

J’ai zwave broadlink jMQTT et IPX800 en passerelle. Theengs est installé sur antenne.

J’avais vérifié que je n’avais pas de commande « On » ou avec ID 419 (qui n’existe carrément pas sur mon Jeedom) effacée récemment dans « Résumé Domotique ».

Sur ton plugin je n’ai qu’un seul équipement avec « On », un Awtrix (le reste c’est Nut MiFlora et sondes hygroT°C BT). Mais géré en pratique sous jMQTT.
image

Je n’ai pas normalement pas effacé le log (uniquement les notifs dans le centre de message), donc la 1ère occurrence serait bien le 16/12.

Avec ces infos, il te faut tout de même le log en debug ?

je n’ai pas été clair p-e: je parlais de celles utilisée avec mqtt discovery, zwave c’est possible, les autres j’ai un doute :wink:

je peux voir la config avancée + le json de découverte (format brut, copié depuis le bouton dans la page de l’équipement)

En effet je n’avais pas compris :sweat_smile:

json de découverte :

{"sensor":{"6cc048_app":{"name":"Current app","uniq_id":"6cc048_app","ic":"mdi:apps","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_app/stat_t"},"6cc048_id":{"name":"Device topic","uniq_id":"6cc048_id","ic":"mdi:id-card","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_id/stat_t"},"6cc048_temp":{"name":"Temperature","uniq_id":"6cc048_temp","dev_cla":"temperature","ic":"mdi:thermometer","unit_of_meas":"°C","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_temp/stat_t"},"6cc048_hum":{"name":"Humidity","uniq_id":"6cc048_hum","dev_cla":"humidity","ic":"mdi:water-percent","unit_of_meas":"%","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_hum/stat_t"},"6cc048_bat":{"name":"Battery","uniq_id":"6cc048_bat","dev_cla":"battery","ic":"mdi:battery-90","unit_of_meas":"%","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_bat/stat_t"},"6cc048_lux":{"name":"Illuminance","uniq_id":"6cc048_lux","dev_cla":"illuminance","ic":"mdi:sun-wireless","unit_of_meas":"lx","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_lux/stat_t"},"6cc048_ver":{"name":"Version","uniq_id":"6cc048_ver","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ver/stat_t"},"6cc048_sig":{"name":"WiFi strength","uniq_id":"6cc048_sig","dev_cla":"signal_strength","unit_of_meas":"dB","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_sig/stat_t"},"6cc048_up":{"name":"Uptime","uniq_id":"6cc048_up","dev_cla":"duration","unit_of_meas":"s","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_up/stat_t"},"6cc048_ram":{"name":"Free ram","uniq_id":"6cc048_ram","dev_cla":"data_size","ic":"mdi:memory","unit_of_meas":"B","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ram/stat_t"},"6cc048_ip_address":{"name":"IP Address","uniq_id":"6cc048_ip_address","ic":"mdi:wifi","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ip_address/stat_t"}},"light":{"6cc048_mat":{"name":"Matrix","uniq_id":"6cc048_mat","ic":"mdi:clock-digital","bri_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/bri_stat_t","bri_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/bri_cmd_t","rgb_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/rgb_cmd_t","rgb_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/rgb_stat_t","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/cmd_t"},"6cc048_ind1":{"name":"Indicator 1","uniq_id":"6cc048_ind1","ic":"mdi:arrow-top-right-thick","rgb_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/rgb_cmd_t","rgb_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/rgb_stat_t","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/cmd_t"}}}

Config avancée :

je peux voir aussi la config avancée des commandes on & off stp?

et c’est curieux, le json de découverte ne semble pas complet => tu as bien plus de commandes que ce qu’il devrait exister avec ce json.
y a moyen de redémarrer ce « awtrix » pour qu’il republie les infos?

sinon probablement qu’en supprimant les commandes on/off et en redémarrant le démon ca va rentrer dans l’ordre sauf si ce awtrix publie aussi un composant « switch » on/off en plus de « light »

Quand je serai devant un PC je te donne les configs avancées.

Je supprimerai ensuite les commandes on/off.

L’Awtrix a redémarré il y a 3-4 jours car nouveau FW. Est-ce la raison de la discordance entre commandes et json (je ne me rappelle pas avoir ajouté manuellement des commandes) ?

Salut,

Commande ON :

Commande OFF :

ok je suis vraiment pas assez clair désolé: ce que je voulais c’était les infos brutes, ce bouton dans la config avancée:
image

Et moi je ne réfléchis pas non plus… C’est pas gagné :joy:

Il est là mon 419 :wink: Je pensais que c’était l’ID d’une commande, mais en fait c’était l’eqLogic_id.

ca ce sont les commandes on/off existantes ou celles créées après la suppression des autres?

Existantes. Je n’ai encore rien modifié (pas eu le temps).

Salut,

Nouvelles commandes après suppression, sauvegarde et relance du démon :

L’erreur persiste :

[2025-01-09 13:28:45] ERROR  : Fatal exception in handleMessage:[MySQL] Error code : 23000 (1062). Duplicate entry '419-On' for key 'unique'  : INSERT INTO `cmd` SET `id` = :id, `logicalId` = :logicalId, `generic_type` = :generic_type, `eqType` = :eqType, `name` = :name, `order` = :order, `type` = :type, `subType` = :subType, `eqLogic_id` = :eqLogic_id, `isHistorized` = :isHistorized, `unite` = :unite, `configuration` = :configuration, `template` = :template, `display` = :display, `value` = :value, `isVisible` = :isVisible, `alert` = :alert
  • t’es sur que c’est le seul équipement ou tu as une commande on/off? en meme temps il y a l’id 419
  • le json de découverte a-t-il évolué avec plus d’info?

je vais mettre une beta avec de meilleur log pour voir l’info
j’hésite un peu à avoir un système qui renomme les commandes automatiquement pour éviter les doublons car ca risque de créer trop de doublon si jamais y a un bug qlqpart

j’ai p-e compris

il y a plusieurs (sous) affichages à ce device que tu peux allumer ou éteindre?

je peux voir le topic des commande etat (1), etat (2) et etat (3)? ce sont chaque fois des topics différents?

  1. Sur le plugin ? Oui pas d’autres commandes on/off :

  1. json après redémarrage démon et Awtrix :
{"sensor":{"6cc048_app":{"name":"Current app","uniq_id":"6cc048_app","ic":"mdi:apps","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_app/stat_t"},"6cc048_id":{"name":"Device topic","uniq_id":"6cc048_id","ic":"mdi:id-card","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_id/stat_t"},"6cc048_temp":{"name":"Temperature","uniq_id":"6cc048_temp","dev_cla":"temperature","ic":"mdi:thermometer","unit_of_meas":"°C","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_temp/stat_t"},"6cc048_hum":{"name":"Humidity","uniq_id":"6cc048_hum","dev_cla":"humidity","ic":"mdi:water-percent","unit_of_meas":"%","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_hum/stat_t"},"6cc048_bat":{"name":"Battery","uniq_id":"6cc048_bat","dev_cla":"battery","ic":"mdi:battery-90","unit_of_meas":"%","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_bat/stat_t"},"6cc048_lux":{"name":"Illuminance","uniq_id":"6cc048_lux","dev_cla":"illuminance","ic":"mdi:sun-wireless","unit_of_meas":"lx","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_lux/stat_t"},"6cc048_ver":{"name":"Version","uniq_id":"6cc048_ver","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ver/stat_t"},"6cc048_sig":{"name":"WiFi strength","uniq_id":"6cc048_sig","dev_cla":"signal_strength","unit_of_meas":"dB","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_sig/stat_t"},"6cc048_up":{"name":"Uptime","uniq_id":"6cc048_up","dev_cla":"duration","unit_of_meas":"s","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_up/stat_t"},"6cc048_ram":{"name":"Free ram","uniq_id":"6cc048_ram","dev_cla":"data_size","ic":"mdi:memory","unit_of_meas":"B","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ram/stat_t"},"6cc048_ip_address":{"name":"IP Address","uniq_id":"6cc048_ip_address","ic":"mdi:wifi","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ip_address/stat_t"}},"light":{"6cc048_mat":{"name":"Matrix","uniq_id":"6cc048_mat","ic":"mdi:clock-digital","bri_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/bri_stat_t","bri_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/bri_cmd_t","rgb_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/rgb_cmd_t","rgb_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/rgb_stat_t","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/cmd_t"},"6cc048_ind1":{"name":"Indicator 1","uniq_id":"6cc048_ind1","ic":"mdi:arrow-top-right-thick","rgb_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/rgb_cmd_t","rgb_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/rgb_stat_t","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/cmd_t"}}}
  1. Logs en debug (extrait) :
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_bat/stat_t': b'100'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_temp/stat_t': b'23'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_hum/stat_t': b'25'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_lux/stat_t': b'53'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_mat/bri_stat_t': b'82'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_mat/stat_t': b'ON'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_sig/stat_t': b'-73'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_ram/stat_t': b'133460'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_up/stat_t': b'530'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_ip_address/stat_t': b'192.168.1.101'
[2025-01-09 14:57:07] DEBUG  : message received on topic 'awtrix_6cc048/stats': b'{"bat":100,"bat_raw":657,"type":0,"lux":53,"ldr_raw":801,"ram":133460,"bri":82,"temp":23,"hum":24,"uptime":530,"wifi_signal":-72,"messages":4,"version":"0.98","indicator1":false,"indicator2":false,"indicator3":false,"app":"Time","uid":"awtrix_6cc048","matrix":true,"ip_address":"192.168.1.101"}'
[2025-01-09 14:57:10] DEBUG  : Send to jeedom: {'awtrix_6cc048': {'10521c6cc048': {'6cc048_bat': {'stat_t': 100}, '6cc048_temp': {'stat_t': 23}, '6cc048_hum': {'stat_t': 25}, '6cc048_lux': {'stat_t': 53}, '6cc048_mat': {'bri_stat_t': 82, 'stat_t': 'ON'}, '6cc048_sig': {'stat_t': -73}, '6cc048_ram': {'stat_t': 133460}, '6cc048_up': {'stat_t': 530}, '6cc048_ip_address': {'stat_t': '192.168.1.101'}}, 'stats': {'bat': 100, 'bat_raw': 657, 'type': 0, 'lux': 53, 'ldr_raw': 801, 'ram': 133460, 'bri': 82, 'temp': 23, 'hum': 24, 'uptime': 530, 'wifi_signal': -72, 'messages': 4, 'version': '0.98', 'indicator1': False, 'indicator2': False, 'indicator3': False, 'app': 'Time', 'uid': 'awtrix_6cc048', 'matrix': True, 'ip_address': '192.168.1.101'}}, 'home': {'TGW2': {'BTtoMQTT': {'582D3410CBE8': {'name': 'ClearGrass Temp & RH', 'id': '58:2D:34:10:CB:E8', 'rssi': -68, 'brand': 'ClearGrass/Qingping', 'model': 'Round TH', 'model_id': 'CGG1', 'type': 'THB', 'tempc': 19.7, 'tempf': 67.46, 'hum': 56.1, 'batt': 32, 'mac': '58:2D:34:10:CB:E8'}}}}}
[2025-01-09 14:57:17] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_bat/stat_t': b'100'
[2025-01-09 14:57:17] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_temp/stat_t': b'23'
[2025-01-09 14:57:17] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_hum/stat_t': b'25'
[2025-01-09 14:57:17] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_lux/stat_t': b'54'
[2025-01-09 14:57:17] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_sig/stat_t': b'-72'
[2025-01-09 14:57:17] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_ram/stat_t': b'133460'
[2025-01-09 14:57:17] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_up/stat_t': b'540'
[2025-01-09 14:57:17] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_ip_address/stat_t': b'192.168.1.101'
[2025-01-09 14:57:17] DEBUG  : message received on topic 'awtrix_6cc048/stats': b'{"bat":100,"bat_raw":657,"type":0,"lux":54,"ldr_raw":804,"ram":133460,"bri":82,"temp":23,"hum":24,"uptime":540,"wifi_signal":-72,"messages":4,"version":"0.98","indicator1":false,"indicator2":false,"indicator3":false,"app":"Time","uid":"awtrix_6cc048","matrix":true,"ip_address":"192.168.1.101"}'
[2025-01-09 14:57:18] DEBUG  : Send to jeedom: {'awtrix_6cc048': {'10521c6cc048': {'6cc048_bat': {'stat_t': 100}, '6cc048_temp': {'stat_t': 23}, '6cc048_hum': {'stat_t': 25}, '6cc048_lux': {'stat_t': 54}, '6cc048_sig': {'stat_t': -72}, '6cc048_ram': {'stat_t': 133460}, '6cc048_up': {'stat_t': 540}, '6cc048_ip_address': {'stat_t': '192.168.1.101'}}, 'stats': {'bat': 100, 'bat_raw': 657, 'type': 0, 'lux': 54, 'ldr_raw': 804, 'ram': 133460, 'bri': 82, 'temp': 23, 'hum': 24, 'uptime': 540, 'wifi_signal': -72, 'messages': 4, 'version': '0.98', 'indicator1': False, 'indicator2': False, 'indicator3': False, 'app': 'Time', 'uid': 'awtrix_6cc048', 'matrix': True, 'ip_address': '192.168.1.101'}}}
[2025-01-09 14:57:27] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_bat/stat_t': b'100'
[2025-01-09 14:57:27] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_temp/stat_t': b'23'
[2025-01-09 14:57:27] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_hum/stat_t': b'25'
[2025-01-09 14:57:27] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_lux/stat_t': b'55'
[2025-01-09 14:57:27] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_sig/stat_t': b'-72'
[2025-01-09 14:57:27] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_ram/stat_t': b'133460'
[2025-01-09 14:57:27] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_up/stat_t': b'550'
[2025-01-09 14:57:27] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_ip_address/stat_t': b'192.168.1.101'
[2025-01-09 14:57:27] DEBUG  : message received on topic 'awtrix_6cc048/stats': b'{"bat":100,"bat_raw":657,"type":0,"lux":54,"ldr_raw":804,"ram":133460,"bri":82,"temp":23,"hum":24,"uptime":551,"wifi_signal":-72,"messages":4,"version":"0.98","indicator1":false,"indicator2":false,"indicator3":false,"app":"Time","uid":"awtrix_6cc048","matrix":true,"ip_address":"192.168.1.101"}'
[2025-01-09 14:57:28] DEBUG  : Send to jeedom: {'awtrix_6cc048': {'10521c6cc048': {'6cc048_bat': {'stat_t': 100}, '6cc048_temp': {'stat_t': 23}, '6cc048_hum': {'stat_t': 25}, '6cc048_lux': {'stat_t': 55}, '6cc048_sig': {'stat_t': -72}, '6cc048_ram': {'stat_t': 133460}, '6cc048_up': {'stat_t': 550}, '6cc048_ip_address': {'stat_t': '192.168.1.101'}}, 'stats': {'bat': 100, 'bat_raw': 657, 'type': 0, 'lux': 54, 'ldr_raw': 804, 'ram': 133460, 'bri': 82, 'temp': 23, 'hum': 24, 'uptime': 551, 'wifi_signal': -72, 'messages': 4, 'version': '0.98', 'indicator1': False, 'indicator2': False, 'indicator3': False, 'app': 'Time', 'uid': 'awtrix_6cc048', 'matrix': True, 'ip_address': '192.168.1.101'}}}
[2025-01-09 14:57:37] DEBUG  : message received on topic 'awtrix_6cc048/10521c6cc048/6cc048_bat/stat_t': b'100'

Je ne suis pas sur que tu aies vu cette question:


sinon ca donne quoi avec la dernière beta?

Salut,

Désolé je suis pas mal pris en ce moment.

  1. Avec la dernière bêta : plus de message d’erreur :slight_smile: :ok_hand:

  2. Par contre c’est un peu le bazar dans mes on/off/etat :

Ce sont des topics différents (_mat / _ind1 / _ind2 / _ind3). Ils correspondent apparemment aux 3 indicateurs configurables (small dots sur les coins de l’affichage)

  1. Configuration de découverte plus complète j’ai l’impression :
{"sensor":{"6cc048_app":{"name":"Current app","uniq_id":"6cc048_app","ic":"mdi:apps","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_app/stat_t"},"6cc048_id":{"name":"Device topic","uniq_id":"6cc048_id","ic":"mdi:id-card","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_id/stat_t"},"6cc048_temp":{"name":"Temperature","uniq_id":"6cc048_temp","dev_cla":"temperature","ic":"mdi:thermometer","unit_of_meas":"°C","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_temp/stat_t"},"6cc048_hum":{"name":"Humidity","uniq_id":"6cc048_hum","dev_cla":"humidity","ic":"mdi:water-percent","unit_of_meas":"%","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_hum/stat_t"},"6cc048_bat":{"name":"Battery","uniq_id":"6cc048_bat","dev_cla":"battery","ic":"mdi:battery-90","unit_of_meas":"%","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_bat/stat_t"},"6cc048_lux":{"name":"Illuminance","uniq_id":"6cc048_lux","dev_cla":"illuminance","ic":"mdi:sun-wireless","unit_of_meas":"lx","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_lux/stat_t"},"6cc048_ver":{"name":"Version","uniq_id":"6cc048_ver","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ver/stat_t"},"6cc048_sig":{"name":"WiFi strength","uniq_id":"6cc048_sig","dev_cla":"signal_strength","unit_of_meas":"dB","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_sig/stat_t"},"6cc048_up":{"name":"Uptime","uniq_id":"6cc048_up","dev_cla":"duration","unit_of_meas":"s","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_up/stat_t"},"6cc048_ram":{"name":"Free ram","uniq_id":"6cc048_ram","dev_cla":"data_size","ic":"mdi:memory","unit_of_meas":"B","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ram/stat_t"},"6cc048_ip_address":{"name":"IP Address","uniq_id":"6cc048_ip_address","ic":"mdi:wifi","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ip_address/stat_t"}},"light":{"6cc048_mat":{"name":"Matrix","uniq_id":"6cc048_mat","ic":"mdi:clock-digital","bri_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/bri_stat_t","bri_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/bri_cmd_t","rgb_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/rgb_cmd_t","rgb_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/rgb_stat_t","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_mat/cmd_t"},"6cc048_ind1":{"name":"Indicator 1","uniq_id":"6cc048_ind1","ic":"mdi:arrow-top-right-thick","rgb_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/rgb_cmd_t","rgb_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/rgb_stat_t","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind1/cmd_t"},"6cc048_ind2":{"name":"Indicator 2","uniq_id":"6cc048_ind2","ic":"mdi:arrow-right-thick","rgb_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind2/rgb_cmd_t","rgb_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind2/rgb_stat_t","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind2/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind2/cmd_t"},"6cc048_ind3":{"name":"Indicator 3","uniq_id":"6cc048_ind3","ic":"mdi:arrow-bottom-right-thick","rgb_cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind3/rgb_cmd_t","rgb_stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind3/rgb_stat_t","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_ind3/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_ind3/cmd_t"}},"select":{"6cc048_bri":{"name":"Brightness mode","uniq_id":"6cc048_bri","ic":"mdi:brightness-auto","options":["Manual","Auto"],"dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_bri/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_bri/cmd_t"},"6cc048_eff":{"name":"Transition effect","uniq_id":"6cc048_eff","ic":"mdi:auto-fix","options":["Random","Slide","Dim","Zoom","Rotate","Pixelate","Curtain","Ripple","Blink","Reload","Fade"],"dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_eff/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_eff/cmd_t"}},"button":{"6cc048_btna":{"name":"Dismiss notification","uniq_id":"6cc048_btna","ic":"mdi:bell-off","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_btna/cmd_t"},"6cc048_doupd":{"name":"Start Update","uniq_id":"6cc048_doupd","ic":"mdi:update","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_doupd/cmd_t"},"6cc048_btnb":{"name":"Next app","uniq_id":"6cc048_btnb","ic":"mdi:arrow-right-bold","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_btnb/cmd_t"},"6cc048_btnc":{"name":"Previous app","uniq_id":"6cc048_btnc","ic":"mdi:arrow-left-bold","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_btnc/cmd_t"}},"switch":{"6cc048_tra":{"name":"Transition","uniq_id":"6cc048_tra","ic":"mdi:swap-horizontal","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_tra/stat_t","cmd_t":"awtrix_6cc048/10521c6cc048/6cc048_tra/cmd_t"}},"binary_sensor":{"6cc048_btnL":{"name":"Button left","uniq_id":"6cc048_btnL","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_btnL/stat_t"},"6cc048_btnM":{"name":"Button select","uniq_id":"6cc048_btnM","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_btnM/stat_t"},"6cc048_btnR":{"name":"Button right","uniq_id":"6cc048_btnR","dev":{"ids":"10521c6cc048","name":"awtrix_anna","sw":"0.98","mf":"Blueforcer","mdl":"AWTRIX 3","cu":"http://192.168.1.101"},"avty_t":"awtrix_6cc048/10521c6cc048/avty_t","stat_t":"awtrix_6cc048/10521c6cc048/6cc048_btnR/stat_t"}}}```

ah oui curieux, y en a 2 inversé (2 et 3)
mais je pense que c’est pcq les états existaient déjà et que ca plantait au moment de la création des actions; du coup ils ne correspondent pas mais tu peux corriger à la main normalement et ca sera bon

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.