I have not used that particular optical reading head, but you might have a look at my post here as I just did a similar project using a ESP32 / Lora Dev Board to interact with the meter: [Energy] Read IEC-62056 based electricity meter and send data using Lorawan, WebHook and Template Sensors