@Topaz in your git repo you link to this other work:
here i’m seeing the connection is done with a M5STACK ATOM Lite + M5STACK RS-485 kitHardware Installation
which seems cheaper overall and i was wondering if that type of connection could work with your setup. I see that work is mainly for AC, but wondering if that way of connecting could actually work for your implementation?