Pas de création d'équipement

Bonjour,

je viens d’installer le plugin et sur mes 4 équipement, seulement 1 c’est créé… Et pourtant il voit bien :


[2023-11-24 20:10:19]INFO : Arrêt démon
[2023-11-24 20:10:23]INFO : Lancement démon
[2023-11-24 20:10:23]DEBUG : test from daemon
[2023-11-24 20:10:24]DEBUG : new message:{"homeassistant":{"sensor":{"CCF327CD4613-steps":{"config":{"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-steps","uniq_id":"CCF327CD4613-steps","val_tpl":"{{ value_json.steps | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}},"CCF327CD4613-act_bpm":{"config":{"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-act_bpm","uniq_id":"CCF327CD4613-act_bpm","val_tpl":"{{ value_json.act_bpm | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}},"CCF327CD4613-device":{"config":{"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-device","uniq_id":"CCF327CD4613-device","val_tpl":"{{ value_json.device | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}},"CCF327CD4613-mac":{"config":{"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-mac","uniq_id":"CCF327CD4613-mac","val_tpl":"{{ value_json.mac | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}}}},"tgw":{"950":{"LWT":"online"}},"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-54,"mfr":"Google"},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-62},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-78},"702845688A6E":{"manufacturerdata":"6e8a68452870","name":"Oclean X","id":"70:28:45:68:8A:6E","rssi":-70}}}}}
[2023-11-24 20:10:24]DEBUG : ==> type='sensor' - content= {"CCF327CD4613-steps":{"config":{"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-steps","uniq_id":"CCF327CD4613-steps","val_tpl":"{{ value_json.steps | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}},"CCF327CD4613-act_bpm":{"config":{"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-act_bpm","uniq_id":"CCF327CD4613-act_bpm","val_tpl":"{{ value_json.act_bpm | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}},"CCF327CD4613-device":{"config":{"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-device","uniq_id":"CCF327CD4613-device","val_tpl":"{{ value_json.device | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}},"CCF327CD4613-mac":{"config":{"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-mac","uniq_id":"CCF327CD4613-mac","val_tpl":"{{ value_json.mac | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}}}
[2023-11-24 20:10:24]DEBUG : handle config: {"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-steps","uniq_id":"CCF327CD4613-steps","val_tpl":"{{ value_json.steps | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}
[2023-11-24 20:10:24]DEBUG : handle config: {"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-act_bpm","uniq_id":"CCF327CD4613-act_bpm","val_tpl":"{{ value_json.act_bpm | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}
[2023-11-24 20:10:24]DEBUG : handle config: {"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-device","uniq_id":"CCF327CD4613-device","val_tpl":"{{ value_json.device | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}
[2023-11-24 20:10:24]DEBUG : handle config: {"stat_t":"+\/+\/BTtoMQTT\/CCF327CD4613","name":"MB\/SW-mac","uniq_id":"CCF327CD4613-mac","val_tpl":"{{ value_json.mac | is_defined }}","state_class":"measurement","device":{"identifiers":["CCF327CD4613"],"connections":[["mac","CCF327CD4613"]],"manufacturer":"Xiaomi\/Amazfit","model":"MB\/SW","name":"Mi Smart Band 5","via_device":"Antenne BLE locale"}}
[2023-11-24 20:10:24]INFO : Nouvelle découverte, résumé des configuations:
[2023-11-24 20:10:24]INFO : - Importées:                 4
[2023-11-24 20:10:24]INFO : - Auto-création inactive:    0
[2023-11-24 20:10:24]INFO : - Topic ignoré:              0
[2023-11-24 20:10:24]INFO : - Erronées:                  0
[2023-11-24 20:10:24]INFO : - Non supportées:            0
[2023-11-24 20:10:24]INFO : - Total reçues:              4
[2023-11-24 20:10:25]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-65},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-78},"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-48,"mfr":"Google"}}}}}
[2023-11-24 20:10:26]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-48,"mfr":"Google"},"702845688A6E":{"manufacturerdata":"6e8a68452870","name":"Oclean X","id":"70:28:45:68:8A:6E","rssi":-80},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-79},"FA60EC01203A":{"servicedatauuid":"180a","servicedata":"fa60ec01203a","name":"nut","id":"FA:60:EC:01:20:3A","rssi":-68},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-63},"E27B588F8454":{"servicedatauuid":"180a","servicedata":"e27b588f8454","name":"nut","id":"E2:7B:58:8F:84:54","rssi":-58}}}}}
[2023-11-24 20:10:27]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-60,"mfr":"Google"},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-63}}}}}
[2023-11-24 20:10:28]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-55,"mfr":"Google"},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-65}}}}}
[2023-11-24 20:10:33]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-63},"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-48,"mfr":"Google"},"FA1C723CE43A":{"servicedatauuid":"180a","servicedata":"fa1c723ce43a","name":"nut","id":"FA:1C:72:3C:E4:3A","rssi":-63}}}}}
[2023-11-24 20:10:34]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-60,"mfr":"Google"},"FA60EC01203A":{"servicedatauuid":"180a","servicedata":"fa60ec01203a","name":"nut","id":"FA:60:EC:01:20:3A","rssi":-63},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-65},"E27B588F8454":{"servicedatauuid":"180a","servicedata":"e27b588f8454","name":"nut","id":"E2:7B:58:8F:84:54","rssi":-62}}}}}
[2023-11-24 20:10:35]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-48,"mfr":"Google"},"702845688A6E":{"manufacturerdata":"6e8a68452870","name":"Oclean X","id":"70:28:45:68:8A:6E","rssi":-70},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-77},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-72}}}}}
[2023-11-24 20:10:36]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-74},"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-60,"mfr":"Google"},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-77}}}}}
[2023-11-24 20:10:37]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-53,"mfr":"Google"},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-65},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-77},"FA60EC01203A":{"servicedatauuid":"180a","servicedata":"fa60ec01203a","name":"nut","id":"FA:60:EC:01:20:3A","rssi":-67}}}}}
[2023-11-24 20:10:38]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-72},"E27B588F8454":{"servicedatauuid":"180a","servicedata":"e27b588f8454","name":"nut","id":"E2:7B:58:8F:84:54","rssi":-58},"702845688A6E":{"manufacturerdata":"6e8a68452870","name":"Oclean X","id":"70:28:45:68:8A:6E","rssi":-70}}}}}
[2023-11-24 20:10:43]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-70},"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-55,"mfr":"Google"},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-77}}}}}
[2023-11-24 20:10:44]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-49,"mfr":"Google"},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-78},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-71},"FA1C723CE43A":{"servicedatauuid":"180a","servicedata":"fa1c723ce43a","name":"nut","id":"FA:1C:72:3C:E4:3A","rssi":-63}}}}}
[2023-11-24 20:10:45]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-60,"mfr":"Google"},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-80},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-65},"FA60EC01203A":{"servicedatauuid":"180a","servicedata":"fa60ec01203a","name":"nut","id":"FA:60:EC:01:20:3A","rssi":-61},"702845688A6E":{"manufacturerdata":"6e8a68452870","name":"Oclean X","id":"70:28:45:68:8A:6E","rssi":-70},"E27B588F8454":{"servicedatauuid":"180a","servicedata":"e27b588f8454","name":"nut","id":"E2:7B:58:8F:84:54","rssi":-66}}}}}
[2023-11-24 20:10:46]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-55,"mfr":"Google"},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-77},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-72}}}}}
[2023-11-24 20:10:48]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"702845688A6E":{"manufacturerdata":"6e8a68452870","name":"Oclean X","id":"70:28:45:68:8A:6E","rssi":-80},"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-49,"mfr":"Google"},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-69},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-81}}}}}
[2023-11-24 20:10:49]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-60,"mfr":"Google"}}}}}
[2023-11-24 20:10:54]DEBUG : new message:{"home":{"TGW_950":{"BTtoMQTT":{"5054166CC379":{"servicedatauuid":"fe9f","servicedata":"0000000000000000000000000000000000000000","manufacturerdata":"e0000147ca7d1007","id":"50:54:16:6C:C3:79","rssi":-48,"mfr":"Google"},"6F304D649D07":{"servicedatauuid":"fef3","servicedata":"4a17235656474e11322d6f48e9ceaf502a8439c33c5552ecd7d4f5","id":"6F:30:4D:64:9D:07","rssi":-78},"E27B588F8454":{"servicedatauuid":"180a","servicedata":"e27b588f8454","name":"nut","id":"E2:7B:58:8F:84:54","rssi":-63},"69FC82138D0A":{"servicedatauuid":"fef3","servicedata":"4a17234e33453511325e468a96fc497b2281f04252c54e7547040e","id":"69:FC:82:13:8D:0A","rssi":-62}}}}}

