KNX - Translator couldn't parse data for datapoint type

Hello!
this message pops up in my openhab.log and i have no idea what it is…

2017-05-06 20:02:40.240 [INFO ] [g.knx.internal.dpt.KNXCoreTypeMapper] - Translator couldn't parse data for datapoint type '9.001' (KNXIllegalArgumentException).

in my items there’s nothing with 9.001… using knx binding 1.9 …

what can i do to remove this error message?

Try to include in your KNX item definition the following:

Number KNX_Item_Name "Scale [%.1f %%]" (gScale) {knx="<5.001:2/2/0"}

Most likely, you are not using DPT (datapoint types) now and the translator is making a mistake :stuck_out_tongue:

DPT IDs info:
5.001 = DPT_Scaling = Range [0…100], Unit %
9.001 = DPT_Value_Temp = Range [-273…670], Unit °C

hmm. how do i know for which items i need to include this?
all temp. items? or is there a way to find them via busmonitor?

Try with your temperature items first.
Use 8.001 and/or 7.001. I don’t think that the 5.001 will work in this case since you have temperature readings (not percentages)
See more info here: https://github.com/openhab/openhab1-addons/issues/2284

You could try to put the KNX binding in DEBUG (or even TRACE) to see which item is causing this

From Karaf console:

log:set DEBUG org.openhab.binding.knx
log:set DEBUG tuwien.auto.calimero

alright, i enabled DEBUG, let’s see what comes up :slight_smile:
this looks alright?

2017-05-07 19:18:53.724 [DEBUG] [.binding.knx.internal.bus.KNXBinding] - Wrote value '19.0' to datapoint 'command DP 0/4/3 ActualTemperature_Aussen, DPT main 0 id 9.001, low priority'

(no info like the one in my opening post pops up)

1 Like

Yeah, this look normal.
Monitor the logs for some time to see if that info message comes up.
Anyway: Since it is only “INFO” type, I wouldn’t worry too much (it’s not an error)

aha!

2017-05-08 17:14:59.188 [INFO ] [g.knx.internal.dpt.KNXCoreTypeMapper] - Translator couldn't parse data for datapoint type '9.001' (KNXIllegalArgumentException).
2017-05-08 17:14:59.191 [DEBUG] [.binding.knx.internal.bus.KNXBinding] - Ignoring KNX bus data: couldn't transform to an openHAB type (not supported). Destination='0/4/4', datapoint='command DP 0/4/4 Niederschlag, DPT main 0 id 9.001, low priority', data='0x01'

this is my item:

Number Niederschlag "Niederschlag [%.1f mm]" (Wetterstation) {knx="0/4/4"}

and it even makes sense. my station can only tell me if it rains or not - not the precipitation amount…
sorry for your troubles (in the end it was a simple error…)

1 Like