I have a D1 mini with a Dallas temp probe configured in ESP Home. I see values populated in the log, but the entity is not created in Home Assistant. Any thoughts? Thanks.
Didn’t you get an error when you tried to add that ESP in Integrations ? as it indicates that api connection has been closed between HA and ESP ! Did you setup a password for API connection ? Please share your whole yaml for better understanding problem !
esphome:
name: d1-aux-temperature
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
use_address: 192.168.1.120
manual_ip:
static_ip: !secret d1mini_aux_temperature_ip
gateway: !secret wifi_gateway
subnet: !secret wifi_subnet
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "removed"
password: "removed"
captive_portal:
dallas:
- pin: GPIO4
sensor:
- platform: dallas
address: 0x8a800000046d0528
name: "D1_Aux_Temperature"
id: d1_aux_temperature
filters:
- lambda: return x * 1.8 + 32.0;
unit_of_measurement: "F"
[solved]
I had to manually add the device to the ESP Home integration (by specifying the IP address of the device in the “host” field.
1 Like
Yes a lot of people miss actually adding the device to ha.
1 Like