The configuration is very easy, you only give the username/password of the broker running on the emoncms add-on…
Critics and feedback are welcome. It is actually just a proof of concept, in order to see how to run in container a tool like emonhub without being in privileged mode…for ttyAMA0, things are simple, it will be a little more complicated with ttyUSB* as you can connect/reconnect the device many times…but it is possible using cgroups with docker, so why not in home-assistant…
The container is build for 3 archs with the github actions : amd64/armv7/aarch64
It can work as a standalone docker container and is available on my docker profile : https://hub.docker.com/r/alexjunk/emontx_sniffer
My RFM setup is a really old RFM69 & TX 3.2 (I think) on fairly original firmware. I do also have a later TX3 connected by serial to a Pi (as a test setup) and an EmonPi (also a testbed). I’ve not tried any of the different RFM firmware options.
It needs tidying up, but I’ll probably end up with just the TX with serial/WiFi connection feeding to MQTT and my PVE emoncms.
The HA emoncms though is really interesting especially as the Wi-Fi TX4 would be my preferred setup if I was going for it from scratch. A TX4, Wi-Fi, and emoncms on HA is extremely simple and relatively cheap (compared to other options).