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

[smartmeter] Failed to normalize configuration #15344

Open
dominikbenner opened this issue Jul 31, 2023 · 3 comments
Open

[smartmeter] Failed to normalize configuration #15344

dominikbenner opened this issue Jul 31, 2023 · 3 comments
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@dominikbenner
Copy link

Hi there,

this is the issue from community topic:
https://community.openhab.org/t/error-for-configuration-after-upgrade-to-oh4-failed-to-normalize/148138

After upgrading to OH4 there are two error lines at startup in openhab.log

2023-07-31 14:16:33.159 [WARN ] [core.thing.internal.ThingManagerImpl] - Channel types or config descriptions for thing 'smartmeter:meter:ee5ccf85db' are missing in the respective registry for more than 120s. In case it does not happen immediately after an upgrade, it should be fixed in the binding.
2023-07-31 14:16:33.217 [WARN ] [core.thing.internal.ThingManagerImpl] - Failed to normalize configuration for thing 'smartmeter:meter:ee5ccf85db': {thing/channel=Type description smartmeter:129-129_199-130-3 for smartmeter:meter:ee5ccf85db:129-129_199-130-3 not found, although we checked the presence before.}
2023-07-31 14:16:33.450 [WARN ] [core.thing.internal.ThingManagerImpl] - Channel types or config descriptions for thing 'smartmeter:meter:87e2db31cf' are missing in the respective registry for more than 120s. In case it does not happen immediately after an upgrade, it should be fixed in the binding.
2023-07-31 14:16:33.495 [WARN ] [core.thing.internal.ThingManagerImpl] - Failed to normalize configuration for thing 'smartmeter:meter:87e2db31cf': {thing/channel=Type description smartmeter:129-129_199-130-3 for smartmeter:meter:87e2db31cf:129-129_199-130-3 not found, although we checked the presence before.}
2023-07-31 14:16:55.029 [INFO ] [ding.smartmeter.internal.MeterDevice] - Read out following values: Device: smartmeter:meter:ee5ccf85db

I've tried to delete the thing and recreated it. Nothing changes.

Running OH4.0 Release on a Raspberry PI 4

@dominikbenner dominikbenner added the bug An unexpected problem or unintended behavior of an add-on label Jul 31, 2023
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/error-for-configuration-after-upgrade-to-oh4-failed-to-normalize/148138/4

@lolodomo
Copy link
Contributor

This bindings seems to not define static channels / channel types, so I assume they are created dynamically.
The binding is listed in #14954. So you confirm that a change is required, I note it in the issue.

@lolodomo
Copy link
Contributor

@msteigenberger : would you like to implement AbstractStorageBasedTypeProvider for the smartmeter binding ?

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

No branches or pull requests

3 participants