Comments (6)
What is your version of OH?
When you say "not loading", do you mean there is no message "Loading xxx.tags" in your logs?
Please check the REST API returning all tags to confirm they are not loaded. You can use Main UI for that.
from openhab-core.
I’m using OH 4.2.0M2
there is no log message, the tags are not loaded. In the main UI, lots of items are out of their groups because the equipment tags are missing, and when I inspect individual items, they do not show the tags.
Thanks
from openhab-core.
I may have seen this too. I was doing something else and noticed one of my locations didn't show up in the Model view. I edited the yaml file and it immediately loaded but never managed to circle back.
I've rebooted since then and can confirm that there is no log message during startup showing the file is being loaded.
I can confirm that my custom tags are not shown in the response from /rest/tags and Items using custom tags do not appear to be in the model in neither the Model page nor in the Overview page tabs. The tags are on the Items but not shown as semantic tags.
"Den" is one of my custom tags defined in "myTaghs.yaml".
tags:
- uid: Location_Indoor_Room_LivingRoom_Den
label: Den
description: A living room with a TV.
synonyms:
- Game room
- TV room
But the Item tagged appears as follows:
When I add a whitespace to the file and save it:
-
I see it loaded in the logs
2024-04-24 08:01:21.024 [INFO ] [aml.internal.YamlModelRepositoryImpl] - Updating YAML model tags/myTags
-
It's now included in the REST API results:
{
"uid": "Location_Indoor_Room_LivingRoom_Den",
"name": "Den",
"label": "Den",
"description": "A living room with a TV.",
"synonyms": [
"Game room",
"TV room"
],
"editable": false
},
And the Item appears as expected in the model.
I'm also on 4.2 M2
from openhab-core.
There was PR #4024 that changed things in 4.2 after my initial contribution in 4.1. Maybe this PR broke something?
from openhab-core.
@J-N-K : did you change something related to file loading in #4024 ?
from openhab-core.
I can't remember. But I think I found a bug during initail loading
from openhab-core.
Related Issues (20)
- Add delay for jar addons at startup
- Minus operator (-) does not work in rules (openHAB 4.2.0) HOT 1
- Unit °dH could not be parsed to a known unit for Item Number:AmountOfSubstance HOT 4
- Allow configuration of popups HOT 6
- Thread exhaustion - possibly out of memory or process/resource limits reached HOT 2
- AbstractStorageBasedTypeProvider doesn't store unitHint HOT 5
- After upgrade to 4.2 units are not rendered implicitly in sitemaps HOT 12
- Inline group members instead of a subpage HOT 2
- Rules / PersistenceExtensions / "no queryable persistence service registered" / should use default rrd4j HOT 8
- [Enhancement/Support] HTTP feature "Transition feature for backward compatibility"
- Remove parameter `sendFrequency` HOT 6
- OpenAPI schema is not in line with REST API
- Median as group function.
- Caclulate the median of persistent data. HOT 2
- Add system channel for `Radiant Exposure` / `energy per unit area` HOT 1
- QuantityType<Temperature> misbehaviour HOT 4
- Autogenerated? Handle command HOT 7
- Rollershutter slider has incorrect value HOT 9
- PersistenceExtensions ignores item persistence aliases HOT 8
- Add profile support to i18n-maven-plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-core.