Try changing datacode = to datacodes = for node [[9]] in the [nodes] section of emonhub.conf.

[EDIT] FYI the plural “datacodes” setting is used to define a list of datacodes for decoding the payload where as the singular “datacode” is used to define that the payload consists of one or instances of the same data type. eg

datacode = h

and

datacodes = h, h, h, h 

would both work for a payload consisting of 4 16bit signed ints.

However, if the payload consisted of 3 or 5 16bit signed ints only the former would work, not the latter.

Either can be preferable depending on application. Using the former allows you to vary the payload size freely, where as the latter is stricter and therefore safer if the payload was to get altered accidentally, ie if one value was missing the payload would be discarded rather than guess which 3 of the 4 ints are present and potentially contaminating your data.

1 Like