Hello @lamixer replying here in reference to your support ticket, as I think the resolution of this might be useful for anyone else troubleshooting as well.
Here’s my understanding of your setup so far:
-
You have an emonTx4 with the 6CT extender running the
EmonTx4 + EmonLibDB Continuous Monitoring Minimal Demo with rf
firmware. -
You are trying to connect this directly via USB to a local VM running emoncms.
-
The standard data format of this firmware is not compatible with data over serial/USB.
The solution is to upload a different version of the EmonTx4 firmware that supports single phase 12 CT sensors and prints the output in the right format. This firmware example can be found here: https://github.com/openenergymonitor/emontx4/blob/main/firmware/EmonTx4_DB_12CT_WiFi/EmonTx4_DB_12CT_WiFi.ino
I would recommend following this guide in order to compile and upload the firmware using the Arduino IDE: Firmware — OpenEnergyMonitor 0.0.1 documentation
The EmonTx4_DB_12CT_WiFi firmware mentions WiFi in it’s name, the intention behind this firmware was to provide support for the EmonTx4 with 12 CT sensors when connected to an EmonESP WiFi board. This firmware is also suitable for your direct USB connection as the serial output format is the same.
I would also check the CT sensor calibration values while you are at it, see lines 127-141 https://github.com/openenergymonitor/emontx4/blob/main/firmware/EmonTx4_DB_12CT_WiFi/EmonTx4_DB_12CT_WiFi.ino#L127 the example is configured for 20A CT sensors on all channels.