{"id":3827,"date":"2023-05-01T15:39:54","date_gmt":"2023-05-01T13:39:54","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=3827"},"modified":"2025-05-09T10:53:40","modified_gmt":"2025-05-09T08:53:40","slug":"migration-jeedom-vers-home-assistant-creer-un-lien-mqtt-entre-eux","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/migration-jeedom-vers-home-assistant-creer-un-lien-mqtt-entre-eux","title":{"rendered":"Jeedom migration to Home Assistant, create MQTT link between them"},"content":{"rendered":"<p class=\"wp-block-paragraph\">When migrating from Jeedom to Home Assistant, it is sometimes necessary to retrieve information from Jeedom, such as the elements of <strong>Presence<\/strong> from Bluetooth sensors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this tutorial, we will see how to retrieve presence information provided by NUTS devices.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6ae4d82b9a2d2\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6ae4d82b9a2d2\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/migration-jeedom-vers-home-assistant-creer-un-lien-mqtt-entre-eux\/#Utilisation_de_jMQTT_sur_Jeedom\" >Using jMQTT on Jeedom<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/migration-jeedom-vers-home-assistant-creer-un-lien-mqtt-entre-eux\/#Ajout_dun_broker\" >Adding a broker<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/migration-jeedom-vers-home-assistant-creer-un-lien-mqtt-entre-eux\/#Ajout_dun_nouvel_equipement_jMQTT\" >Addition of new jMQTT equipment<\/a><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/migration-jeedom-vers-home-assistant-creer-un-lien-mqtt-entre-eux\/#Ajout_dune_commande_Presence_Lionel\" >Adding a Lionel Presence command<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/migration-jeedom-vers-home-assistant-creer-un-lien-mqtt-entre-eux\/#Ajout_manuel_du_binary_sensor_a_la_configuration_de_Home_Assistant\" >Manual addition of binary_sensor to the Home Assistant configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/migration-jeedom-vers-home-assistant-creer-un-lien-mqtt-entre-eux\/#Resultat_dans_Home_Assistant\" >Result in Home Assistant<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Utilisation_de_jMQTT_sur_Jeedom\"><\/span>Using jMQTT on Jeedom<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To establish the link on the Jeedom side, first install the jMQTT plugin.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"306\" height=\"339\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt-icon.png\" alt=\"jMQTT icon\" class=\"wp-image-3828\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt-icon.png 306w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt-icon-271x300.png 271w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ajout_dun_broker\"><\/span>Adding a broker<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Add the broker located at 192.168.1.21. To simplify, name this broker explicitly.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"506\" height=\"364\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt1.png\" alt=\"Broker configuration\" class=\"wp-image-3829\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt1.png 506w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt1-300x216.png 300w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"563\" height=\"347\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt9.png\" alt=\"Broker details\" class=\"wp-image-3842\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt9.png 563w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt9-300x185.png 300w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ajout_dun_nouvel_equipement_jMQTT\"><\/span>Addition of new jMQTT equipment<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">You can choose to add all the items in one piece of equipment, or to separate them according to your preferences. In this example, we add everything in a named equipment <strong>Jeedom<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"287\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt3.png\" alt=\"Adding equipment\" class=\"wp-image-3831\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt3.png 405w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt3-300x213.png 300w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"754\" height=\"512\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt4.png\" alt=\"Equipment Details\" class=\"wp-image-3832\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt4.png 754w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt4-600x407.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt4-300x204.png 300w\" sizes=\"auto, (max-width: 754px) 100vw, 754px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ajout_dune_commande_Presence_Lionel\"><\/span>Adding a Lionel Presence command<span class=\"ez-toc-section-end\"><\/span><\/h5>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"965\" height=\"96\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt5.png\" alt=\"Lionel Presence Command\" class=\"wp-image-3833\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt5.png 965w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt5-600x60.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt5-300x30.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt5-768x76.png 768w\" sizes=\"auto, (max-width: 965px) 100vw, 965px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Whenever the value of <strong>#\\[Alarm Intrusion \\]\\[Presences \\]\\[Lionel \\]#<\/strong> changes, the corresponding MQTT frame is updated:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"223\" height=\"44\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt6.png\" alt=\"Trame MQTT\" class=\"wp-image-3834\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ajout_manuel_du_binary_sensor_a_la_configuration_de_Home_Assistant\"><\/span>Manual addition of binary_sensor to the Home Assistant configuration<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the file <code>\/config\/mqtt.yaml<\/code>, add the following configuration in the section <code>binary_sensor<\/code> :<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u2013 Name: Lionel Presence<br>  single _id: binary_sensor.presence_lionel<br>  state_topic: Jeedom\/Presences\/Lionel<br>  payload_on: \"1\"<br>  payload_off: \u20180\u2019<br>  device_class: presence<br>  device:<br>    name: Presences<br>    Identifiers: \"Presences\"<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"305\" height=\"144\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt7.png\" alt=\"Configuration Home Assistant\" class=\"wp-image-3837\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt7.png 305w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt7-300x142.png 300w\" sizes=\"auto, (max-width: 305px) 100vw, 305px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Resultat_dans_Home_Assistant\"><\/span>Result in Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"981\" height=\"340\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt8.png\" alt=\"Result in Home Assistant\" class=\"wp-image-3840\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt8.png 981w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt8-600x208.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt8-300x104.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/05\/jmqtt8-768x266.png 768w\" sizes=\"auto, (max-width: 981px) 100vw, 981px\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>When migrating from Jeedom to Home Assistant, it is sometimes necessary to retrieve information from Jeedom, such as Presence elements from Bluetooth sensors. In this tutorial, we will see how to retrieve presence information provided by NUTS devices. Using jMQTT on Jeedom to establish the [\u2026]<\/p>","protected":false},"author":1,"featured_media":3828,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,53,23],"tags":[95],"class_list":["post-3827","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotique","category-home-assistant","category-jeedom-2","tag-mqtt"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/3827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/comments?post=3827"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/3827\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media\/3828"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=3827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=3827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=3827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}