Une idée ? Faut que je règle mon autodécouverte de homeassistant à home ?

Bonjour,

Quel « 4 équipements »?

Je ne comprends pas ce que tu veux montrer avec ce log, on y voit justement un seul équipement, pas 4

Oui il y a 1 équipement, mais il y a bien des traces de nut, oClean, etc… Et ça ne crée pas les équipements alors que j’ai demandé. Quand je parlais d’équipement, je parlais d’équipement physiques…

En dessous on voit des messages de oclean effectivement, c’est quoi?
Et nut je vois pas; on voit plein de bazar google mais bon… sans intérêt je pense.

Tes équipements sont supportés par omg/theengs?

Mqttdiscovery ne supporte que les équipements publiés sur le topic de discovery. Il faut que « quelque chose » ai décodé et publié les infos.

Voir des messages en dessous ne veut pas dire que les équipements correspondant auraient dû arriver.

Ici il y a un équipement publié et il a été correctement créé donc tout a fonctionné côté plugin jusqu’ici.

Donc je pose la question: « quel 4 équipements? »
Quel équipements « as-tu demandé »? Et ca veut dire quoi « demander des équipements » ?
Il y a quoi dans l’écran de découverte?

Ma brosse à dent :slight_smile:.

1 Mi band et 3 nut.

