Update: Even better would be to add a provile transformation. This is done at the section where you link you items to channels. So you go to the thing, select the channel you want to link (or which is already linked) and configure the transformation there
That should not be necessary. Just changing the state description should be enough. That‘s Why we introduced UoM.
The question is why the numbers differ. Could be a conversion problem from B to GB (should be GB and not Gio. In fact that is a bug. GB was not available when I developed that binding under 2.5.x and because of that I used Gio. Should have been changed to GB prior to the release but was forgotten).
With metadata state descriptor it transform the value but only on the item not in openhab gui there is now shown this. but the value in sitemap looks good now.
Yes, i’ve added “%.2f GB” to the item’s state description. As Jan mentioned my approach should not be necessary for the binding, but for the binding i’m using in this context it is.
So i’ll hand over to Jan in order to avoid any more confusion
I guess it’s a problem with the FB. You can see the raw value received from the FB (in my case a 6591) and the conversion (/(102410241024)) is calculated and ok. So the FB reports somethinf that is not shown in the UI and the value in the UI seems to be unavailable in the TR-064 data.
The value from online counter have nothing to do with these values.
But as said the values overall can’t be right if i streamed in 4k 2hours yesterday evening. That a little bit more than 2,46GB.
I have a 6591 too and hope for the latest firmware to come soon.