{"id":2533,"date":"2024-11-03T17:12:42","date_gmt":"2024-11-03T16:12:42","guid":{"rendered":"https:\/\/lesmrdtrucs.mataf35400.fr\/?page_id=2533"},"modified":"2024-11-03T18:31:50","modified_gmt":"2024-11-03T17:31:50","slug":"pour-commencer-avec-esphome","status":"publish","type":"page","link":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/pour-commencer-avec-esphome\/","title":{"rendered":"Pour commencer avec ESPHOME"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2533\" class=\"elementor elementor-2533\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9ce7591 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9ce7591\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9b93a61\" data-id=\"9b93a61\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-781a7d3 elementor-widget elementor-widget-heading\" data-id=\"781a7d3\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Installation dans Home Assistant<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c8eace1 elementor-widget elementor-widget-text-editor\" data-id=\"c8eace1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Pour pouvoir utiliser un ESP dans Home Assistant, il faut passer par EspHome.<\/p><p>Dans le cas d&rsquo;un ESP neuf, il faut passer par l&rsquo;USB du PC puisque l&rsquo;ESP n&rsquo;a pas encore d&rsquo;adresse WiFi.<br \/>Suivant la version de l&rsquo;ESP, la m\u00e9thode diff\u00e8re:<\/p><ul><li>ESP32-CAM:<ul><li>Clipser l&rsquo;ESP32-CAM sur l&rsquo;ESP32-CAM-MB<\/li><li>Brancher le tout sur le PC en maintenant le bouton \u00ab\u00a0IOO\u00a0\u00bb enfonc\u00e9 pendant 6 secondes<\/li><li>Le type de carte \u00e0 choisir (plus bas) est: <b>ESP32<\/b><\/li><\/ul><\/li><li>ESP32 DEVKITV1:<ul><li>Brancher l\u2019ESP32 sur le PC avec un c\u00e2ble micro-USB<\/li><li>Le type de carte \u00e0 choisir (plus bas) est: <b>ESP32<\/b><\/li><\/ul><\/li><li>ESP MINI D1:<ul><li>Brancher l\u2019ESP32 sur le PC avec un c\u00e2ble micro-USB<\/li><li>Le type de carte \u00e0 choisir (plus bas) est: <b>ESP8266<\/b><\/li><\/ul><\/li><li>ESP-01:<ul><li>Brancher\u00a0l\u2019ESP-01 sur le PC \u00e0 l\u2019aide du FTDI. <b>ATTENTION, le jumper doit \u00eatre en position 3V3<\/b><\/li><li>Mettre l\u2019interrupteur de la connectique MRD en position \u00ab Prog \u00bb (pas comme l\u2019image ci-dessus)<\/li><li>Brancher le tout sur le PC<\/li><li>Le type de carte \u00e0 choisir (plus bas) est: <b>ESP8266<\/b><\/li><\/ul><\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-73a363c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"73a363c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-8ff12b1\" data-id=\"8ff12b1\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c8d0216 elementor-widget elementor-widget-image\" data-id=\"c8d0216\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"435\" height=\"233\" src=\"https:\/\/lesmrdtrucs.mataf35400.fr\/wp-content\/uploads\/2024\/10\/Image1-1.png\" class=\"attachment-large size-large wp-image-2506\" alt=\"\" srcset=\"https:\/\/lesmrdtrucs.mataf35400.fr\/wp-content\/uploads\/2024\/10\/Image1-1.png 435w, https:\/\/lesmrdtrucs.mataf35400.fr\/wp-content\/uploads\/2024\/10\/Image1-1-300x161.png 300w\" sizes=\"(max-width: 435px) 100vw, 435px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-2e8c310\" data-id=\"2e8c310\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1c1ce98 elementor-widget elementor-widget-image\" data-id=\"1c1ce98\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"364\" height=\"352\" src=\"https:\/\/lesmrdtrucs.mataf35400.fr\/wp-content\/uploads\/2024\/10\/Image10.png\" class=\"attachment-large size-large wp-image-2505\" alt=\"\" srcset=\"https:\/\/lesmrdtrucs.mataf35400.fr\/wp-content\/uploads\/2024\/10\/Image10.png 364w, https:\/\/lesmrdtrucs.mataf35400.fr\/wp-content\/uploads\/2024\/10\/Image10-300x290.png 300w\" sizes=\"(max-width: 364px) 100vw, 364px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Switch en position \"Utilisation\"<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-f35dc75 elementor-widget elementor-widget-text-editor\" data-id=\"f35dc75\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ul>\n<li>Ouvrir l&rsquo;onglet <b>ESPHome<\/b> dans Home Assistant.<\/li>\n<li>Cliquer sur \u00ab\u00a0<b>New Device<\/b>\u00ab\u00a0.<\/li>\n<li>Cliquer sur \u00ab\u00a0<b>Continue<\/b>\u00ab\u00a0.<\/li>\n<li>Saisir le nom voulu du bidule, puis \u00ab\u00a0<b>Next<\/b>\u00ab\u00a0.<\/li>\n<li>Choisir le type de carte (voir plus haut).<\/li>\n<li>Une fois la configuration cr\u00e9\u00e9e, cliquer sur \u00ab\u00a0<b>Skip<\/b>\u00ab\u00a0.<\/li>\n<li>Sauver, fermer. &#8211;&gt; Un YAML \u00ab\u00a0de base\u00a0\u00bb a \u00e9t\u00e9 cr\u00e9\u00e9.<\/li>\n<li>Dans l&rsquo;entit\u00e9 cr\u00e9\u00e9e, gr\u00e2ce aux 3 points, valider, puis installer.<\/li>\n<li>Dans la fen\u00eatre suivante, choisir \u00ab\u00a0<b>manual download<\/b>\u00ab\u00a0.<\/li>\n<li>Ensuite, \u00ab\u00a0<b>Factory format (previously Modern)<\/b>\u00ab\u00a0.<\/li>\n<li>Ouvrir \u00ab\u00a0EspHome Web\u00a0\u00bb sur Chrome (https:\/\/web.esphome.io\/?dashboard_wizard).<\/li>\n<li>Dans le cadre \u00ab\u00a0Esp Device\u00a0\u00bb, cliquer sur \u00ab\u00a0<b>Connect<\/b>\u00ab\u00a0.<\/li>\n<li>S\u00e9lectionner le port sur lequel est branch\u00e9 l&rsquo;ESP32-CAM-MB, puis \u00ab\u00a0<b>Connexion<\/b>\u00ab\u00a0. &#8211;&gt; <b>ATTENTION, le c\u00e2ble USB n&rsquo;a peut-\u00eatre pas les DATA<\/b><\/li>\n<li>Cliquer sur \u00ab\u00a0<b>Install<\/b>\u00ab\u00a0, choisir le fichier qui vient d&rsquo;\u00eatre t\u00e9l\u00e9charg\u00e9, et \u00ab\u00a0<b>Install<\/b>\u00ab\u00a0. &#8211;&gt; La carte est configur\u00e9e et op\u00e9rationnelle, mais ne comporte pas de programme ex\u00e9cutable.<\/li>\n<li>De retour dans Home Assistant, l&rsquo;ESP est d\u00e9couvert dans \u00ab\u00a0Appareils &amp; services\u00a0\u00bb.<\/li>\n<li>Il faut le configurer pour l&rsquo;int\u00e9grer \u00e0 la domotique.<\/li>\n<li>A partir d&rsquo;ici, l&rsquo;ESP est accessible par WiFi. Plus besoin de le connecter au PC.<br><\/li>\n<li>Il reste \u00e0 \u00e9crire et t\u00e9l\u00e9verser le programme voulu. Plusieurs exemples sont dans les pages suivantes.<\/li>\n<\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Installation dans Home Assistant Pour pouvoir utiliser un ESP dans Home Assistant, il faut passer par EspHome. Dans le cas d&rsquo;un ESP neuf, il faut passer par l&rsquo;USB du PC puisque l&rsquo;ESP n&rsquo;a pas encore d&rsquo;adresse WiFi.Suivant la version de l&rsquo;ESP, la m\u00e9thode diff\u00e8re: ESP32-CAM: Clipser l&rsquo;ESP32-CAM sur l&rsquo;ESP32-CAM-MB Brancher le tout sur le PC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":""},"class_list":["post-2533","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/2533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/comments?post=2533"}],"version-history":[{"count":7,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/2533\/revisions"}],"predecessor-version":[{"id":2548,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/2533\/revisions\/2548"}],"wp:attachment":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/media?parent=2533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}