Modbus Serial behavior


I have already configured my Energy Meters with modbus binding.
OpenHab 3.3.0 (Openhabian RPi4)

I have configured 2 Meters, one from them I need two data pollers. Here I have following behaivor …

  • if both data pollers are read
  • a reading value in the secound data pollers set to one and after them it was set to the reading value

It is something special with 2 data pollers on one modbus id?


Don’t understand you here.

You’d better show us what you have done with your Things, use code tab

  • on modbus data is during readen first 1 (0.01 with transform) and then the real value from data poller

Data Poller 1:
UID: modbus:poller:bab49d16bc:e6a7e69e3d
label: ABB DataPoller 20480 (5000)
thingTypeUID: modbus:poller
length: 40
start: 20480
refresh: 100000
maxTries: 3
cacheMillis: 50
type: holding
bridgeUID: modbus:serial:bab49d16bc

Data Poller 2:
UID: modbus:poller:bab49d16bc:8d66643789
label: ABB DataPoller 23296 (5B00)
thingTypeUID: modbus:poller
length: 64
start: 23296
refresh: 5000
maxTries: 3
cacheMillis: 50
type: holding
bridgeUID: modbus:serial:bab49d16bc

Modbus data on data poller 2:
UID: modbus:data:e6a7e69e3d:a4529e048d
label: ABB Gesamt Active Power Total
thingTypeUID: modbus:data
readValueType: int32
readTransform: JS(divide100.js)
writeTransform: default
readStart: “23316”
updateUnchangedValuesEveryMillis: 1000
writeMultipleEvenWithSingleRegisterOrCoil: false
writeMaxTries: 3
bridgeUID: modbus:poller:bab49d16bc:8d66643789

I don’t see any particular issue.

If you haven’t restarted the binding (or openHAB) since the last time you edited your Things, try that. You may have ghostly leftover config from before.

Yes I have restarted openHAB, but I tried it again.

For your information, when I disable the data poller “ABB DataPoller 20480 (5000)” everything works fine.
The behavior only occurs when both Data Poller were reading together. When I set the refresh from both Data Pollers to the same value, the behavior occurs on every read.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.