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] Fix incorrectly reported decibel values for DSL Noise Margin and Attenuation #11337

Merged
merged 2 commits into from
Oct 16, 2021

Conversation

sgiehl
Copy link
Contributor

@sgiehl sgiehl commented Oct 2, 2021

As reported in #10783, the decibel values reported for the DSL Noise Margin and DSL Attenuation channels are currently reported with a 10 times too high value.

I tried simply using dadB (deca-decibel) as unit in the channels.xml, but that doesn't work an results in an Exception like java.lang.IllegalArgumentException: Invalid Quantity value: 150 dadB

So guess using a post processor might be the most easiest solution to "fix" those values.

fixes #10783

…and Attenuation

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
@sgiehl sgiehl requested a review from a team as a code owner October 2, 2021 22:13
@Skinah Skinah added the bug An unexpected problem or unintended behavior of an add-on label Oct 3, 2021
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
@lolodomo lolodomo added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Oct 13, 2021
@lolodomo
Copy link
Contributor

Build failed due to timeout.

@lolodomo lolodomo added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Oct 14, 2021
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lolodomo lolodomo merged commit 19cd505 into openhab:main Oct 16, 2021
@lolodomo lolodomo added this to the 3.2 milestone Oct 16, 2021
@sgiehl sgiehl deleted the tr064_decibel_fix branch October 16, 2021 16:27
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this pull request Oct 26, 2021
…and Attenuation (openhab#11337)

* [tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>

* apply review feedback

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
dschoepel pushed a commit to dschoepel/openhab-addons that referenced this pull request Nov 9, 2021
…and Attenuation (openhab#11337)

* [tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>

* apply review feedback

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
Signed-off-by: Dave J Schoepel <dave@theschoepels.com>
@wborn wborn changed the title [tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation [tr064] Fix incorrectly reported decibel values for DSL Noise Margin and Attenuation Dec 18, 2021
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Dec 30, 2021
…and Attenuation (openhab#11337)

* [tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>

* apply review feedback

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jan 28, 2022
…and Attenuation (openhab#11337)

* [tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>

* apply review feedback

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
…and Attenuation (openhab#11337)

* [tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>

* apply review feedback

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
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
Development

Successfully merging this pull request may close these issues.

[TR064-binding] wrong dB-Values
3 participants