Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TR064-binding] wrong dB-Values #10783

Closed
LukaNoah opened this issue May 31, 2021 · 3 comments · Fixed by #11337
Closed

[TR064-binding] wrong dB-Values #10783

LukaNoah opened this issue May 31, 2021 · 3 comments · Fixed by #11337
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@LukaNoah
Copy link

Hello,
In the TR064 binding, the dB values are incorrectly output with a factor of 10. 50 dB is displayed here, although it is only 5 dB.
TR064

@LukaNoah LukaNoah added the bug An unexpected problem or unintended behavior of an add-on label May 31, 2021
@Rossko57
Copy link
Contributor

Rossko57 commented Jun 1, 2021

Use API Explorer to confirm actual Item state, to eliminate presentation issues.

I note your locale includes the comma decimal separator, which might have something to do with it.

@J-N-K
Copy link
Member

J-N-K commented Jun 1, 2021

Most likely this is indeed a bug. Looking at the v1 version of the binding, the example item-file shows a unit "dB*10" while the current code uses "dB". I'm not sure if it is possible do define something like "deka-dB".

@LukaNoah
Copy link
Author

LukaNoah commented Jun 1, 2021

Hi,
here more infos.
Yes, my locale includes the comma decimal separator.
My fritz!box DSL-info:
2021-06-01 20_16_21-Window

API-Explorer:
2021-06-01 20_24_02-Window

I've seen that all db values are too large by a factor of 10. That would make sense with the deka-dB, I imagine that it was the same under openhab2. But deka-dB isn't really a compliant unit.
It would be great if the correct dB value was displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
3 participants