Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 101645

Binary sensor false trigger

$
0
0

@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
2020-02-03_23-08-49

However, that binary sensor jumps from true to false, time after time
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 101645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>