Faulty sensor cause all other ESPhome sensors to display "Unavailable"

Hi all

I have two NodeMCU ESP8266 devices running ESPHome.

1st device is a NodeMCU with a DHT22 sensor in the study. Working great and I get constant readings on the temp and humidity, as long as the 2nd node is offline/getting a reading from it’s sensor.

2nd device is a NodeMCU with an Ultrasonic senor (the type with a trigger and echo pin). Now this device is battery powered and not working as it should (I’m working on it) but I think the Ultrasonic sensor I’m using is a 5V device thus running off a 18650 Li-ion cell, it works up to about 3.8V then the Ultrasonic senor stops working.

Now this is where it gets weird, as soon as the 2nd nodeMCU looses the ultrasonic sensor readings, the 1st NodeMCU’s values is unavailable as well in Home Assistent. No temp or humidity readings and this NodeMCU is not powered of batteries, so definitely not a power issue.

Why would one faulty sensor on a separate NodeMCU effect a completely different NodeMCU’s sensor’s readings in Hassio?

Here is my yaml:

1st NodeMCU

esphome:
  name: test_controller_dht22
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: "xx"
  password: "xx"
  power_save_mode: none #NONE, LIGHT, HIGH

# Enable logging
logger:
# Enable Home Assistant API
api:

# Example configuration entry
text_sensor:
  - platform: version
    name: "DHT22 ESPHome Version"

ota:

status_led:
  pin: GPIO2

binary_sensor:
  - platform: status
    name: "Test Controller - DHT22"

switch:
  - platform: restart
    name: "DHT22 Test Controller Restart"
  - platform: shutdown
    name: "DHT22 Test Controller Shutdown"
    icon: "mdi:shutdown"    

sensor:
  - platform: wifi_signal
    name: "DHT22 Test Conroller"
#    update_interval: 60s
  - platform: adc
    pin: VCC
    name: "DHT22 Vcc Voltage"
  - platform: dht
    pin: D2
    temperature:
      name: "Study Temperature"
    humidity:
      name: "Study Humidity"
#    update_interval: 60s

2nd NodeMCU

esphome:
  name: h2o_tank_1
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: "xx"
  password: "xx"
#  manual_ip:
#    static_ip: 192.168.8.15
#    gateway: 192.168.8.1
#    subnet: 255.255.255.0
  power_save_mode: none #NONE, LIGHT, HIGH

# Enable logging
logger:
# Enable Home Assistant API
api:

# Example configuration entry
text_sensor:
  - platform: version
    name: "Tank lvl ESPHome Version"

ota:

binary_sensor:
  - platform: status
    name: "H2O Tank 1 Controller"

status_led:
  pin: GPIO2
  
switch:
  - platform: restart
    name: "H2O Tank 1 Controller Restart"

sensor:
  - platform: wifi_signal
    name: "H2O Tank 1"
    update_interval: 30s
  - platform: ultrasonic
    trigger_pin: D1
    echo_pin: D2
    name: "Water Level"
    update_interval: 30s
    timeout: 3m
  - platform: adc
    pin: A0
    name: "Battery Voltage"
    filters:
      - multiply: 4.2
    
#deep_sleep:
#  run_duration: 300s
#  sleep_duration: 10min

No Logs???

1 Like

After an extended power outage my Hassio isn’t starting up so I will get that up and running first and hopefully get some logs to post.