Esphome dht11 noob problem esp8266

I have flashed my esp 8266 and have a dht11 connected
everything is working on the board with wifi
when i check the yaml file it shows temperature every 10 seconds
but it is not showing up in my dashboard?
see attached images
you can see its logging temp and humidity but i cannot see the temperature in my dashboard or add it
I have no entity for the sensor?

Maybe I have missed a step?

its definitely connected, i uploaded initially by connecting esp to my tinker board
and now it is working wirelessly but still nothing in dashboard
no temp or humidity gauges?

any help appreciated

Looks like.

Beside a dht11 is the poorest choice available to “measure” temperatures did you even bother to read the “getting started” guide on esphome.io?

I have followed the tutorial from ESPhome…
Yes I have read the tutorial
I am looking for solutions here
I have now watched 5-6 videos but all are much older versions of Hass
Just reflashed the board
set static ip addresses outside the range of my routers dhcp address range
still see temps and humidity in logs but no entity

Did you open the link I posted and read it?

The important headline is: “Connecting your device to Home Assistant”

Sometimes reading realy helps even it’s “harder” than watching (old) videos…

I think you misunderstand
I have installed ESPhome on my server (tinkerboard)
I have set static IP for tinkerboard and Esp board (and both ping)
I have loaded yaml file to tinkerboard via serial with it connected to tinkerboard
i can view logs with it via wireless or upload changes to yaml wireless and it spits out the temps in terminal window
but still i cannot add it as it has no entity
i realise I must be doing something stupid but cannot see it

esphome:
  name: temperature
  platform: ESP8266
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "xxxxxxxxxxx"

wifi:
  ssid: "xxxxxxxxx"
  password: "xxxxxxxx"
  
# Optional manual IP
  manual_ip:
    static_ip: 192.168.0.151
    gateway: 192.168.0.1
    subnet: 255.255.255.0

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Temperature Fallback Hotspot"
    password: "wairiua6FwXd"

captive_portal:

# Example configuration entry
sensor:
  - platform: dht
    pin: GPIO5
    temperature:
      name: "WS-TEMP"
    humidity:
      name: "WS-HUMIDITY"
    update_interval: 10s
    model: DHT11

I linked and mentioned the (important :warning:) thing you forgot (and you still don’t see) in my last two posts in this thread :point_up:

I will re-read I must be stupid

1 Like

Actually I linked directly to the important headline :bulb:

In Home Assistant configuration → integration → ESP-Home → add device → input the IP of the ESP-Home node.

I already have it their under esp home as a device… but not as an entity…

adding it via IP just added temperature again…

what will happen if you click on “temperature” :thinking:

This whole process was so painless - apart from getting it to show as an entity -
it shows as a device no problem

device

currently i have 4 dht22 connected to a pi-zero logging temps to a google sheets
That is a headache to setup and if google goes offline or my internet drops the python script crashes and no easy way to restart it…

this hass seems a much better solution… if i can get the sensor(s) to show up in dashboard

what happens if you click on that device? :thinking:

Sorry I cannot reply daily post limit new user 19 hours…

And Yes I completely started again… Temp was first go, temperature was 2nd go

I do not know what you mean by “what is hidden behind the temp device” Sorry

And what is hidden behind the temp device?

Do you have more than one esp device or did you changed the name in your yaml?

1 Like