Quantcast
Viewing all articles
Browse latest Browse all 104971

Binary sensor false trigger

@DenisO wrote:

Got strange automation behaviour

I have a “GSM modem” project. Simple SIM800l connected to ESM12 and powered by 18650 battery, which is charging if USB connected to charging board
I just include DC detect sensor, to get state of USB connected to charger or not
ESP12 connected to HA with ESPHome

Here is my yaml

  - platform: template
    sensors:
      gsm_power_on:
        friendly_name: "GSM External Power"
        value_template: "{{ states('sensor.gsm_external_power')|float > 0.00 }}" 

While USB plugged it, value of that sensor always above 0V
Image may be NSFW.
Clik here to view.
2020-02-03_23-08-49

However, that binary sensor jumps from true to false, time after time
Image may be NSFW.
Clik here to view.
2020-02-03_23-10-56

Why is that could happen?

Posts: 8

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 104971

Trending Articles