{"id":3611,"date":"2023-04-16T08:32:42","date_gmt":"2023-04-16T06:32:42","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=3611"},"modified":"2023-05-30T12:41:35","modified_gmt":"2023-05-30T10:41:35","slug":"migration-gateway-xiaomi","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/de\/migration-gateway-xiaomi","title":{"rendered":"Jeedom-Migration zu Home Assistant, Xiaomi Gateways"},"content":{"rendered":"<p><br \/><!--more--><\/p>\n<h3>Aktueller Stand in Jeedom<\/h3>\n<p>Ich habe zwei Zigbee-Gateways von Xiaomi, die sich immer noch in meinem Heimautomationsnetz befinden, nicht als Gateway, sondern nur als Lichtdisplay.<\/p>\n<ul>\n<li>Ich habe einen im Eingangsbereich, der hellrosa leuchtet, wenn die Haust\u00fcr ge\u00f6ffnet ist, hellwei\u00df, wenn die Haust\u00fcr geschlossen ist, blau in der Nacht, wenn das Haus sicher ist, und rot am Tag, wenn niemand da ist und das Haus \u00fcberwacht wird.<\/li>\n<li>Ich habe eine im Schlafzimmer. Es leuchtet 2 Minuten lang gr\u00fcn, wenn die Kontrolle des Hauses vor dem Schlafengehen angefordert wird (Zickbee-Taste auf dem Nachttisch), dies \u00fcberpr\u00fcft, ob das Tor, die Garage, die Fensterl\u00e4den geschlossen sind, ob die Eingangst\u00fcr verriegelt ist. Sie leuchtet orange, wenn es ein Problem gibt (und Alexa des Zimmers gibt an, welches)<\/li>\n<\/ul>\n<p>Auf Jeedom werden sie vom Xiaomi Home Plugin gesteuert<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3616\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/pluginxiaomi.png\" alt=\"\" width=\"140\" height=\"189\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3615\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi.png\" alt=\"\" width=\"755\" height=\"785\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi.png 755w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi-600x624.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi-289x300.png 289w\" sizes=\"auto, (max-width: 755px) 100vw, 755px\" \/><\/p>\n<p>Ich hatte lange Zeit keine Zigbee-Ausr\u00fcstung in diese Gateways eingebaut, und ich merke, dass es noch Ger\u00e4te gibt, die mit ihnen verbunden sind. Ich werde sehen, was mit HA zu tun hat.<\/p>\n<h3>Integration in den Home Assistant<\/h3>\n<p>Ich habe gesehen, dass es zwei m\u00f6gliche Integrationen der Gateways gibt, ich versuche einen Vergleich<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 2062px;\">\n<tbody>\n<tr style=\"height: 173px;\">\n<td style=\"width: 50%; height: 173px;\">\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.home-assistant.io\/integrations\/xiaomi_aqara\" target=\"_blank\" rel=\"noopener\">Xiaomi Gateway (Aqara)<\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/my.home-assistant.io\/redirect\/config_flow_start?domain=xiaomi_aqara\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3632\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/addintegration.png\" alt=\"\" width=\"202\" height=\"27\" \/><\/a><\/p>\n<ul>\n<li style=\"text-align: left;\">\u00a0IoT-Klasse ist\u00a0<a href=\"https:\/\/www.home-assistant.io\/blog\/2016\/02\/12\/classifying-the-internet-of-things\/#classifiers\">Lokale Push<\/a><\/li>\n<li>Hinzugef\u00fcgt durch die <a href=\"https:\/\/www.domoticz.com\/wiki\/Xiaomi_Gateway_(Aqara)#Adding_the_Xiaomi_Gateway_to_Domoticz\" target=\"_blank\" rel=\"noopener\">Token dev<\/a><\/li>\n<li>\u201eWas introduced in Home Assistant 0.57, and it\u2019s used by <a title=\"Open analytics.home-Assistant.io\" href=\"https:\/\/analytics.home-assistant.io\/integrations\" target=\"_blank\" rel=\"noopener\">1.5%<\/a> of the active Installationen \u00bb<\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 50%; height: 173px;\">\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.home-assistant.io\/integrations\/xiaomi_miio\" target=\"_blank\" rel=\"noopener\">Xiaomi Miio<\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/my.home-assistant.io\/redirect\/config_flow_start?domain=xiaomi_miio\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3632\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/addintegration.png\" alt=\"\" width=\"202\" height=\"27\" \/><\/a><\/p>\n<ul>\n<li style=\"text-align: left;\">IoT-Klasse ist\u00a0<a href=\"https:\/\/www.home-assistant.io\/blog\/2016\/02\/12\/classifying-the-internet-of-things\/#classifiers\">Lokal Polling<\/a><\/li>\n<li>Hinzuf\u00fcgen \u00fcber Cloud-Login\/Pass (CN-Server)<\/li>\n<li>\u201eWas introduced in Home Assistant 0.51, and it\u2019s used by <a title=\"Open analytics.home-Assistant.io\" href=\"https:\/\/analytics.home-assistant.io\/integrations\" target=\"_blank\" rel=\"noopener\">8.6%<\/a> of the active Installationen \u00bb<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr style=\"height: 266px;\">\n<td style=\"width: 100%; text-align: center; height: 266px;\" colspan=\"2\">\n<p><strong>Ich vergleiche das gleiche Gateway \u00fcber zwei verschiedene Integrationen, ich nehme mein Gateway \"Enter\":<\/strong><\/p>\n<p>Ich stelle fest, dass die Integration in der linken Spalte alle Ger\u00e4te erkennt, w\u00e4hrend die Integration in der rechten Spalte nur die Br\u00fccke erfasst.<\/p>\n<p>Beachten Sie auch, dass die rechte Integration den Alarmstatus erkennt, ein Gadget, das ich nie verwendet habe, das aber in das Gateway integriert ist. Automatisierungen k\u00f6nnen \u00fcber die Android-App Xiaomi Home erstellt werden.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 619px;\">\n<td style=\"width: 50%; height: 619px;\">\n<p style=\"text-align: center;\">7 Ger\u00e4te und 16 Entities<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3642\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi2.png\" alt=\"\" width=\"627\" height=\"376\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi2.png 627w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi2-600x360.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi2-300x180.png 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3646\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi3.png\" alt=\"\" width=\"660\" height=\"390\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi3.png 660w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi3-600x355.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi3-300x177.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<\/td>\n<td style=\"width: 50%; height: 619px;\">\n<p style=\"text-align: center;\">2 Ger\u00e4te und 6 Entities<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3643\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi2bis.png\" alt=\"\" width=\"627\" height=\"376\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi2bis.png 627w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi2bis-600x360.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi2bis-300x180.png 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3645\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi3bis-1.png\" alt=\"\" width=\"659\" height=\"390\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi3bis-1.png 659w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi3bis-1-600x355.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi3bis-1-300x178.png 300w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 70px;\">\n<td style=\"width: 100%; text-align: center; height: 70px;\" colspan=\"2\">Ich stelle fest, dass der Helligkeitswert auf beiden Gateways nicht gleich ist, ich lege etwas darauf, um die Helligkeit zu verringern. Hier das Ergebnis und die Historie. Die Berechnung der Helligkeit ist anders, aber wenn man sich einen Wert gesetzt hat, kann man relativ arbeiten, so dass es nicht st\u00f6rend ist.<\/td>\n<\/tr>\n<tr style=\"height: 291px;\">\n<td style=\"width: 50%; height: 291px;\">\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3654\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi4-1.png\" alt=\"\" width=\"660\" height=\"390\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi4-1.png 660w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi4-1-600x355.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi4-1-300x177.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<\/td>\n<td style=\"width: 50%; height: 291px;\">\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3655\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi4bis-1.png\" alt=\"\" width=\"660\" height=\"390\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi4bis-1.png 660w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi4bis-1-600x355.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi4bis-1-300x177.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 575px;\">\n<td style=\"width: 100%; height: 575px;\" colspan=\"2\">\n<p style=\"text-align: center;\">Was die \u00c4nderung der Farbe und der Beleuchtungsst\u00e4rke betrifft, so reagieren die beiden Laufstege sofort, ohne dass es einen Unterschied gibt. Alles funktioniert perfekt<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3649 aligncenter\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi5.png\" alt=\"\" width=\"134\" height=\"406\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi5.png 134w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/xiaomi5-99x300.png 99w\" sizes=\"auto, (max-width: 134px) 100vw, 134px\" \/><\/p>\n<p style=\"text-align: center;\">\u00a0<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Nach diesem Vergleich wei\u00df ich nicht, welche Integration am besten zu halten ist. Wenn ich die Zigbee-Ausr\u00fcstung betreiben m\u00fcsste, w\u00fcrde ich <a href=\"https:\/\/www.home-assistant.io\/integrations\/xiaomi_aqara\" target=\"_blank\" rel=\"noopener\">Xiaomi Gateway (Aqara)<\/a> wer sie besser erkennt, aber das ist nicht mein Fall. Ich ben\u00f6tige keine \u201eAlarm\u201c-Informationen, die ich nicht verwende.<\/p>\n<p>Ich habe die Literatur zu Polling- und Push-Fragen konsultiert. Da sich die Steckdosen im Netz befinden, stellt sich die Frage der Batterieeinsparung nicht. Ich habe wirklich nichts, was mich zu einer Push- oder Polling-Technologie veranlassen w\u00fcrde.<\/p>\n<p>Meine Reste von Entwicklern lassen mich glauben, dass Polling mehr Ressourcen \u201everbrauchen\u201c sollte als Push, der nur dann reagiert, wenn es notwendig ist. Ich verwende auch lieber ein Dev-Token als eine Cloud-Identifikation, um Ger\u00e4te abzurufen. All dies ist ziemlich subjektiv, aber zu w\u00e4hlen bedeutet auch, aufzugeben. <strong>Zum jetzigen Zeitpunkt werde ich also die Integration beibehalten. <a href=\"https:\/\/www.home-assistant.io\/integrations\/xiaomi_aqara\" target=\"_blank\" rel=\"noopener\">Xiaomi Gateway (Aqara)<\/a> und Abschaffung der Integration <a href=\"https:\/\/www.home-assistant.io\/integrations\/xiaomi_miio\" target=\"_blank\" rel=\"noopener\">Xiaomi Miio<\/a><\/strong>. Dies ist nicht die Wahl, die wir 8-mal mehr Nutzer der zweiten Integration treffen, aber sie erschien fr\u00fcher, so dass sie sofort nach ihrer Ver\u00f6ffentlichung von allen Nutzern \u00fcbernommen werden kann. Die Push-Version kam erst sp\u00e4ter.<\/p>\n<p>Edit 10\/05\/2023, es gibt eine andere Integration, die nicht von mir getestet wurde, die ich Ihnen jedoch (auf Anraten von <a href=\"https:\/\/forum.hacf.fr\/u\/warc0zes\/summary\" target=\"_blank\" rel=\"noopener\">WarC0zes<\/a>) : <a href=\"https:\/\/github.com\/AlexxIT\/XiaomiGateway3\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/AlexxIT\/XiaomiGateway3<\/a><\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":3612,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,53,23],"tags":[],"class_list":["post-3611","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotique","category-home-assistant","category-jeedom-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/3611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/comments?post=3611"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/3611\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media\/3612"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media?parent=3611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/categories?post=3611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/tags?post=3611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}