Hi, I’m seeking for some advice here. I believe I tried everything I could find… I have Node MCUv2 with bme280 connected to it. I’m trying to run it via battery hence I need to use deep-sleep (IO16 connected to RST pin). I also find that deep sleep ESP8266 should be powered via 3v3,GND pins instead of USB - and I’m doing it.
But my setup after initial start it sends the data to my MQTT and going to sleep as it should, BUT it is not waking up
Thanks for any suggestion…
Here is my yaml config:
esphome:
name: sklenikv2
friendly_name: sklenikv2
esp8266:
board: nodemcuv2
# Enable logging
logger:
i2c:
sda: 4
scl: 5
scan: False
ota:
password: "3897437e839444f0798f497c688ecb5e"
sensor:
- platform: bme280_i2c
temperature:
name: "Sklenik Temp"
oversampling: 16x
id: sklenik_tempv2
pressure:
name: "Sklenik Tlak"
id: sklenik_tlakv2
humidity:
name: "Sklenik Hum"
id: sklenik_humv2
address: 0x76
update_interval: 7s
- platform: adc
pin: VCC
name: "VCC voltage level"
update_interval: 7s
- platform: wifi_signal
name: Sklenik wifi signalv2
id: wifi_signal_db
update_interval: 7s
entity_category: "diagnostic"
#Sleep between readings
deep_sleep:
run_duration: 30s
sleep_duration: 120s
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
manual_ip:
# Set this to the IP of the ESP
static_ip: 192.168.0.109
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.0.1
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
#ap:
# ssid: "Sklenikv2 Fallback Hotspot"
# password: "6gfTL9M3z71p"
mqtt:
topic_prefix: home/garden
discovery: false
broker: 192.168.0.10
port: 1883
username: !secret mqtt_user
password: !secret mqtt_password
captive_portal: