Unable to forward knx data (number) to squeezebox (string) with profiles

Hello,
using the new profiles feature the first time I’m not able to figure out how to do so. I would like to forward a knx number message to the appropriate squeezebox item.

Items are defined as:

Number   sfBathroomPlayFavorit                   "%d"                                                   (SqueezeCommands)    {channel="knx:device:bridge:all_generic:sfBathroomPlayFavorit" }

and

String PlayerBathroom_PlayFavorite          "%s"    { channel="squeezebox:squeezeboxplayer:playerBathroom:playFavorit", channel="knx:device:bridge:all_generic:sfBathroomPlayFavorit" [profile="follow"] }

openhab log:

2019-11-24 15:02:04.689 [TRACE] [nx.internal.client.AbstractKNXClient] - Received a Group Write telegram from '1.1.2' to '6/0/1' with value '[1]'
2019-11-24 15:02:04.691 [DEBUG] [.internal.handler.DeviceThingHandler] - onGroupWrite Thing 'knx:device:bridge:all_generic' received a GroupValueWrite telegram from '1.1.2' for destination '6/0/1'
2019-11-24 15:02:04.692 [TRACE] [.internal.handler.DeviceThingHandler] - onGroupWrite Thing 'knx:device:bridge:all_generic' processes a GroupValueWrite telegram for destination '6/0/1' for channel 'knx:device:bridge:all_generic:sfBathroomPlayFavorit'
2019-11-24 15:02:04.694 [TRACE] [g.knx.internal.dpt.KNXCoreTypeMapper] - toType datapoint DPT = 5.005

Thanks in advance

Please use code fences, the paper icon in the top, second from last.

Number sfBathroomPlayFavorit “%d” (SqueezeCommands) {channel=“knx:device:bridge:all_generic:sfBathroomPlayFavorit” }

String PlayerBathroom_PlayFavorite “%s” { channel=“squeezebox:squeezeboxplayer:playerBathroom:playFavorit”, channel=“knx:device:bridge:all_generic:sfBathroomPlayFavorit” [profile=“follow”] }
2019-11-24 15:02:04.689 [TRACE] [nx.internal.client.AbstractKNXClient] - Received a Group Write telegram from ‘1.1.2’ to ‘6/0/1’ with value ‘[1]’
2019-11-24 15:02:04.691 [DEBUG] [.internal.handler.DeviceThingHandler] - onGroupWrite Thing ‘knx:device:bridge:all_generic’ received a GroupValueWrite telegram from ‘1.1.2’ for destination ‘6/0/1’
2019-11-24 15:02:04.692 [TRACE] [.internal.handler.DeviceThingHandler] - onGroupWrite Thing ‘knx:device:bridge:all_generic’ processes a GroupValueWrite telegram for destination ‘6/0/1’ for channel ‘knx:device:bridge:all_generic:sfBathroomPlayFavorit’
2019-11-24 15:02:04.694 [TRACE] [g.knx.internal.dpt.KNXCoreTypeMapper] - toType datapoint DPT = 5.005

Maybe add [ ] around %d and %s but not sure b/c I do not use this binding.

Sorry, for the missing code fences!

That at least get me some output at event.log. But 1 seems to be treated as 1.0.

2019-11-24 15:22:09.743 [vent.ItemStateChangedEvent] - sfBathroomPlayFavorit changed from NULL to 1.0

Should it be a 1 or something else?

You are correct, should be 1

Using [%d %%] will probably make it worse but you can give it a try.

Does not work. No output on the event log.

It’s correct that

Number sfBathroomPlayFavorit “%d” (SqueezeCommands) {channel=“knx:device:bridge:all_generic:sfBathroomPlayFavorit” }

item should be a Number and not String?

If using [%d] and having 1.0 cause the item not to function?

On KNX it has a DPT 5.005 (0…255), so it is a number when it arrives at OH.

Yes

Maby I got the direction wrong? I would like to change “PlayerBathroom_PlayFavorite” every time “sfBathroomPlayFavorit” changes.

profiles may be a nice feature, but maybe it’s easier to use a simple rule here.