High level: Existing esp device working for a year. I changed the secrets file because I added a new wifi and I also changed the ip address in the esp device config.
- Nothing seems to work anymore inside of Home Assistant when it comes to communicating with the device (sort of)
- Esphome Builder sees the device fine
- From Esphome Builder, clicking the device(s), “logs”, then “wirelessly” works just fine and the output is fine as well.
- And YES I have hard cold rebooted the entire server
Secrets file:
# Your Wi-Fi SSID and password
wifi_ssid: "Portal Of Infinite Distractions"
wifi_password: "I mean come on, I am not going to put the real one here"
v20internal: "v20internal"
v20internal_password: "I mean come on, I am not going to put the real one here"
Original Yaml:
esphome:
name: office-d1minilite
friendly_name: office-d1minilite
esp8266:
board: d1_mini_lite
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "gdt2gNJBax9OA9/VTfNqbTpWcSkMgfhRtq7VPYdnTxo="
ota:
- platform: esphome
password: "a6a620718d6dc44e406e9d4165589b1b"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: 192.168.10.133
subnet: 255.255.255.0
gateway: 192.168.10.1
dns1: 192.168.10.1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Office-D1Minilite"
password: "pM1C4RPM3EwC"
captive_portal:
# DHT22 Temp sensor
sensor:
- platform: dht
pin: D7
model: DHT22
temperature:
name: "Office Temp"
humidity:
name: "Office RH"
accuracy_decimals: 1
New Yaml:
esphome:
name: office-d1minilite
friendly_name: office-d1minilite
esp8266:
board: d1_mini_lite
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "gdt2gNJBax9OA9/VTfNqbTpWcSkMgfhRtq7VPYdnTxo="
ota:
- platform: esphome
password: "a6a620718d6dc44e406e9d4165589b1b"
wifi:
ssid: !secret v20internal
password: !secret v20internal_password
manual_ip:
static_ip: 192.168.20.30
subnet: 255.255.255.0
gateway: 192.168.20.1
dns1: 192.168.20.1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Office-D1Minilite"
password: "pM1C4RPM3EwC"
captive_portal:
# DHT22 Temp sensor
sensor:
- platform: dht
pin: D7
model: DHT22
temperature:
name: "Office Temp"
humidity:
name: "Office RH"
accuracy_decimals: 1
When I went to the device and clicked “download diagnostics” I noticed it still retains the old ip…HUH?
config_entry-esphome-d77de10257f8e28d80db2380a9be01ec.txt
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2025.4.3",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.13.2",
"docker": true,
"arch": "x86_64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "6.12.23-haos",
"supervisor": "2025.04.0",
"host_os": "Home Assistant OS 15.2",
"docker_version": "28.0.4",
"chassis": "vm",
"run_as_root": true
},
"custom_components": {
"thermal_comfort": {
"documentation": "https://github.com/dolezsa/thermal_comfort/blob/d7a81bbcd38110742124d46e7c0d2a7e5d011831/README.md",
"version": "2.2.2",
"requirements": []
}
},
"integration_manifest": {
"domain": "esphome",
"name": "ESPHome",
"after_dependencies": [
"zeroconf",
"tag"
],
"codeowners": [
"OttoWinter",
"jesserockz",
"kbx81",
"bdraco"
],
"config_flow": true,
"dependencies": [
"assist_pipeline",
"bluetooth",
"intent",
"ffmpeg",
"http"
],
"dhcp": [
{
"registered_devices": true
}
],
"documentation": "https://www.home-assistant.io/integrations/esphome",
"integration_type": "device",
"iot_class": "local_push",
"loggers": [
"aioesphomeapi",
"noiseprotocol",
"bleak_esphome"
],
"mqtt": [
"esphome/discover/#"
],
"requirements": [
"aioesphomeapi==29.9.0",
"esphome-dashboard-api==1.2.3",
"bleak-esphome==2.12.0"
],
"zeroconf": [
"_esphomelib._tcp.local."
],
"is_built_in": true,
"overwrites_built_in": false
},
"setup_times": {
"null": {
"setup": 0.008488419999999053
},
"e3819bc71d5a06c0e4c2f295d7672564": {
"wait_import_platforms": -0.16798100999999832,
"config_entry_setup": 0.17299937700000356
},
"2ffaed7ed987f3458c72ae170545f44c": {
"wait_import_platforms": -0.16850696000000198,
"config_entry_setup": 0.17475125400000024
},
"d77de10257f8e28d80db2380a9be01ec": {
"wait_import_platforms": -0.16970431200000036,
"config_entry_setup": 0.1757452099999952
},
"01JBSK39HMD13CXYWMB902Q4W3": {
"wait_import_platforms": -0.1748421849999957,
"config_entry_setup": 0.1814305549999986
}
},
"data": {
"config": {
"created_at": "1970-01-01T00:00:00+00:00",
"data": {
"device_name": "office-d1minilite",
"host": "192.168.10.133",
"noise_psk": "**REDACTED**",
"password": "",
"port": 6053
},
"discovery_keys": {
"dhcp": [
{
"__type": "<class 'homeassistant.helpers.discovery_flow.DiscoveryKey'>",
"repr": "DiscoveryKey(domain='dhcp', key='bcff4dcf4a3c', version=1)"
}
],
"zeroconf": [
{
"__type": "<class 'homeassistant.helpers.discovery_flow.DiscoveryKey'>",
"repr": "DiscoveryKey(domain='zeroconf', key=('_esphomelib._tcp.local.', 'office-d1minilite._esphomelib._tcp.local.'), version=1)"
}
]
},
"disabled_by": null,
"domain": "esphome",
"entry_id": "d77de10257f8e28d80db2380a9be01ec",
"minor_version": 1,
"modified_at": "2024-10-02T21:26:18.796906+00:00",
"options": {
"allow_service_calls": false
},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "zeroconf",
"subentries": [],
"title": "office-d1minilite",
"unique_id": "bc:ff:4d:cf:4a:3c",
"version": 1
},
"storage_data": {
"device_info": {
"uses_password": false,
"name": "office-d1minilite",
"friendly_name": "office-d1minilite",
"mac_address": "**REDACTED**",
"compilation_time": "Apr 17 2025, 16:03:51",
"model": "d1_mini_lite",
"manufacturer": "Espressif",
"has_deep_sleep": false,
"esphome_version": "2025.4.0",
"project_name": "",
"project_version": "",
"webserver_port": 0,
"legacy_voice_assistant_version": 0,
"voice_assistant_feature_flags": 0,
"legacy_bluetooth_proxy_version": 0,
"bluetooth_proxy_feature_flags": 0,
"suggested_area": "",
"bluetooth_mac_address": ""
},
"services": [],
"api_version": {
"major": 1,
"minor": 10
},
"update": [],
"sensor": [
{
"object_id": "office_temp",
"key": 1799074950,
"name": "Office Temp",
"unique_id": "office-d1minilitesensoroffice_temp",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "temperature",
"unit_of_measurement": "\u00b0C",
"accuracy_decimals": 1,
"force_update": false,
"state_class": 1,
"last_reset_type": 0
},
{
"object_id": "office_rh",
"key": 1845501434,
"name": "Office RH",
"unique_id": "office-d1minilitesensoroffice_rh",
"disabled_by_default": false,
"icon": "",
"entity_category": 0,
"device_class": "humidity",
"unit_of_measurement": "%",
"accuracy_decimals": 1,
"force_update": false,
"state_class": 1,
"last_reset_type": 0
}
],
"text_sensor": []
},
"dashboard": "5c53de3b_esphome"
}
}