I am trying to collect the channels of my ancient DSC alarm system by ESP32 and ESPHome. By creating several Binary Sensors, it seems good. The problem is that the sensors are in constant changing between ON/OFF since the channels signal are square pulse in 100 Hz rather than simple high and low level.
So 0V for low and 100Hz for high?
Just add a delayed_off
of 20msec to the esphome binary sensor and it should read that as high and low.
https://esphome.io/components/binary_sensor/index.html#delayed-off
it works. you are a guru. thanks.