I am running OH 4.3.5 on a raspberry pi 5.
I read the values from the Huawei Inverter based on this Topic.
It used to work fine on OH 3, but now I do get the following errors:
2025-06-29 17:40:39.658 [WARN ] [rest.core.item.EnrichedItemDTOMapper] - Failed transforming the state '512.0' on item 'Device_status' with pattern 'MAP(inverter_device_status.map):%s': Transformation service of type 'MAP' is not available.
2025-07-01 22:25:57.773 [WARN ] [rest.core.item.EnrichedItemDTOMapper] - Failed transforming the state '40960.0' on item 'Device_status' with pattern 'MAP(inverter_device_status.map):%s': Transformation service of type 'MAP' is not available.
This is my Thing:
Bridge modbus:tcp:localhostTCP [ host="192.168.192.71", port=502, id=1 , rtuEncoded=false, timeBetweenTransactionsMillis=10000, connectMaxTries=2, afterConnectionDelayMillis=10000]
{
Bridge poller slave105holding [ start=32064, length=31, refresh=1000, type="holding" ]
{
Thing data Device_status [ readStart="32089", readValueType="uint16", updateUnchangedValuesEveryMillis="5000000" ]
}
}
This is my Item:
Number Device_status "Umrichter Status[MAP(inverter_device_status.map):%s]" <settings> (gSolar) {channel="modbus:data:localhostTCP:slave105holding:Device_status:number"}
This is the mapping (inverter_device_status.map):
NULL=undefined
0=Initializing
1=Detecting ISO
2=Detecting irradiation
3=Grid detecting
256=Starting
512=On grid
513=On grid Power limit
514=On grid self derating
768=Shutdown fault
769=Shutdown command
770=Shutdown OVGR
771=Shutdown communication disconnected
772=Shutdown power limit
773=Shutdown start manually
774=Shutdown DC switch OFF
1025=Grid dispatch cos(Phi)-P curve
1026=Grid dispatch Q-U curve
40960=No irradiation
1280=Spot-check
1281=Spot-checking
1536=Inspecting
1792=AFCI self-check
2048=I V scanning
2304=DC input detection
0.0=Initializing
1.0=Detecting ISO
2.0=Detecting irradiation
3.0=Grid detecting
256.0=Starting
512.0=On grid
513.0=On grid Power limit
514.0=On grid self derating
768.0=Shutdown fault
769.0=Shutdown command
770.0=Shutdown OVGR
771.0=Shutdown communication disconnected
772.0=Shutdown power limit
773.0=Shutdown start manually
774.0=Shutdown DC switch OFF
1025.0=Grid dispatch cos(Phi)-P curve
1026.0=Grid dispatch Q-U curve
40960.0=No irradiation
1280.0=Spot-check
1281.0=Spot-checking
1536.0=Inspecting
1792.0=AFCI self-check
2048.0=I V scanning
2304.0=DC input detection
I do not understand why the Error occurs. Both values (40960.0 and 512.0) are in the mappings file.
Can anybody help me on this?