-
Notifications
You must be signed in to change notification settings - Fork 51
Data is not properly collected #76
Description
Good Afternoon @RichiH ,
When I try to get the data from the records of my Ingecon inverter from the modbus exporter I see that the values obtained are not correct. For example, the first 6 records correspond to the date (year, month, day, hour, minutes, and seconds). In modbus-exporter I am getting the value 2024 for all of them, but if I set a flow to node-red I get the data correctly.
This is the data i get from modbus-exporter:

And this is the configuration at modbus.yml:
modules:
- name: "start"
protocol: 'tcp/ip'
metrics:
- name: "ModBus_Actual_Year"
help: "Actual Date. Year (Uint16)"
address: 30000
dataType: uint16
endianness: big
metricType: gauge
labels:
address: 30000
- name: "ModBus_Actual_Month"
help: "Actual Date. Month (Uint16)"
address: 30001
dataType: uint16
metricType: gauge
endianness: big
labels:
address: 30001
- name: "ModBus_Actual_Day"
help: "Actual Date. Day (Uint16)"
address: 30002
dataType: uint16
metricType: gauge
endianness: big
labels:
address: 30002
....
This is the data i obtanined at node-red:
The configuration at buffer parser is:
I think it would be necessary to add the offset byte option to the metrics settings as you can see in Node-Red's parser buffer so that you can get the data correctly with Node-Exporter.
Hope someone can help me.
Regards.

