@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 ESPHomeHere 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.However, that binary sensor jumps from true to false, time after time
Image may be NSFW.
Clik here to view.Why is that could happen?
Posts: 8
Participants: 3