# Besoin d'aide pour mes problèmes d'adresse IP

**URL:** <https://forum.hacf.fr/t/besoin-daide-pour-mes-problemes-dadresse-ip/52068>\
**Category:** Entraide Home Assistant\
**Tags:** esphome, integration, aide, materiel\
**Created:** [Novembre 23, 2024, 11:37 UTC](https://forum.hacf.fr/t/besoin-daide-pour-mes-problemes-dadresse-ip/52068 "2024-11-23T11:37:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Claude\_Jacquet](https://forum.hacf.fr/user_avatar/forum.hacf.fr/jean-claude_jacquet/32/46592_2.png) [@Jean-Claude\_Jacquet](https://forum.hacf.fr/u/Jean-Claude_Jacquet)\
**Post date:** [Novembre 23, 2024, 11:37 UTC](https://forum.hacf.fr/t/besoin-daide-pour-mes-problemes-dadresse-ip/52068/1 "2024-11-23T11:37:32Z")

</div>

Bonjour,

Je ne comprend pas pourquoi je n’arrive pas a connecter mon ESP32 au réseau Wifi.  
Mon message d’erreur :

```auto
INFO ESPHome 2024.11.0
INFO Reading configuration /config/esphome/esphome-web-e36494.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing esphome-web-e36494 (board: esp32dev; framework: arduino; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 2.1.4
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.2.2
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- ArduinoJson @ 6.18.5
|-- Improv @ 1.2.4
RAM: [==] 16.1% (used 52880 bytes from 327680 bytes)
Flash: [=========] 86.6% (used 1588621 bytes from 1835008 bytes)
========================= [SUCCESS] Took 3.12 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of esphome-web-e36494.local in mDNS
INFO Resolving IP address of esphome-web-e36494.local
ERROR Error resolving IP address of esphome-web-e36494.local. Is it connected to WiFi?
ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)
ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -5] No address associated with hostname

```

Suite à cela j’ai recherché mon ESP sur les périphériques connectés à ma Freebox et j’ai figé l’adresse IP dans HA (voir ci-dessous):

[![esp3](https://i.ibb.co/6PfT2vH/esp3.png)](https://ibb.co/6PfT2vH) [![esp2](https://i.ibb.co/k8G4T9T/esp2.png)](https://ibb.co/k8G4T9T) [![esp1](https://i.ibb.co/HzH6Kpq/esp1.png)](https://ibb.co/HzH6Kpq)

## Ma configuration

```auto
## System Information

version | core-2024.11.3
-- | --
installation_type | Home Assistant OS
dev | false
hassio | true
docker | true
user | root
virtualenv | false
python_version | 3.12.4
os_name | Linux
os_version | 6.6.54-haos
arch | x86_64
timezone | Europe/Paris
config_dir | /config

<details><summary>Home Assistant Cloud</summary>

logged_in | false
-- | --
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok

</details>

<details><summary>Home Assistant Supervisor</summary>

host_os | Home Assistant OS 13.2
-- | --
update_channel | stable
supervisor_version | supervisor-2024.11.4
agent_version | 1.6.0
docker_version | 27.2.0
disk_total | 30.8 GB
disk_used | 6.4 GB
healthy | true
supported | true
host_connectivity | true
supervisor_connectivity | true
ntp_synchronized | true
virtualization | oracle
board | ova
supervisor_api | ok
version_api | ok
installed_addons | ESPHome Device Compiler (2024.11.0), Terminal & SSH (9.15.0)

</details>

<details><summary>Dashboards</summary>

dashboards | 2
-- | --
resources | 0
views | 0
mode | storage

</details>

<details><summary>Recorder</summary>

oldest_recorder_run | 21 novembre 2024 à 00:49
-- | --
current_recorder_run | 23 novembre 2024 à 11:37
estimated_db_size | 0.97 MiB
database_engine | sqlite
database_version | 3.45.3

</details>

```

---

<div class="post-metadata">

**Author:** ![Grot](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/g/b9bd4f/32.png) [@Grot](https://forum.hacf.fr/u/Grot)\
**Post date:** [Novembre 23, 2024, 12:16 UTC](https://forum.hacf.fr/t/besoin-daide-pour-mes-problemes-dadresse-ip/52068/2 "2024-11-23T12:16:31Z")

</div>

Bonjour,  
Voici ce que j’ai moi qui marche. Je ne sais pas si cela peux t’aider.

```auto
 wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  # Optional manual IP
  manual_ip:
    static_ip: 192.168.1.76
    gateway: 192.168.1.254
    subnet: 255.255.255.0
  power_save_mode: LIGHT
  reboot_timeout: 10min

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-xxxxxx"
    password: "xxxxxxxxxxxx"

```

---

<div class="post-metadata">

**Author:** ![Jean-Claude\_Jacquet](https://forum.hacf.fr/user_avatar/forum.hacf.fr/jean-claude_jacquet/32/46592_2.png) [@Jean-Claude\_Jacquet](https://forum.hacf.fr/u/Jean-Claude_Jacquet)\
**Post date:** [Novembre 23, 2024, 12:23 UTC](https://forum.hacf.fr/t/besoin-daide-pour-mes-problemes-dadresse-ip/52068/3 "2024-11-23T12:23:06Z")

</div>

Bonjour Grot et merci pour votre aide.

* * *

Concernant :

# Optional manual IP

## manual\_ip: static\_ip: 192.168.1.76 gateway: 192.168.1.254 subnet: 255.255.255.0 power\_save\_mode: LIGHT reboot\_timeout: 10min

Dois-je intégrer cela dans «&nbsp;secret&nbsp;» ?  
Ou dans le fichier yaml ?

Gateway = l’adresse de ma Freebox Ultra

Actuellement je test HA et ESP home via virtualbox est-ce que cela pourrait engendrer ce problème.

Merci d’avance pour vos conseils

Jean-Claude

---

<div class="post-metadata">

**Author:** ![Grot](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/g/b9bd4f/32.png) [@Grot](https://forum.hacf.fr/u/Grot)\
**Post date:** [Novembre 23, 2024, 2:06 UTC](https://forum.hacf.fr/t/besoin-daide-pour-mes-problemes-dadresse-ip/52068/4 "2024-11-23T14:06:18Z")

</div>

Bonjour,  
dans votre esphome-web-xxxxxx.yaml

---

<div class="post-metadata">

**Author:** ![Franck42](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/f/b9bd4f/32.png) [@Franck42](https://forum.hacf.fr/u/Franck42)\
**Post date:** [Février 2, 2025, 9:31 UTC](https://forum.hacf.fr/t/besoin-daide-pour-mes-problemes-dadresse-ip/52068/5 "2025-02-02T21:31:03Z")

</div>

Bonsoir,  
J’ai voulu basculer sur ESPHome, et je galere pour le meme sujet.

```auto
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 2.1.4
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.2.2
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- noise-c @ 0.1.6
|-- ArduinoJson @ 6.18.5
RAM: [=] 12.7% (used 41492 bytes from 327680 bytes)
Flash: [======] 60.0% (used 1100969 bytes from 1835008 bytes)
========================= [SUCCESS] Took 7.16 seconds =========================
INFO Successfully compiled program.
INFO Connecting to 192.168.1.109 port 3232...
ERROR Connecting to 192.168.1.109 port 3232 failed: [Errno 113] No route to host
ERROR Connection failed.

``
J'ai aussi essayé l'histoire du bouton Boot et Raz, rien a faire. C'est vraiment bizare car la mise a jour OTA fonctionne.
Merci pour votre aide.
```
