Hey everyone.
I have been using my OEM for a fair while now. A few months back i needed to reimage my emonpi and since then my EmonTX has not been working. All 4 of my emonTH are working well. I noticed that i was receiving this in the hub log.
2023-02-12 08:13:54,894 DEBUG RFM2Pi 302 NEW FRAME : OK 10 133 2 0 0 124 2 43 0 9 5 0 0 178 0 0 0 13 0 0 0 103 2 0 0 0 0 0 0 (-62)
2023-02-12 08:13:54,895 WARNING RFM2Pi 302 RX data length: 28 is not valid for datacodes ['h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'L']
So after digging on the forum i thought it might be a change in firmware needed, so I upgraded the emontx using the firmware update tool via usb in emonhub to emonTX v3.4 continuous and also tried discrete. The continuous image booted and looked like it was working (IDE debug) however there was no RF coming through the debug.
So after more reading i realized that i needed to use 3.2 firmware due to older hardware. I then proceeded to upload the 3.2 firmware via IDE onto the TX. This worked and booted as expected. I then noticed that the same data length error was still occurring. I then found it best to comment out the datacodes line, which i did and now i am getting readings coming through into the bug log. I thought i had finally sorted it after 6 hours of messing around! Alas i plugged it all back in and now see that the values coming through are incorrect. For example if i have the 9v AC unplugged all i get is an increasing count in the power1 field like 1, then next transmission 2, then 3 etc etc. all other values are 0. If i then plug in the 9v ac i start getting readings closer to the values, but quite incorrect still.
For example - when checking with a clamp meter power3 was 1400w and the vrms was 242 etc both steady (no temp sensors are plugged in)
2023-02-12 08:20:44,832 DEBUG MQTT Publishing: emon/emontx1/power1 850
2023-02-12 08:20:44,834 DEBUG MQTT Publishing: emon/emontx1/power2 0
2023-02-12 08:20:44,835 DEBUG MQTT Publishing: emon/emontx1/power3 622
2023-02-12 08:20:44,836 DEBUG MQTT Publishing: emon/emontx1/power4 42
2023-02-12 08:20:44,838 DEBUG MQTT Publishing: emon/emontx1/vrms 10.1
2023-02-12 08:20:44,839 DEBUG MQTT Publishing: emon/emontx1/temp1 0
2023-02-12 08:20:44,841 DEBUG MQTT Publishing: emon/emontx1/temp2 2.5
2023-02-12 08:20:44,843 DEBUG MQTT Publishing: emon/emontx1/temp3 0
2023-02-12 08:20:44,844 DEBUG MQTT Publishing: emon/emontx1/temp4 0.18
2023-02-12 08:20:44,845 DEBUG MQTT Publishing: emon/emontx1/temp5 0
2023-02-12 08:20:44,847 DEBUG MQTT Publishing: emon/emontx1/temp6 7.47
2023-02-12 08:20:44,848 DEBUG MQTT Publishing: emon/emontx1/pulse 0
2023-02-12 08:20:44,849 DEBUG MQTT Publishing: emon/emontx1/13 0
2023-02-12 08:20:44,851 DEBUG MQTT Publishing: emon/emontx1/14 0
2023-02-12 08:20:44,852 DEBUG MQTT Publishing: emon/emontx1/rssi -66
2023-02-12 08:20:44,853 INFO MQTT Publishing 'node' formatted msg
2023-02-12 08:20:44,854 DEBUG MQTT Publishing: emonhub/rx/10/values 850,0,622,42,10.1,0,2.5,0,0.18,0,7.47,0,0,0,-66
Any help would be greatly appreciated, i am pretty much out of ideas now!
Sam
[edit - mod]
Please use Ctl-E to format logs, shell etc