{"id":2409,"date":"2024-03-30T08:01:58","date_gmt":"2024-03-30T07:01:58","guid":{"rendered":"https:\/\/lesmrdtrucs.mataf35400.fr\/?page_id=2409"},"modified":"2024-11-03T18:40:31","modified_gmt":"2024-11-03T17:40:31","slug":"esp32-cam","status":"publish","type":"page","link":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/esp32-cam\/","title":{"rendered":"ESP32 CAM"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2409\" class=\"elementor elementor-2409\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bd2c22b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bd2c22b\" 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-5576440\" data-id=\"5576440\" 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-fd28193 elementor-widget elementor-widget-heading\" data-id=\"fd28193\" 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\">Exemple d'une cam\u00e9ra<\/h2>\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<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d0ffc8a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d0ffc8a\" 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-d20a630\" data-id=\"d20a630\" 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-026c9ef elementor-widget elementor-widget-heading\" data-id=\"026c9ef\" 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-7358235 elementor-widget elementor-widget-text-editor\" data-id=\"7358235\" 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>(Celle que j&rsquo;ai faite le 29\/03\/2024, puis modifi\u00e9e le 22\/09\/2024 une fois la cam\u00e9ra mont\u00e9e \u00e0 5A )<br>C&rsquo;est extrait de cette video: <a href=\"https:\/\/www.youtube.com\/watch?v=Y2vXJx_eI3c\" target=\"_blank\" rel=\"noopener\">https:\/\/www.youtube.com\/watch?v=Y2vXJx_eI3c<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2b97d05 elementor-widget elementor-widget-text-editor\" data-id=\"2b97d05\" 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><li>Ouvrir l\u2019onglet <b>ESPHome<\/b> dans Home Assistant.<\/li><li>Dans le cadre de l&rsquo;entit\u00e9 choisie, cliquer sur \u00ab\u00a0<strong>EDIT<\/strong>\u00ab\u00a0.<\/li><li>Ajouter le programme suivant \u00e0 la fin du \u00ab\u00a0de base\u00a0\u00bb (apr\u00e8s \u00ab\u00a0<strong>captive_portal:<\/strong>\u00ab\u00a0).<\/li><li>Cliquer sur \u00ab\u00a0SAVE\u00a0\u00bb, puis sur \u00ab\u00a0INSTALL\u00a0\u00bb.<\/li><li>Dans la fen\u00eatre qui s&rsquo;ouvre, choisir \u00ab\u00a0Wirelessly\u00a0\u00bb.<\/li><li>Si tout va bien, cela doit fonctionner !!!<\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f94469c elementor-widget elementor-widget-heading\" data-id=\"f94469c\" 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\"><div id=\"outer-wrap\" class=\"site clr\"><div id=\"wrap\" class=\"clr\"><main id=\"main\" class=\"site-main clr\" role=\"main\"><div id=\"content-wrap\" class=\"container clr\"><div id=\"primary\" class=\"content-area clr\"><div id=\"content\" class=\"site-content clr\"><article class=\"single-page-article clr\"><div class=\"entry clr\"><div data-elementor-type=\"wp-page\" data-elementor-id=\"2498\" class=\"elementor elementor-2498 elementor-edit-area elementor-edit-mode elementor-edit-area-active\" data-elementor-title=\"Page\"><div class=\"elementor-section-wrap ui-sortable\"><section data-id=\"b74b79c\" data-element_type=\"section\" data-model-cid=\"c102\" class=\"elementor-element elementor-element-edit-mode elementor-element-b74b79c elementor-section elementor-top-section elementor-section-boxed elementor-section-height-default\"><div class=\"elementor-container elementor-column-gap-default ui-sortable\"><div data-id=\"88c8886\" data-element_type=\"column\" data-model-cid=\"c103\" class=\"elementor-element elementor-element-edit-mode elementor-element-88c8886 elementor-element--toggle-edit-tools elementor-column elementor-top-column ui-resizable\" data-col=\"100\"><div class=\"elementor-widget-wrap elementor-element-populated ui-sortable\"><div data-id=\"be06ca9\" data-element_type=\"widget\" data-model-cid=\"c119\" class=\"elementor-element elementor-element-edit-mode elementor-element-be06ca9 elementor-element--toggle-edit-tools elementor-widget elementor-widget-heading ui-resizable elementor-element-editable\" data-widget_type=\"heading.default\"><div class=\"elementor-widget-container\"><h2 class=\"elementor-heading-title elementor-size-default elementor-inline-editing pen\" data-elementor-setting-key=\"title\" data-pen-placeholder=\"\u00c9crivez ici...\"><h2 class=\"elementor-heading-title elementor-size-default elementor-inline-editing pen\" data-elementor-setting-key=\"title\" data-pen-placeholder=\"\u00c9crivez ici...\">Le programme final apr\u00e8s ajout de la partie sp\u00e9cifique<\/h2><\/h2><\/div><\/div><\/div><\/div><\/div><\/section><\/div><\/div><\/div><\/article><\/div><\/div><\/div><\/main><\/div><\/div><\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-392feab elementor-widget elementor-widget-text-editor\" data-id=\"392feab\" 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<div><div><span style=\"color: #333333;\">esp32_camera:<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 name: Esp32Cam-5A-1<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 external_clock:<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 pin: GPIO0<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 frequency: 10MHz<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 i2c_pins:<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 sda: GPIO26<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 scl: GPIO27<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 vsync_pin: GPIO25<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 href_pin: GPIO23<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 pixel_clock_pin: GPIO22<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 power_down_pin: GPIO32<\/span><\/div><div>\u00a0<\/div><div><span style=\"color: #333333;\"># Image\/Video settings, https:\/\/esphome.io\/components\/esp32_camera.html<\/span><\/div><p>\u00a0<\/p><div><span style=\"color: #333333;\">\u00a0 max_framerate: 25 fps # default: 10 fps, max 60<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 idle_framerate: 0.2 fps # default: 0.1 fps &#8211; framerate for &lsquo;picture&rsquo; in HA dashboard<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 resolution: 640&#215;480 # 1024&#215;768<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 jpeg_quality: 10<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 vertical_flip: True # Default to true<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 horizontal_mirror: True # Default to true<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 contrast: 0 # default: 0, variable -2 to 2<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 brightness: 0 # default: 0, variable -2 to 2<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 saturation: 0 # default: 0, variable -2 to 2<\/span><\/div><div>\u00a0<\/div><div><span style=\"color: #333333;\"># Server video\/pictures, https:\/\/esphome.io\/components\/esp32_camera_web_server.html<\/span><\/div><p>\u00a0<\/p><div><span style=\"color: #333333;\">esp32_camera_web_server:<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; port: 8080<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 mode: stream<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; port: 8081<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 mode: snapshot<\/span><\/div><p>\u00a0<\/p><div><span style=\"color: #333333;\">time:<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: homeassistant<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 id: homeassistant_time<\/span><\/div><p>\u00a0<\/p><div><span style=\"color: #333333;\">output:<\/span><\/div><div><span style=\"color: #333333;\">#flashlight<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: gpio<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 pin: GPIO4<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 id: gpio_4<\/span><\/div><div><span style=\"color: #333333;\">#statuslight led 33 for wifi connect<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: gpio<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 pin:<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 \u00a0 number: GPIO33<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 \u00a0 inverted: True<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 id: gpio_33<\/span><\/div><p>\u00a0<\/p><div><span style=\"color: #333333;\">light:<\/span><\/div><div><span style=\"color: #333333;\">#flashlight<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: binary<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 output: gpio_4<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 name:\u00a0Esp32Cam-5A-1 light<\/span><\/div><div><span style=\"color: #333333;\">#statuslight led 33 for wifi connect<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: binary<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 output: gpio_33<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 name:\u00a0Esp32Cam-5A-1 wifi light state<\/span><\/div><p>\u00a0<\/p><div><span style=\"color: #333333;\">sensor:<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: wifi_signal<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 name:\u00a0Esp32Cam-5A-1 Wifi signal<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 update_interval: 10s<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: uptime<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 name:\u00a0Esp32Cam-5A-1 Uptime<\/span><\/div><p>\u00a0<\/p><div><span style=\"color: #333333;\">text_sensor:<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: version<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 name:\u00a0Esp32Cam-5A-1 ESPHome Version<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: wifi_info<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 ssid:<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 \u00a0 name:\u00a0Esp32Cam-5A-1 WiFi<\/span><\/div><p>\u00a0<\/p><div><span style=\"color: #333333;\">switch: \u00a0 \u00a0 \u00a0<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 &#8211; platform: restart<\/span><\/div><div><span style=\"color: #333333;\">\u00a0 \u00a0 name: $friendly_name restart<\/span><\/div><\/div>\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>Exemple d&rsquo;une cam\u00e9ra Installation dans Home Assistant (Celle que j&rsquo;ai faite le 29\/03\/2024, puis modifi\u00e9e le 22\/09\/2024 une fois la cam\u00e9ra mont\u00e9e \u00e0 5A )C&rsquo;est extrait de cette video: https:\/\/www.youtube.com\/watch?v=Y2vXJx_eI3c Ouvrir l\u2019onglet ESPHome dans Home Assistant. Dans le cadre de l&rsquo;entit\u00e9 choisie, cliquer sur \u00ab\u00a0EDIT\u00ab\u00a0. Ajouter le programme suivant \u00e0 la fin du \u00ab\u00a0de base\u00a0\u00bb [&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-2409","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/2409","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=2409"}],"version-history":[{"count":22,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/2409\/revisions"}],"predecessor-version":[{"id":2552,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/2409\/revisions\/2552"}],"wp:attachment":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/media?parent=2409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}