Bought these resistors :
No device found
# Substitution Variables
substitutions:
device_internal_name: test
device_friendly_name: Test
device_ip_address: 10.0.0.83
# Board Configuration
esphome:
name: ${device_internal_name}
friendly_name: ${device_friendly_name}
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
- platform: esphome
safe_mode:
# WiFi
wifi:
networks:
- ssid: "dd-wrt"
password: "xx"
- ssid: "SNOW"
password: "xx"
power_save_mode: none
# output_power: 8.5dB
# Enable fallback hotspot in case wifi connection fails
ap:
ssid: ${device_friendly_name} Fallback Hotspot
password: "xx"
manual_ip:
# Set this to the IP of the ESP
static_ip: ${device_ip_address}
# Set this to the IP address of the router. Often ends with .1
gateway: 10.0.0.1
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.255.0
dns1: 1.1.1.1
dns2: 8.8.8.8
captive_portal:
debug:
update_interval: 1min # How often to check the memory.
button:
- platform: safe_mode
name: "Safe Mode Boot ${device_friendly_name}"
entity_category: diagnostic
- platform: restart
name: "Restart ${device_friendly_name}"
binary_sensor:
- platform: status
id: status_${device_internal_name}
name: Status ${device_friendly_name}
# Text Sensors.
text_sensor:
- platform: wifi_info
ip_address:
name: IP Address ${device_friendly_name}
id: ip_address_${device_internal_name}
icon: mdi:ip-network
ssid:
name: Connected SSID ${device_friendly_name}
id: ${device_internal_name}_connected_ssid
mac_address:
name: Mac Wifi Address ${device_friendly_name}
id: ${device_internal_name}_mac_address
- platform: debug
reset_reason:
name: Reset Reason ${device_friendly_name}
icon: "mdi:information-outline"
# Custom Text sensors
#-------------------------------------------------------------------------------
- platform: template
name: Uptime Human Readable ${device_friendly_name}
id: ${device_internal_name}_uptime_human
icon: mdi:clock-start
sensor:
# Creates a sensor in Home Assistant with the free memory value.
- platform: debug
free:
name: Heap Free ${device_friendly_name}
unit_of_measurement: "B" # B for Bytes
icon: "mdi:memory"
- platform: wifi_signal # Reports the WiFi signal strength/RSSI in dB
name: WiFi Signal dB ${device_friendly_name}
id: wifi_signal_db
update_interval: 60s
entity_category: "diagnostic"
- platform: copy # Reports the WiFi signal strength in %
source_id: wifi_signal_db
name: WiFi Signal Percent ${device_friendly_name}
filters:
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
unit_of_measurement: "%"
entity_category: "diagnostic"
device_class: ""
# Uptime
- platform: uptime
name: Uptime Sensor ${device_friendly_name}
id: ${device_internal_name}_uptime_sensor
update_interval: 100s
# internal: true
on_raw_value:
then:
- text_sensor.template.publish:
id: ${device_internal_name}_uptime_human
state: !lambda |-
int seconds = round(id(${device_internal_name}_uptime_sensor).raw_state);
int days = seconds / (24 * 3600);
seconds = seconds % (24 * 3600);
int hours = seconds / 3600;
seconds = seconds % 3600;
int minutes = seconds / 60;
seconds = seconds % 60;
return (
(days ? to_string(days) + "d " : "") +
(hours ? to_string(hours) + "h " : "") +
(minutes ? to_string(minutes) + "m " : "") +
(to_string(seconds) + "s")
).c_str();
- platform: dallas_temp
# address: 0x9900000059ab5828
name: ${device_friendly_name} Temperature
update_interval: 60s
interval:
- interval: 60s
then:
- logger.log: Heartbeat - ${device_friendly_name} is alive!
# Example configuration entry
one_wire:
- platform: gpio
pin: GPIO4
Log :
[14:00:44][C][safe_mode:084]: Unsuccessful boot attempts: 0
[14:00:44][I][app:073]: Running through setup()
[14:00:44][C][component:163]: Setup logger took 0ms
[14:00:44][C][component:163]: Setup gpio.one_wire took 2ms
[14:00:44][C][component:163]: Setup preferences took 0ms
[14:00:44][C][component:163]: Setup template.text_sensor took 0ms
[14:00:44][C][component:163]: Setup uptime.sensor took 0ms
[14:00:44][C][component:163]: Setup safe_mode.button took 0ms
[14:00:44][C][component:163]: Setup restart.button took 0ms
[14:00:44][D][binary_sensor:039]: 'Status Test': New state is OFF
[14:00:44][C][component:163]: Setup status.binary_sensor took 6ms
[14:00:44][D][text_sensor:069]: 'Mac Wifi Address Test': Sending state 'A4:CF:12:BF:4F:E8'
[14:00:44][C][component:163]: Setup wifi_info.text_sensor took 8ms
[14:00:44][C][component:163]: Setup copy.sensor took 0ms
[14:00:44][E][one_wire:026]: No devices, can't auto-select address
[14:00:44][C][component:163]: Setup dallas_temp.sensor took 6ms
[14:00:44][C][component:163]: Setup interval took 1ms
[14:00:44][C][component:163]: Setup web_server_base took 0ms
[14:00:44][C][component:163]: Setup captive_portal took 0ms
[14:00:44][C][wifi:060]: Starting
[14:00:44][C][wifi:060]: Local MAC: A4:CF:12:BF:4F:E8
[14:00:44][D][wifi:507]: Starting scan
[14:00:44][C][component:163]: Setup wifi took 22ms
[14:00:44][W][component:296]: wifi set Warning flag: scanning for networks
[14:00:45][D][main:201]: Heartbeat - Test is alive!
[14:00:45][D][text_sensor:069]: 'Uptime Human Readable Test': Sending state '1s'
[14:00:45][D][sensor:131]: 'Uptime Sensor Test': Sending state 1.12100 s with 0 decimals of accuracy
[14:00:50][D][wifi:576]: Found networks:
[14:00:50][I][wifi:599]: - 'dd-wrt' (1C:BF:CE:80:D8:54) [redacted]ββββ
[14:00:50][D][wifi:601]: Channel: 6
[14:00:50][D][wifi:601]: RSSI: -62 dB
[14:00:50][I][wifi:599]: - 'SNOW' (10:FE:ED:AF:44:7A) [redacted]ββββ
[14:00:50][D][wifi:601]: Channel: 1
[14:00:50][D][wifi:601]: RSSI: -65 dB
[14:00:50][I][wifi:599]: - 'SNOW' (3C:37:12:CE:A0:FE) [redacted]ββββ
[14:00:50][D][wifi:601]: Channel: 1
[14:00:50][D][wifi:601]: RSSI: -70 dB
[14:00:50][I][wifi:599]: - 'dd-wrt' (1C:3B:F3:C7:26:8C) [redacted]ββββ
[14:00:50][D][wifi:601]: Channel: 8
[14:00:50][D][wifi:601]: RSSI: -81 dB
[14:00:50][D][wifi:606]: - ''[redacted] (00:14:C1:38:CD:CC) [redacted]ββββ
[14:00:50][D][wifi:606]: - 'Kotje'[redacted] (9C:53:22:50:35:90) [redacted]ββββ
[14:00:50][I][wifi:329]: Connecting to 'dd-wrt'
[14:00:52][I][wifi:675]: Connected
[14:00:52][C][wifi:444]: Local MAC: A4:CF:12:BF:4F:E8
[14:00:52][C][wifi:449]: SSID: 'dd-wrt'[redacted]
[14:00:52][C][wifi:452]: IP Address: 10.0.0.83
[14:00:52][C][wifi:456]: BSSID: 1C:BF:CE:80:D8:54[redacted]
[14:00:52][C][wifi:456]: Hostname: 'test'
[14:00:52][C][wifi:456]: Signal strength: -60 dB ββββ
[14:00:52][C][wifi:467]: Channel: 6
[14:00:52][C][wifi:467]: Subnet: 255.255.255.0
[14:00:52][C][wifi:467]: Gateway: 10.0.0.1
[14:00:52][C][wifi:467]: DNS1: 1.1.1.1
[14:00:52][C][wifi:467]: DNS2: 8.8.8.8
[14:00:52][D][wifi:689]: Disabling AP
[14:00:52][C][component:163]: Setup esphome.ota took 0ms
[14:00:52][C][component:163]: Setup safe_mode took 0ms
[14:00:52][C][component:163]: Setup web_server.ota took 0ms
[14:00:52][W][component:287]: api set Warning flag: unspecified
[14:00:52][C][component:163]: Setup api took 6ms
[14:00:52][C][component:163]: Setup wifi_info.text_sensor took 0ms
[14:00:52][C][component:163]: Setup wifi_info.text_sensor took 0ms
[14:00:52][C][component:163]: Setup wifi_signal.sensor took 0ms
[14:00:52][C][component:163]: Setup mdns took 2ms
[14:00:52][C][component:163]: Setup debug took 0ms
[14:00:52][I][app:120]: setup() finished successfully!
[14:00:52][D][text_sensor:069]: 'Connected SSID Test': Sending state 'dd-wrt'
[14:00:52][W][component:326]: wifi cleared Warning flag
[14:00:52][I][app:185]: ESPHome version 2025.9.1 compiled on Sep 29 2025, 13:11:50
[14:00:52][C][wifi:661]: WiFi:
[14:00:52][C][wifi:444]: Local MAC: A4:CF:12:BF:4F:E8
[14:00:52][C][wifi:449]: SSID: 'dd-wrt'[redacted]
[14:00:52][C][wifi:452]: IP Address: 10.0.0.83
[14:00:52][C][wifi:456]: BSSID: 1C:BF:CE:80:D8:54[redacted]
[14:00:52][C][wifi:456]: Hostname: 'test'
[14:00:52][C][wifi:456]: Signal strength: -61 dB ββββ
[14:00:52][C][wifi:467]: Channel: 6
[14:00:52][C][wifi:467]: Subnet: 255.255.255.0
[14:00:52][C][wifi:467]: Gateway: 10.0.0.1
[14:00:52][C][wifi:467]: DNS1: 1.1.1.1
[14:00:52][C][wifi:467]: DNS2: 8.8.8.8
[14:00:52][C][logger:273]: Logger:
[14:00:52][C][logger:273]: Max Level: DEBUG
[14:00:52][C][logger:273]: Initial Level: DEBUG
[14:00:52][C][logger:279]: Log Baud Rate: 115200
[14:00:52][C][logger:279]: Hardware UART: UART0
[14:00:52][C][gpio.one_wire:021]: GPIO 1-wire bus:
[14:00:52][C][gpio.one_wire:022]: Pin: GPIO4
[14:00:52][W][gpio.one_wire:082]: Found no devices!
[14:00:52][C][template.text_sensor:020]: Template Sensor 'Uptime Human Readable Test'
[14:00:52][C][template.text_sensor:020]: Icon: 'mdi:clock-start'
[14:00:52][C][uptime.sensor:015]: Uptime Sensor 'Uptime Sensor Test'
[14:00:52][C][uptime.sensor:015]: State Class: 'total_increasing'
[14:00:52][C][uptime.sensor:015]: Unit of Measurement: 's'
[14:00:52][C][uptime.sensor:015]: Accuracy Decimals: 0
[14:00:52][C][uptime.sensor:025]: Device Class: 'duration'
[14:00:52][C][uptime.sensor:029]: Icon: 'mdi:timer-outline'
[14:00:52][C][uptime.sensor:033]: Type: Seconds
[14:00:52][C][safe_mode.button:015]: Safe Mode Button 'Safe Mode Boot Test'
[14:00:52][C][safe_mode.button:018]: Icon: 'mdi:restart-alert'
[14:00:52][C][restart.button:015]: Restart Button 'Restart Test'
[14:00:52][C][restart.button:018]: Icon: 'mdi:restart'
[14:00:52][C][status:016]: Status Binary Sensor 'Status Test'
[14:00:52][C][status:019]: Device Class: 'connectivity'
[14:00:52][C][wifi_info:014]: MAC Address 'Mac Wifi Address Test'
[14:00:52][C][copy.sensor:015]: Copy Sensor 'WiFi Signal Percent Test'
[14:00:52][C][copy.sensor:015]: State Class: 'measurement'
[14:00:52][C][copy.sensor:015]: Unit of Measurement: '%'
[14:00:52][C][copy.sensor:015]: Accuracy Decimals: 0
[14:00:52][C][dallas.temp.sensor:029]: Dallas Temperature Sensor:
[14:00:52][W][dallas.temp.sensor:031]: Unable to select an address
[14:00:52][C][captive_portal:122]: Captive Portal:
[14:00:52][C][esphome.ota:075]: Over-The-Air updates:
[14:00:52][C][esphome.ota:075]: Address: 10.0.0.83:8266
[14:00:52][C][esphome.ota:075]: Version: 2
[14:00:52][C][safe_mode:018]: Safe Mode:
[14:00:52][C][safe_mode:018]: Successful after: 60s
[14:00:52][C][safe_mode:018]: Invoke after: 10 attempts
[14:00:52][C][safe_mode:018]: Duration: 300s
[14:00:52][C][web_server.ota:235]: Web Server OTA
[14:00:52][C][api:205]: Server:
[14:00:52][C][api:205]: Address: 10.0.0.83:6053
[14:00:52][C][api:215]: Noise encryption: NO
[14:00:52][C][wifi_info:012]: SSID 'Connected SSID Test'
[14:00:52][C][wifi_info:010]: IP Address 'IP Address Test'
[14:00:52][C][wifi_info:010]: Icon: 'mdi:ip-network'
[14:00:52][C][wifi_signal.sensor:015]: WiFi Signal 'WiFi Signal dB Test'
[14:00:52][C][wifi_signal.sensor:015]: State Class: 'measurement'
[14:00:52][C][wifi_signal.sensor:015]: Unit of Measurement: 'dBm'
[14:00:52][C][wifi_signal.sensor:015]: Accuracy Decimals: 0
[14:00:52][C][wifi_signal.sensor:025]: Device Class: 'signal_strength'
[14:00:52][C][mdns:213]: mDNS:
[14:00:52][C][mdns:213]: Hostname: test
[14:00:52][C][debug:018]: Debug component:
[14:00:52][C][debug:015]: Free space on heap 'Heap Free Test'
[14:00:52][C][debug:015]: State Class: ''
[14:00:52][C][debug:015]: Unit of Measurement: 'B'
[14:00:52][C][debug:015]: Accuracy Decimals: 0
[14:00:52][C][debug:029]: Icon: 'mdi:memory'
[14:00:52][D][debug:033]: ESPHome version 2025.9.1
[14:00:52][D][debug:037]: Free Heap Size: 36960 bytes
[14:00:52][D][debug:041]: Flash Chip: Size=1024kB Speed=40MHz Mode=DOUT
[14:00:52][D][debug:050]: Chip ID: 0x00BF4FE8
[14:00:52][D][debug:051]: SDK Version: 2.2.2-dev(38a443e)
[14:00:52][D][debug:052]: Core Version: 3.1.2
[14:00:52][D][debug:053]: Boot Version=31 Mode=1
[14:00:52][D][debug:054]: CPU Frequency: 80
[14:00:52][D][debug:055]: Flash Chip ID=0x001640EF
[14:00:52][D][debug:056]: Reset Reason: External System
[14:00:52][D][debug:057]: Reset Info: External System
[14:00:52][D][text_sensor:069]: 'Reset Reason Test': Sending state 'External System'
[14:00:52][D][text_sensor:069]: 'IP Address Test': Sending state '10.0.0.83'
[14:00:53][D][sensor:131]: 'WiFi Signal dB Test': Sending state -62.00000 dBm with 0 decimals of accuracy
[14:00:53][D][sensor:131]: 'WiFi Signal Percent Test': Sending state 76.00000 % with 0 decimals of accuracy
[14:00:56][D][sensor:131]: 'Heap Free Test': Sending state 37224.00000 B with 0 decimals of accuracy
[14:01:44][I][safe_mode:042]: Boot seems successful; resetting boot loop counter
[14:01:45][D][main:201]: Heartbeat - Test is alive!
Terminal disconnected: NetworkError: The device has been lost.
Wiring:




