displayState information as text within interactive SVG background

After years of using OH, I just stumbled across this quite impressive feature.

Within my brand new network diagram (on OH 5.2), i want to compile condensed areas with throughput numbers.

There are two observation i wonder about:

  • displayState

    • i marked the displayState for the items to show (avoiding plenty of digits behind the comma)
    • when first displaying the page, most often i get the state displayed rather than the displayState
    • manual updating the page, irrespective whether on Linux/Firefox or Android App, result seems not to be deterministic in terms of state vs displayState
    • when items receive an update and OH pushes the change, it seems i always get the displayState
    • has anybody observed similar or better, expected behavior, root cause might still be on my side?
  • mapping SVG id to OH item

    • this is most probably neglect-able, however I’m wondering on why the SVG id mapping to OH item is a 1:n mapping
    • i.e. the dialog allows to select multiple OH items, where it seems one item simply overwrites the text value of the other one

Anybody using items displayState within interactive SVG background?

The feature is documented a bit below the link refers to:

with the headline “Show State information as Text”.

Stating: Use displayState as Text: Sometimes you want to apply the formatted display state instead of the raw state. This is especially useful when you want to display the state of a temperature item in a more human-readable way.