Hi Guys…
I have issue with ESP8266 (d1_mini)+MQTT+DHT22
Im using deep sleep.
Deep sleep working correctly only when I have plugged MCU on USB with opened LOG window.
If I close the logger and MCU fall asleep, it stays in reset until I again open logger via USB.
Its strange… Any idead?
esphome:
name: esp8266-weather-station
platform: ESP8266
board: d1_mini
# Enable logging
logger:
wifi:
ssid: "Lucivjansky"
password: "****"
mqtt:
broker: 192.168.2.175
username: mqtt
password: ****
birth_message:
topic: temperature/state
payload: online
will_message:
topic: temperature/state
payload: online
sensor:
- platform: dht
pin: D2
model: DHT22
temperature:
name: "Outside Temperature"
humidity:
name: "Outside Humidity"
update_interval: 10s
- platform: adc
pin: A0
name: "Outside Battery Level"
update_interval: 10s
filters:
- multiply: 5
deep_sleep:
run_duration: 35s
sleep_duration: 10min