I have a couple of emonTX devices on nodes 7 and 8 already and have recently purchased two more. I’ve plugged the first in and thankfully it’s already set to node 15.
I’ve added the addition config into Emonhub, named it as appropriate and basically copied the rx details from one of the other emonTX devices.
However, this is not working and I can see an error in the Emonhub which suggests that the data codes are incorrect for the frame that it is receiving.
I can’t see anything that suggests that this emonTx provides anything other than the original 11 h and 1 L code in its outputs so I’m a bit stuck.
I’ve checked that the entire frame can be read by setting datacode = 0 to read it in unprocessed and that works.
Any clues as to what is wrong with my datacodes config as per the sample from the log below (shows both node 15 failing and node 8 working).
Thanks
2021-01-04 16:00:26,029 DEBUG RFM2Pi 291 NEW FRAME : OK 15 84 84 85 85 89 15 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 101 32 101 32 101 32 84 85 85 85 (-50)
2021-01-04 16:00:26,030 WARNING RFM2Pi 291 RX data length: 40 is not valid for datacodes [‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘L’]
2021-01-04 16:00:30,371 DEBUG RFM2Pi 292 NEW FRAME : OK 8 167 3 37 1 50 14 155 10 217 91 184 11 184 11 184 11 184 11 184 11 184 11 0 0 0 0 (-49)
2021-01-04 16:00:30,373 DEBUG RFM2Pi 292 Timestamp : 1609776030.371351
2021-01-04 16:00:30,374 DEBUG RFM2Pi 292 From Node : 8
2021-01-04 16:00:30,374 DEBUG RFM2Pi 292 Values : [935, 293, 3634, 2715, 235.13, 300, 300, 300, 300, 300, 300, 0]
2021-01-04 16:00:30,375 DEBUG RFM2Pi 292 RSSI : -49
2021-01-04 16:00:30,375 DEBUG RFM2Pi 292 Sent to channel(start)’ : ToEmonCMS
2021-01-04 16:00:30,376 DEBUG RFM2Pi 292 Sent to channel(end)’ : ToEmonCMS