J’ai demandé la création automatique. Du coup, je m’attendais à les voir…

Rien justement.

L’antenne est sur quoi? Omg/esp ou theengs? Ou les deux?
Déjà redémarré l’antenne?

theengs. Supprimée, réinstallée, relancée, etc…

1 « J'aime »

En local en debian 10?

Il y a d’autres personnes qui ont des soucis sur smart/odroid en debian 10 avec theengs mais bon si un équipement remonte les autres devraient aussi je suppose.
En tout cas je pense que le problème est plus là et que les équipements ne sont pas détectés par theengs et pas sur mqttdiscovery qui ne recoit rien.

Debian 11 sur ODroid. Mais, faut que je comprenne qqc… Mes traces de brosse à dents et de nut, ne suffisent pas pour créer un équipement ?

Non, les équipements sont créés sur base des infos remontées via le topic « homeassistant ».

les données et les actions des commandes passent par un autre topic (« zwave » pour les équipements zwave, « home » pour les équipements omg/theengs, « zigbee2mqtt » pour les équipements zigbee etc)

Du coup il faut que Theengs pousse de home vers homeassistant. Du coup ce que je vois dans home sont des traces incomplètes ?

non, ni l’un ni l’autre
ce ne sont pas les mêmes infos dans les 2 topics

là je ne comprends pas pourquoi theengs ne découvre pas vos nuts mais on passe hors sujet.

c’est quel modèle de nut?

je devine ici que theengs a été installé via plugin-tgw (mais il n’est pas en cause non plus, son rôle est d’installer theengs ce qui est fait, l’antenne est en ligne)

=> y a-t-il eu des changements fait dans la config de theengs gateway (pas le plugin)? je peux voir la config? tu n’as pas mis des filtres sur le discovery?

Alors le nut n’est pas dans la liste des devices… Devices supported | Theengs gateway

Mais moi je veux juste faire de la présence pour mes chauffages.

J’ai pas touché à la conf et j’ai dégagé tous les filtres :

Array
(
    [adapter] => hci0
    [discovery_filter] => Array
        (
        )

    [discovery_device_name] => Antenne BLE locale
    [log_level] => WARNING
    [host] => jeedom.starfleet
    [port] => 1883
    [user] => jeedom
    [pass] => ***********
    [lwt_topic] => tgw/950/LWT
    [publish_topic] => home/TGW_950/BTtoMQTT
)

OK, tu dois parler de la conf dans root:

{
    "adapter": "hci0",
    "ble_scan_time": 5,
    "ble_time_between_scans": 5,
    "discovery": 1,
    "discovery_device_name": "Antenne BLE locale",
    "discovery_filter": [],
    "discovery_topic": "homeassistant/sensor",
    "hass_discovery": 1,
    "host": "jeedom.starfleet",
    "log_level": "WARNING",
    "lwt_topic": "tgw/950/LWT",
    "pass": "",
    "port": "1883",
    "presence": 0,
    "presence_topic": "home/TheengsGateway/presence",
    "publish_advdata": 0,
    "publish_all": 1,
    "publish_topic": "home/TGW_950/BTtoMQTT",
    "scanning_mode": "active",
    "subscribe_topic": "home/+/BTtoMQTT/undecoded",
    "time_format": 0,
    "time_sync": [],
    "user": "jeedom"
}#      

