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

[mqtt] logs on start «No config description found for URI 'thing-type:mqtt:string_channel'» #13772

Closed
dilyanpalauzov opened this issue Nov 24, 2022 · 6 comments
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@dilyanpalauzov
Copy link
Contributor

I have an MQTT-Broker thing defined in Main UI, and MQTT-Things defined both in Main UI and in .things files. When openHAB 3.3 boots it prints:

2022-11-24 10:51:04.859 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'system_started.rules'
2022-11-24 10:51:15.104 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.
2022-11-24 10:51:15.559 [INFO ] [org.openhab.ui.internal.UIService   ] - Started UI on port 8080
2022-11-24 10:51:20.603 [INFO ] [rulesupport.loader.ScriptFileWatcher] - Loading script '/etc/openhab/automation/js/pompi.js'           2022-11-24 10:51:24.888 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to '127.0.0.1' with clientid openhab_client               
2022-11-24 10:51:28.001 [WARN ] [ation.ConfigDescriptionValidatorImpl] - No config description found for URI 'thing-type:mqtt:string_channel'
2022-11-24 10:51:28.006 [WARN ] [ation.ConfigDescriptionValidatorImpl] - Skipping config description validation because no config description found for URI 'thing-type:mqtt:string_channel'
2022-11-24 10:51:28.076 [WARN ] [ation.ConfigDescriptionValidatorImpl] - No config description found for URI 'thing-type:mqtt:dimmer_channel'
2022-11-24 10:51:28.080 [WARN ] [ation.ConfigDescriptionValidatorImpl] - Skipping config description validation because no config description found for URI 'thing-type:mqtt:dimmer_channel'
2022-11-24 10:51:28.092 [WARN ] [ation.ConfigDescriptionValidatorImpl] - No config description found for URI 'thing-type:mqtt:string_channel' 
2022-11-24 10:51:28.080 [WARN ] [ation.ConfigDescriptionValidatorImpl] - Skipping config description validation because no config description found for URI 'thing-type:mqtt:dimmer_channel' 
2022-11-24 10:51:28.092 [WARN ] [ation.ConfigDescriptionValidatorImpl] - No config description found for URI 'thing-type:mqtt:string_channel' 
2022-11-24 10:51:28.096 [WARN ] [ation.ConfigDescriptionValidatorImpl] - Skipping config description validation because no config description found for URI 'thing-type:mqtt:string_channel'
2022-11-24 10:51:28.110 [WARN ] [ation.ConfigDescriptionValidatorImpl] - No config description found for URI 'thing-type:mqtt:string_channel'
2022-11-24 10:51:28.114 [WARN ] [ation.ConfigDescriptionValidatorImpl] - Skipping config description validation because no config description found for URI 'thing-type:mqtt:string_channel'
2022-11-24 10:51:28.146 [WARN ] [ation.ConfigDescriptionValidatorImpl] - No config description found for URI 'thing-type:mqtt:dimmer_channel'
2022-11-24 10:51:28.150 [WARN ] [ation.ConfigDescriptionValidatorImpl] - Skipping config description validation because no config description found for URI 'thing-type:mqtt:dimmer_channel'

I have no thing or item called literally thing-type:mqtt:dimmer_channel.

What shall I do to avoid the above warnings to appear in the log, apart from disabling logging completely?

@dilyanpalauzov dilyanpalauzov added the bug An unexpected problem or unintended behavior of an add-on label Nov 24, 2022
@VanDeStouwe
Copy link

VanDeStouwe commented Dec 12, 2022

I have exactly the same issue but also the string_channel is missing:
2022-12-12 12:38:03.913 [WARN ] [ation.ConfigDescriptionValidatorImpl] - No config description found for URI 'thing-type:mqtt:string_channel' 2022-12-12 12:38:03.915 [WARN ] [ation.ConfigDescriptionValidatorImpl] - Skipping config description validation because no config description found for URI 'thing-type:mqtt:string_channel'

@martingrassl
Copy link
Contributor

I get this issue since update to 3.4

@crazyelectron-io
Copy link

+1, but not for all MQTT Things (although they follow the exact same format).

@J-N-K
Copy link
Member

J-N-K commented Feb 26, 2023

Correct solution: make sure that the config description is in the registry. The binding should take care of that.

@crazyelectron-io
Copy link

crazyelectron-io commented Feb 26, 2023

Thanks for your quick reply @J-N-K but I'm not sure I understand what you mean. Which registry are you referring to? Metadata?

@J-N-K
Copy link
Member

J-N-K commented Feb 26, 2023

Fixed in 4.0 with openhab/openhab-core#3330. The issue is that the ThingManager tried to initialize the thing before the binding is fully loaded. This will no longer happen in OH4.

@J-N-K J-N-K closed this as completed Feb 26, 2023
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

5 participants