openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.88k stars 3.59k forks source link

[smartmeter] Failed to normalize configuration #15344

Open dominikbenner opened 1 year ago

dominikbenner commented 1 year ago

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

openhab-bot commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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