Home assistant + RPi4 + MT681 - Which IR sensor?

Hi there,
I would like to use home assistant on an Rpi4 to see my energy consumption.
home assistant is already running.
My energy counter in an ISKRA MT 681 (Germany).

Now Iḿ looking for an IR sensor build ready to connect to the RPi4 via USB.

I´d like to take one of the following. Will they all work? What is important to look at?

https://www.amazon.de/Hichi-Lesekopf-Stromzähler-optisch-auslesen/dp/B0BTC8RSKL/ref=sr_1_6?keywords=stromzähler%2Boptisch%2Bauslesen&qid=1697210621&sr=8-6&th=1

This thing is expensive! Cheaper is probably just a full build based on esp32 I guess?

Or maybe even based on dsmr if your power meter supports that?

Good question, are you running HaOS or do you got some control over the OS?

iǘe installed the haos image on my Rpi4

Then I’m not sure about any support for that (expensive) diode packed with usb interface :man_shrugging:

Any way it’s probably the poorest choice to choose the HA server for such a task (pulse meter) at it will be “guaranteed” that readings are lost when for example an update is applied (HA server restarting). :arrows_counterclockwise:

Choosing a cheaper and more solid approach is linked in the previous post and includes a esp which m can sum the total energy itself so the moment the HA server is available again the totals in HA will be correct :muscle: