OH3 GPSTracker System Distance Trigger Switch

Hi,

I added the GPSTracker with the GPSLogger app to my system and trying to add a Presence Switch with using the Channel Profiles to the System.

I used the System Distance Channel (Number:Length)

I configured a Number:Length Item and a Switch item:

The Switch Item was configured with the HYsterese Profile:

But i get the following error in the Log:

2021-05-25 08:32:34.601 [WARN ] [e.internal.SseItemStatesEventBuilder] - Exception while formatting value β€˜ON’ of item HandyEricGPSTracker_SystemDistanceSwitch with format β€˜%.2f %unit%’: Conversion = β€˜u’

Is this a Problem with the UoM ?
I tried already with other profiles, but got always the same error…

Anybody have an Idea? Or should i use a Rule for this?

The format comes from the number:length channel, and of course is unsuitable for a Switch type Item.
See -

The workaround is to edit the state description 'pattern' of your Item, after it has been linked (because the linking loads it with garbage).

1 Like