Hello all,
this is my second topic, so please, just let me know if am doing something wrong in this post.
I would like connect my Wemos EP8266 board with Hassio and ESPhome, to measure temperature, but I have small problems with it.
Like it is written, am using Wemos ESP8266 Wroom-02 board wired with Dallas DS18B20 temperature sensor. I will try to give all informations, that you can check and help me to see, where am doing it wrong.
In ESPhome am using this code:
esphome:
name: temperatura
platform: ESP8266
board: esp01_1m
wifi:
ssid: "ludvik2"
password: "metod1234"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Temperatura Fallback Hotspot"
password: "q7vN22bPvGD4"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
# Example configuration entry
dallas:
- pin: GPIO4
# Individual sensors
sensor:
- platform: dallas
address: 0x1C0000031EDD2A28
name: "temperatura"
The code is taken from ESPhome page for Dallas sensors.
Am using this type of wiring:
Code is flashed on ESP8266 board with esphome-flasher, and seems, that code is sucessfully uploaded to ESP8266 board, but I dont get any readings of temperature, this is a log from flasher:
And in this point, I dont know, what the next step is, so if anyone knows anything and helps me solve the problem, I would bi very happy.
Regards.