Interpret S0 Impulse without ESPHome

S0 Interpret Impule

Hello,
I have some electricity meters with S0 interface on a KNX binary input. These impulses arrive at Home Assitant as KNX telegram or UDP telegram (both possible). Is there a simple way to convert them to kW and kWh? With the “normal” integration this step already happens in ESPHome.

Many greetings

mode