ca répond pas à la question de quel modèle
car mes nuts fonctionnent bien avec theengs donc tu as peut-être une version pas (encore) reconnue?

si tu n’as rien modifié manuellement, c’est la même que celle vue dans le plugin puisque c’est lui qui écrit le fichier :slight_smile:

tu peux remettre les valeurs par défaut juste au cas où?
car à part ca je ne vois pas de différence avec moi

        (
            [0] => IBEACON
            [1] => GAEN
            [2] => MS-CDP
            [3] => APPLE_CONT
            [4] => APPLE_CONTAT
        )

passes le log de l’antenne en debug, redéploies la config et regardes s’il y a qlqch dans son log

C’est des nut2

[2023-11-25 09:49:47]DEBUG : local exec:hcitool dev | grep hci => 	hci0	00:1A:7D:DA:71:02
[2023-11-25 09:49:49]DEBUG : Listening to topic:'tgw'
[2023-11-25 09:49:49]DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"}
[2023-11-25 09:49:49]DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"Antenne BLE locale","log_level":"DEBUG","host":"jeedom.starfleet","port":"1883","user":"jeedom","pass"","lwt_topic":"tgw\/950\/LWT","publish_topic":"home\/TGW_950\/BTtoMQTT"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"Antenne BLE locale","log_level":"DEBUG","host":"jeedom.starfleet","port":"1883","user":"jeedom","pass":"","lwt_topic":"tgw\/950\/LWT","publish_topic":"home\/TGW_950\/BTtoMQTT"}
[2023-11-25 09:49:49]INFO : Configuration de l'antenne 'Antenne BLE locale'
[2023-11-25 09:49:49]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2023-11-25 09:49:49]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_950     StandardError=append:/var/www/html/log/tgw_950      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
[2023-11-25 09:49:49]DEBUG : handle Mqtt Message:{"tgw":{"950":{"LWT":"offline"}}}
[2023-11-25 09:49:49]INFO : LWT update:offline
[2023-11-25 09:49:50]DEBUG : local exec:sudo systemctl daemon-reload =>
[2023-11-25 09:49:50]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
[2023-11-25 09:49:50]DEBUG : handle Mqtt Message:{"tgw":{"950":{"LWT":"online"}}}
[2023-11-25 09:49:50]INFO : LWT update:online
DEBUG:BLEGateway:FA:60:EC:01:20:3A:AdvertisementData(local_name='nut', service_data={'0000180a-0000-1000-8000-00805f9b34fb': b'\xfa`\xec\x01 :'}, service_uuids=['00001803-0000-1000-8000-00805f9b34fb'], rssi=-68)

Il les trouve bien… Faudrait pas passer présence à 1 ?

Évitons les conclusions hâtives.

Je ne gère pas theengs gateway et la présence dans mqttdiscovery fonctionnera lorsque l’équipement sera découvert et décodé par theengs gateway.

Le fait que ce soit des nut2 est peut-être la cause, faudrait voir avec eux.

Sinon j’ai peut-être une idée pour pouvoir gérer uniquement la présence sur les devices non décodés mais c’est un contournement.
Mais je n’aurai pas le temps d’y travailler ce week-end. cela a été plus rapide que prévu :slight_smile:

1 « J'aime »

A part MQTT Explorer, je ne trouve pa beaucoup de matériel pour analyser…

Theengs Compatible BLE devices je ne trouve aucun nut dans la liste.

Mais si je comprends : décoder + capable de récupére des infos, comme pour mon Mi Band où ca me retourne les pas. Là moi je ne veux que la présence. En passant la conf à presence = 1 ? Ca fait pas le job ?

je ne sais pas de quoi tu parles, il n’existe aucune config « presence=1 » dans aucun des deux plugins. Je ne sais donc pas répondre.


Dans la prochaine beta, nouvelle config de plugin-mqttdiscovery
image

cela donne accès à un nouvel écran:
image

Il faut le temps que les messages arrivent mais ton nut devrait apparaitre dans la liste.
Uniquement la gestion de présence sera possible (et les commandes rssi), rien d’autres; c’est un palliatif, le décodage devrait se faire dans theengs.

D’ailleurs si tu as l’occasion de tester avec omg pour voir si tes nut2 remontent avec ca serait un plus.