# \#metadata

**URL:** https://community.openhab.org/tag/metadata/2178.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [Accessing item metadata from DSL rules in OH 4.3 (or 5.x if it helps )](https://community.openhab.org/t/accessing-item-metadata-from-dsl-rules-in-oh-4-3-or-5-x-if-it-helps/166639)

<div class="topic-metadata">

**Author:** [@rdslw](https://community.openhab.org/u/rdslw)\
**Replies:** 2\
**Last updated:** [October 5, 2025, 12:10pm UTC](https://community.openhab.org/t/accessing-item-metadata-from-dsl-rules-in-oh-4-3-or-5-x-if-it-helps/166639 "2025-10-05T12:10:54Z")

</div>

I need to access item metadata from DSL rules val SwitchItem myitem = ScriptServiceUtil.getItemRegistry.getItem( myitemname ) myitem.getMetadata("mymetaname").value // this does not work is my only option rest…

---

## [State Description Language](https://community.openhab.org/t/state-description-language/152847)

<div class="topic-metadata">

**Author:** [@Oekel](https://community.openhab.org/u/Oekel)\
**Replies:** 13\
**Last updated:** [August 28, 2025, 1:08pm UTC](https://community.openhab.org/t/state-description-language/152847 "2025-08-28T13:08:05Z")

</div>

Hi, having following pattern: %1$td.%1$tB Regional Settings are all on de-DE. How can I transform the “B” (Month) to a german state. Want to use it directly in my TTS without translation. Greatings von Bremen …

---

## [Metadata field from item not showing up in InfluxDB2](https://community.openhab.org/t/metadata-field-from-item-not-showing-up-in-influxdb2/159781)

<div class="topic-metadata">

**Author:** [@s10](https://community.openhab.org/u/s10)\
**Replies:** 12\
**Last updated:** [November 1, 2024, 8:34pm UTC](https://community.openhab.org/t/metadata-field-from-item-not-showing-up-in-influxdb2/159781 "2024-11-01T20:34:02Z")

</div>

Hi everyone, im new here. Im trying to create a simple extra field in one of my items by adding it as “metadata” via the UI entering it as a “namespace”, is this the correct way of doing it? The Item itself (being a…

---

## [Metadata documentation](https://community.openhab.org/t/metadata-documentation/157473)

<div class="topic-metadata">

**Author:** [@ErikDB](https://community.openhab.org/u/ErikDB)\
**Replies:** 3\
**Last updated:** [July 29, 2024, 1:17pm UTC](https://community.openhab.org/t/metadata-documentation/157473 "2024-07-29T13:17:58Z")

</div>

Is there documentation about the different kinds of metadata? I don’t know much (if not practically nothing) about it, but can’t seem to find any documentation around it. I e.g. just learned there’s a feature to have a …

---

## [Display state no longer working?](https://community.openhab.org/t/display-state-no-longer-working/156780)

<div class="topic-metadata">

**Author:** [@bastiaan\_van\_h](https://community.openhab.org/u/bastiaan_van_h)\
**Replies:** 1\
**Last updated:** [June 18, 2024, 2:01pm UTC](https://community.openhab.org/t/display-state-no-longer-working/156780 "2024-06-18T14:01:02Z")

</div>

Hi, I’m on 4.1.3 Release build and I’m flabbergasted about getting a state transformed. I’m using the MQTT binding and receiving a large float which represents a temperature value in degrees. It has a lot of decimals, …

---

## [Need some guidance, custom metadata and using with expressions in widgets](https://community.openhab.org/t/need-some-guidance-custom-metadata-and-using-with-expressions-in-widgets/155376)

<div class="topic-metadata">

**Author:** [@Craigers](https://community.openhab.org/u/Craigers)\
**Replies:** 3\
**Last updated:** [April 14, 2024, 8:36pm UTC](https://community.openhab.org/t/need-some-guidance-custom-metadata-and-using-with-expressions-in-widgets/155376 "2024-04-14T20:36:56Z")

</div>

Good afternoon. I am working on a widget that will display the state of items that will be in a group (a Notifier widget) The widget will be an oh-list and use a repeater to parse the states of items in a group. Here …

---

## [Changing items metadata very frequently](https://community.openhab.org/t/changing-items-metadata-very-frequently/155172)

<div class="topic-metadata">

**Author:** [@Oekel](https://community.openhab.org/u/Oekel)\
**Replies:** 27\
**Last updated:** [April 10, 2024, 10:19am UTC](https://community.openhab.org/t/changing-items-metadata-very-frequently/155172 "2024-04-10T10:19:30Z")

</div>

I am just thinking about replacing all of my extra items (just holding the timestamp of opening a door/window) with some metadata direkt at the contact-item. I know that I may solve such problems with another persistanc…

---

## [Express duration in seconds into human readable format](https://community.openhab.org/t/express-duration-in-seconds-into-human-readable-format/146365)

<div class="topic-metadata">

**Author:** [@shutterfreak](https://community.openhab.org/u/shutterfreak)\
**Replies:** 19\
**Last updated:** [March 18, 2024, 9:31pm UTC](https://community.openhab.org/t/express-duration-in-seconds-into-human-readable-format/146365 "2024-03-18T21:31:02Z")

</div>

Is there a way to configure the display state of an Item containing a duration in seconds into a human-readable duration? The tem is defined as a Number:Duration and its value is expressed in seconds. Ideally I’d like …

---

## [Changing pattern of stepper card](https://community.openhab.org/t/changing-pattern-of-stepper-card/115064)

<div class="topic-metadata">

**Author:** [@Integer](https://community.openhab.org/u/Integer)\
**Replies:** 11\
**Last updated:** [March 4, 2024, 3:00pm UTC](https://community.openhab.org/t/changing-pattern-of-stepper-card/115064 "2024-03-04T15:00:19Z")

</div>

I’m currently migrate to OH3. First of all, I’m really excited, it’s a huge step forward! Now I have a question regarding the stepper-card. I have a number item that stores the time in minutes when the irrigation shoul…

---

## [Dimensionless State Description Pattern %unit% vs rpm, ppm, %, etc](https://community.openhab.org/t/dimensionless-state-description-pattern-unit-vs-rpm-ppm-etc/148723)

<div class="topic-metadata">

**Author:** [@matchews](https://community.openhab.org/u/matchews)\
**Replies:** 6\
**Last updated:** [August 16, 2023, 1:15pm UTC](https://community.openhab.org/t/dimensionless-state-description-pattern-unit-vs-rpm-ppm-etc/148723 "2023-08-16T13:15:32Z")

</div>

With the new unit metadata, its seems that the best practice is to define the state description pattern within the thing.xml using the %unit% to inform the core of the actual units (once the unit metadata is set). Is th…

---

## [How to add meta data while creating an item via REST API](https://community.openhab.org/t/how-to-add-meta-data-while-creating-an-item-via-rest-api/146808)

<div class="topic-metadata">

**Author:** [@Junsong](https://community.openhab.org/u/Junsong)\
**Replies:** 3\
**Last updated:** [June 1, 2023, 12:26pm UTC](https://community.openhab.org/t/how-to-add-meta-data-while-creating-an-item-via-rest-api/146808 "2023-06-01T12:26:52Z")

</div>

Platform information: OS: Ubuntu 22.04 LTS openHAB version: openHAB 3.4.4 Hallo everyone, I try to create a series of items via RESTapi. However, I found that the metadata will not be accepted. For example I try …

---

## [Short (multi) & hold press to turn on/off/dim items (JSScripting)](https://community.openhab.org/t/short-multi-hold-press-to-turn-on-off-dim-items-jsscripting/146822)

<div class="topic-metadata">

**Author:** [@LazyGatto](https://community.openhab.org/u/LazyGatto)\
**Replies:** 3\
**Last updated:** [May 24, 2023, 1:14pm UTC](https://community.openhab.org/t/short-multi-hold-press-to-turn-on-off-dim-items-jsscripting/146822 "2023-05-24T13:14:28Z")

</div>

Attention! This script was converted into the Rule Template. You can now add this from OpenHAB Marketplace. Template on Marketplace: Switch and Dimmers Rule. Or you can add this manually. So, read further. I tried to…

---

## [Get metadata from item (File), JSSCRIPTING](https://community.openhab.org/t/get-metadata-from-item-file-jsscripting/145055)

<div class="topic-metadata">

**Author:** [@miwok](https://community.openhab.org/u/miwok)\
**Replies:** 9\
**Last updated:** [March 9, 2023, 3:15pm UTC](https://community.openhab.org/t/get-metadata-from-item-file-jsscripting/145055 "2023-03-09T15:15:42Z")

</div>

unfortunately i have not found a solution for the following problem, i have tried several things, but unfortunately i can’t get a result. i want to read the value for alarmIntervallMin (=60) from the metadata of an i…

---

## [Obenhab3 testing metadata exist](https://community.openhab.org/t/obenhab3-testing-metadata-exist/144867)

<div class="topic-metadata">

**Author:** [@chmre](https://community.openhab.org/u/chmre)\
**Replies:** 5\
**Last updated:** [March 1, 2023, 3:53pm UTC](https://community.openhab.org/t/obenhab3-testing-metadata-exist/144867 "2023-03-01T15:53:11Z")

</div>

I’ would have a simple question on using metadata. How to test a metadata exists? How to test the metadata has a configuration item? I’ have tried the usual approach; Testing metadata exist: labelText: '=(loop.item.…

---

## [Port not opening for Apple Homekit on Linux](https://community.openhab.org/t/port-not-opening-for-apple-homekit-on-linux/143030)

<div class="topic-metadata">

**Author:** [@sebastiencastermans](https://community.openhab.org/u/sebastiencastermans)\
**Replies:** 2\
**Last updated:** [January 21, 2023, 10:45am UTC](https://community.openhab.org/t/port-not-opening-for-apple-homekit-on-linux/143030 "2023-01-21T10:45:34Z")

</div>

Hi all, I have a problem while configuring Homekit on openhab which itself is on linux… I followed the tutorial as presented here and doing an analysis of open ports, port 9123 is not! After a lot of searching, I couldn…

---

## [Custom metadata in items](https://community.openhab.org/t/custom-metadata-in-items/142833)

<div class="topic-metadata">

**Author:** [@Jacek\_Kaczmarczyk](https://community.openhab.org/u/Jacek_Kaczmarczyk)\
**Replies:** 21\
**Last updated:** [January 3, 2023, 11:20pm UTC](https://community.openhab.org/t/custom-metadata-in-items/142833 "2023-01-03T23:20:28Z")

</div>

Hi, i saw Design Pattern: Using Item Metadata as an Alternative to Several DPs - #13 by TI89 but it’s to complicated for me right now. I am trying to put a custom metada data to an item using web gui: 1/ Currently on t…

---

## [Adding item with metadata config in JSScripting](https://community.openhab.org/t/adding-item-with-metadata-config-in-jsscripting/142826)

<div class="topic-metadata">

**Author:** [@MartOs](https://community.openhab.org/u/MartOs)\
**Replies:** 11\
**Last updated:** [January 3, 2023, 9:29am UTC](https://community.openhab.org/t/adding-item-with-metadata-config-in-jsscripting/142826 "2023-01-03T09:29:05Z")

</div>

Does anyone know how to add metadata to items using JSScripting .updateMetadataValue to add a pattern and options? I’ve been trying variations of this: items.getItem(newName).updateMetadataValue('stateDescription, {con…

---

## [Full item information of parent item in widget](https://community.openhab.org/t/full-item-information-of-parent-item-in-widget/141631)

<div class="topic-metadata">

**Author:** [@Schrott.Micha](https://community.openhab.org/u/Schrott.Micha)\
**Replies:** 3\
**Last updated:** [December 3, 2022, 10:22am UTC](https://community.openhab.org/t/full-item-information-of-parent-item-in-widget/141631 "2022-12-03T10:22:07Z")

</div>

Hi all, I want to limit the nimber of items that appear in my widget by filtering the tags of the “isPartOf”-parent item. The problem I have is below in line visible: = items\[0..... - component: oh-repeater config:…

---

## [Is the 'ga=' metadata format supported in OH 2.4?](https://community.openhab.org/t/is-the-ga-metadata-format-supported-in-oh-2-4/128051)

<div class="topic-metadata">

**Author:** [@labomb](https://community.openhab.org/u/labomb)\
**Replies:** 4\
**Last updated:** [October 28, 2021, 11:15pm UTC](https://community.openhab.org/t/is-the-ga-metadata-format-supported-in-oh-2-4/128051 "2021-10-28T23:15:10Z")

</div>

While I intend to deploy a new OH 3.1 setup from scratch at some point in the near future, I was curious if I could convert the items in an existing OH 2.4 implementation (still using the tag format) to the new metadata …

---

## [Can't get Fan to show up in Google Assistant - OH3 Metadata](https://community.openhab.org/t/cant-get-fan-to-show-up-in-google-assistant-oh3-metadata/118033)

<div class="topic-metadata">

**Author:** [@Hawk37](https://community.openhab.org/u/Hawk37)\
**Replies:** 9\
**Last updated:** [September 29, 2021, 9:39pm UTC](https://community.openhab.org/t/cant-get-fan-to-show-up-in-google-assistant-oh3-metadata/118033 "2021-09-29T21:39:27Z")

</div>

I’ve got multiple switches showing up no problem in Google Assistant, but can’t seem to get a fan to show up. Here’s my current Metadata: value: Fan config: ordered: true roomHint: Family Room name: Family Fan s…

---

## [Setting an Item Sitemap Label using a Meta Property?](https://community.openhab.org/t/setting-an-item-sitemap-label-using-a-meta-property/126855)

<div class="topic-metadata">

**Author:** [@max-e-moose](https://community.openhab.org/u/max-e-moose)\
**Replies:** 3\
**Last updated:** [September 27, 2021, 5:02pm UTC](https://community.openhab.org/t/setting-an-item-sitemap-label-using-a-meta-property/126855 "2021-09-27T17:02:17Z")

</div>

Items can have custom labels on sitemaps by using the label property. This works well, no issues whatsoever. Using the GUI in OH3, is it currently possible to add a meta property to an item that is just a custom label f…

---

## [RuleDSL: How to use thing metadata in rules?](https://community.openhab.org/t/ruledsl-how-to-use-thing-metadata-in-rules/125546)

<div class="topic-metadata">

**Author:** [@darkspirit510](https://community.openhab.org/u/darkspirit510)\
**Replies:** 1\
**Last updated:** [August 16, 2021, 5:42pm UTC](https://community.openhab.org/t/ruledsl-how-to-use-thing-metadata-in-rules/125546 "2021-08-16T17:42:55Z")

</div>

Hi all, TLDR: is there any way to read thing metadata and use it in a rule (with good old rule dsl)? Bridge hue:bridge:someid "Hue Bridge" @ "Some Room" \[ ipAddress="IPADD", userName="USERTOKEN" \] { ... } rule…

---

## [Hue light metadata](https://community.openhab.org/t/hue-light-metadata/124417)

<div class="topic-metadata">

**Author:** [@Ltty](https://community.openhab.org/u/Ltty)\
**Replies:** 0\
**Last updated:** [July 9, 2021, 6:04pm UTC](https://community.openhab.org/t/hue-light-metadata/124417 "2021-07-09T18:04:44Z")

</div>

Hi all, While setting up metadata information for my items to work with Google Assistent, I noticed that Philips Hue items automatically appear in GA as soon as you connect the Openhab Service to it. Now, all items are …

---

## [Single quotes are not processed in processing in metadata (oh-list-item)](https://community.openhab.org/t/single-quotes-are-not-processed-in-processing-in-metadata-oh-list-item/123673)

<div class="topic-metadata">

**Author:** [@ik01](https://community.openhab.org/u/ik01)\
**Replies:** 2\
**Last updated:** [June 17, 2021, 10:31am UTC](https://community.openhab.org/t/single-quotes-are-not-processed-in-processing-in-metadata-oh-list-item/123673 "2021-06-17T10:31:23Z")

</div>

Platform information: Hardware: AMD Ryzen 3 2200GE (ThinkCentre M715q)/4Gb RAM/NVMe 1Tb OS: Ubuntu 20.04.2 LTS (Focal Fossa) openHAB version: OH 3.1.0M4 ( docker version ) Issue of the topic: Single quotes are not pr…

---

## [Bulk editing metadata of Items](https://community.openhab.org/t/bulk-editing-metadata-of-items/123215)

<div class="topic-metadata">

**Author:** [@shutterfreak](https://community.openhab.org/u/shutterfreak)\
**Replies:** 8\
**Last updated:** [June 6, 2021, 12:27pm UTC](https://community.openhab.org/t/bulk-editing-metadata-of-items/123215 "2021-06-06T12:27:27Z")

</div>

I’m running openHAB3 on Raspbian Buster. I am gradually moving away from file-based Item and Group definitions as you can’t perform some editing actions on such Items and Groups in mainUI. I have a very tedious job inv…

---

## [Translation within State Description Metadata](https://community.openhab.org/t/translation-within-state-description-metadata/121719)

<div class="topic-metadata">

**Author:** [@jptaszyk](https://community.openhab.org/u/jptaszyk)\
**Replies:** 2\
**Last updated:** [May 1, 2021, 10:41pm UTC](https://community.openhab.org/t/translation-within-state-description-metadata/121719 "2021-05-01T22:41:23Z")

</div>

Hey, I do have a set of Date items which are set from a rule. They have Following State Description pattern: %1$tA %1$td.%1$tm.%1$tY I would like to also translate %1$tA , which is the day part from english to german…

---

## [Homekit Dimmermode](https://community.openhab.org/t/homekit-dimmermode/117488)

<div class="topic-metadata">

**Author:** [@der\_tobi](https://community.openhab.org/u/der_tobi)\
**Replies:** 1\
**Last updated:** [February 21, 2021, 7:18am UTC](https://community.openhab.org/t/homekit-dimmermode/117488 "2021-02-21T07:18:30Z")

</div>

Hi all! I’m trying to integrate my ledstrip with homekit and OH3. everything works fine with the exception that when i try to adjust the brightness it wobbles uncontrolled since homekit sends too many commands. I know i…

---

## [OH3 How to edit metadata?](https://community.openhab.org/t/oh3-how-to-edit-metadata/116158)

<div class="topic-metadata">

**Author:** [@miwok](https://community.openhab.org/u/miwok)\
**Replies:** 6\
**Last updated:** [February 3, 2021, 8:53am UTC](https://community.openhab.org/t/oh3-how-to-edit-metadata/116158 "2021-02-03T08:53:41Z")

</div>

Hello, i have imported my items files from OH2.5 into OH3 as a test. For example the OH2.5 item: Number:Dimensionless LaCrosseSensor2\_Luftfeuchtigkeit "2bla bla bla \[%.1f\]" {channel="remoteopenhab:server:192\_168\_137…

---

## [Metadata unreadable through MetadataRegistry following restart](https://community.openhab.org/t/metadata-unreadable-through-metadataregistry-following-restart/109257)

<div class="topic-metadata">

**Author:** [@Timothy\_Ingle](https://community.openhab.org/u/Timothy_Ingle)\
**Replies:** 7\
**Last updated:** [December 1, 2020, 5:33pm UTC](https://community.openhab.org/t/metadata-unreadable-through-metadataregistry-following-restart/109257 "2020-12-01T17:33:14Z")

</div>

Today, following a rare memory issue (several OutOfMemoryErrors in the log), I did the typical stop/clean-cache/start/restart cycle to recover. I bet it has been over a year since I had a memory issue, so quite rare. Tha…

---

## [Exposing "xiaomi aqara temperature humidity sensor" to google assistant](https://community.openhab.org/t/exposing-xiaomi-aqara-temperature-humidity-sensor-to-google-assistant/104969)

<div class="topic-metadata">

**Author:** [@micware](https://community.openhab.org/u/micware)\
**Replies:** 10\
**Last updated:** [November 30, 2020, 10:33pm UTC](https://community.openhab.org/t/exposing-xiaomi-aqara-temperature-humidity-sensor-to-google-assistant/104969 "2020-11-30T22:33:59Z")

</div>

I have 7 “xiaomi aqara temperature humidity sensor” which I want to expose to google assistant i.e. I have the following items Number E1\_temperature\_kitchen “Temperature kitchen” {channel=“mihome:sensor\_weather\_v1:158…

[Next page](https://community.openhab.org/tag/metadata/2178.md?match_all_tags=true&page=1&tags%5B%5D=metadata)
