/etc/openhab/UI

I created a subdir /etc/openhab/UI and stored some files of mine with a .yaml extension there .

Now on OH start I by chance saw they seem to get loaded? interpreted somehow ?

Could someone please point me to some docs on what’s happening here ?
Thanks.

2024-10-04 12:34:59.974 [DEBUG] [af.shell.commands.impl.info.InfoBundleTrackerCustomizer] - Ignore incorrect info null provided by bundle org.openhab.core.model.yaml
2024-10-04 12:35:00.318 [INFO ] [penhab.core.model.yaml.internal.YamlModelRepositoryImpl] - Adding YAML model UI/heizungSetup
2024-10-04 12:35:00.455 [WARN ] [penhab.core.model.yaml.internal.YamlModelRepositoryImpl] - Version is missing or not a number in model UI/heizungSetup. Ignoring it.
2024-10-04 12:35:00.456 [INFO ] [penhab.core.model.yaml.internal.YamlModelRepositoryImpl] - Adding YAML model UI/BatterieChart
2024-10-04 12:35:00.465 [WARN ] [penhab.core.model.yaml.internal.YamlModelRepositoryImpl] - Version is missing or not a number in model UI/BatterieChart. Ignoring it.

I think this is related to semantic model extensions that are .yaml files. This maybe a bug because they are supposed to be located/searched in /etc/openhab/tags

Related:

All .yaml files in the /etc/openhab directory are considered to be openHAB configuration files in YAML format. You could try changing the extension to .yml.

1 Like

Thanks.
Could you also explain what’s the effect of putting a yaml there… does it create a UI page ?
Can I textually create UI pages that way ?

No, the only currently implemented feature is to define custom semantic tags.
Maybe one day there will be more.

1 Like