Esphome - reading and processing signals from front gate motor ( HIGH / LOW / PULSATING)

Hi,
I’ve got NICE MC242L for my front gate and I want to read it’s state.
And the state is defined on OGI pin as:
HIGH - gate opened
LOW - gate closed
pulsating slowly - gate is opening
pulsating quickly - gate is closing

I tried to use pulse_meter - but probably won’t work if the gate will be opened - cause there will be no pulse.
Don’t want to use binary_sensor as I won’t be able to react properly for pulsating signal (it will be “opened” / “closed” many times while opening/closing the gate).

Any ideas?

1 Like