Constants for multiple rule-files

Yup - An example, whilst for Expire MetaData, can be found hidden in this gem: https://community.openhab.org/t/expire-updater-4-0-0-0-4-9-9-9/144640

Whilst I started going down this route (updating MetaData from scripts etc), I quickly realised I was trying to solve a problem I didn’t yet have !!

For my requirements, I now think in a analogous fashion to an Alarm system configuration, which has a user-mode, and installer mode in the control panel:

  • The type of settings which would only be available/configurable in ‘Installer Mode’ in an alarm (e.g. Entry Delay, Exit Delay, Zone Setting Flags), are the kinds of settings I would store in Custom Namespace MetaData - They should not need to be changed frequently, and if doing so, a bit of thought should be applied. I think of ‘Admin mode’ in the OpenHAB UI as being similar to Installer Mode in the alarm
  • Other settings which should be user controllable, I am using Item values, with every-change/restore-on-startup persistence, and these can easily be displayed/controlled via Main UI pages

Again, this suits my current use-cases, but there is no one-size-fits-all in OpenHAB, right? :slight_smile: