Community
OpenEnergyMonitor

OpenEnergyMonitor Community

EmonTX data not showing in input fields after loading new emonSD image to EmonPi

I have just replaced my old emonSD image (2018 vintage) with a new SD card (image 24Jun20) to overcome the problem with emoncms.org feeds that Trystan highlighted yesterday. The data from my EmonPi and 6x EmonTH are all showing and uploading OK to the local emoncms and emoncms.org., However, I have 2x emonTXv3 and while these seem to be showing as present in the input list (as emontxv3cm15 and emontxv3cm16) there is no data in any of the input fields in either the local emoncms or emoncms.org). They data fields are just showing as “NULL” with “n/a” in the timing field. I have tried rebooting the EmonTXs by powering off/on with no success. These are quite old EmonTX’s - so do I have to change something in emonhub config? In my old image the emonTXs showed as “emontx1” and “emontx2” in channels 9 and 10

Update. I have tried deleting the emontxv3cm15 and emontxv3cm16 entries in emonhub but it hasn’t helped. I can see the below warning in the emonhub log which I think suggests a datalength error for nodes 9 and 10.

2021-10-01 11:24:00,142 DEBUG    RFM2Pi     234 NEW FRAME : OK 9 25 0 250 255 26 0 9 0 25 96 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (-28)
2021-10-01 11:24:00,144 WARNING  RFM2Pi     234 RX data length: 24 is not valid for datacodes ['h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'L']
2021-10-01 11:45:34,746 DEBUG    RFM2Pi     808 NEW FRAME : OK 10 0 0 0 0 0 0 0 0 13 2 187 0 183 0 183 0 0 0 0 0 0 0 172 8 (-45)
2021-10-01 11:45:34,749 WARNING  RFM2Pi     808 RX data length: 24 is not valid for datacodes ['h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'L']

Edit - Formatted text. BT, Moderator

Hello @Jez could you try adding the following emonhub config, make sure there are no duplicate entries for node 9 and 10:

[[9]]
   nodename = emontx2
   [[[rx]]]
      names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
      datacode = h
      scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
      units =W,W,W,W,V,C,C,C,C,C,C,p

[[10]]
   nodename = emontx1
   [[[rx]]]
      names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
      datacode = h
      scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
      units =W,W,W,W,V,C,C,C,C,C,C,p

@TrystanLea - yep that fixed it. Now seeing all the inputs and feeds in local emoncms and emoncms.org. Thanks for the help.

1 Like