Struggling to get back into it

After a while away from OH, I’m back to it - started with a long overdue upgrade that I’d been putting off since OH5 appeared.

I pretty much have things back up and running, but stumbling across problems and things I just can’t remember how to do - my search abilities are a bit rusty too as I get back to figuring out the right term/vocabulary needed to get an answer.

TimeOfDay - I’ve got an old version of the TimeOfDay script - not the rule Template version I can that’s available for OH5… I can’t remember how to install things from the market place. I need to add something somewhere, but am beaten finding the instructions to both install the rule template, and also the couple of DateTime widgets suggested - the UI Addons is pretty much empty, I assume I need to enable the market place somehow?

Cheers

James

Better Questions.

  1. How do I add marketplace rule templates - do I have to copy and paste the .yaml text, can I not just install them from the Marketplace.

  2. How do I enable the Marketplace for UI widgets, the docs suggest they should be available:

but I don’t see any:

How do I enable/add them?

Thanks

James

OK, so a re-start of OH and everything is there…

So I installed the two DateTime widgets, and the other marketplace widgets have disappeared again.

And the rest of the UI is broken again like yesterday - OH5 Upgrade, MQTT and all things broken - Off-Topic - openHAB Community

There’s clearly a bigger problem with my install, are there any troubleshooting guides I can follow or initial thing I can go and heck?

Cheers

James

runtimeInfo:
  version: 5.2.3
  buildString: Release Build
locale: en-GB
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 21.0.13-ea
  javaVendor: Debian
  osName: Linux
  osVersion: 6.1.0-12-amd64
  osArchitecture: amd64
  availableProcessors: 4
  freeMemory: 151320992
  totalMemory: 387973120
  uptime: 1204
  startLevel: 100
addons:
  - automation-jsscripting
  - automation-jsscriptingnashorn
  - binding-astro
  - binding-chromecast
  - binding-exec
  - binding-homeassistant
  - binding-http
  - binding-modbus
  - binding-mqtt
  - binding-network
  - binding-rfxcom
  - binding-shelly
  - binding-speedtest
  - misc-openhabcloud
  - persistence-mapdb
  - persistence-rrd4j
  - transformation-jinja
  - transformation-jsonpath
  - transformation-rollershutterposition
  - ui-basic
  - ui-habpanel
  - voice-voicerss
  1. In MainUI go to Settings → Community Marketplace and toggle that on.
  2. To install and use a rule template:
    1. Navigate to MainUI → Add-on store → Automation → Scroll down to Rule Templates and find the one you want. Or you can search. It’s called “Time Based State Machine”
    2. Click “Add”
    3. Navigate to MainUI → Rules and click + to create a new rule and fill out the ID, name, and description.
    4. Open “Create new rule from scratch (or expand to select a template)” and select “Time Based State Machine”
    5. Fill out the form, selecting your TimeOfDay Item and TimesOfDay Group.
    6. Save.
  3. To install and use a MainUI Widget
    1. Navigate to MainUI → Add-on Store → User Interface → Scroll down to the widget you want or search.
    2. Click “Add”
    3. Anywhere you can apply a MainUI Widget (e.g. default standalone widget Item metdata, on a Page, etc.) the list of installed widgets will be presented among the list of default widgets.
    4. Fill out the form and save.
  4. To update a rule template and the rule(s) created from a template
    1. Navigate to Add-on Store → Automation → Installed and remove the template to be updated and readd the template.
    2. Navigate to Settings → Rules → Filter → Marketpalce
    3. Select the rule(s) created from the updated template
    4. Click “regenerate” at the bottom to rebuild the rules with the existing parameters and the new template.
  5. To change the settings of a rule created from a template
    1. Navigate to Settings → Rules → The rule you want to change
    2. Click the “regenerate” icon
    3. Re-fill out the form with your new settings
    4. Save

We will need logs. There are still some sporadic reports of users who are having the forum respond with “too many requests” when trying to install stuff from the marketplace. There’s not enough info here to say if that’s your problem or not.

For my rule templates for OH 5.1+ you can bypass the marketplace. You can just download the YAML file and save it to $OH_CONF/yaml. My latest rule templates use the new YAML file format which makes that possible. The older marketplace entries can only be installed through the marketplace itself though.

Thanks @rlkoshak the log entry I’m getting, and a search, suggests its a known issue:

20:08:07.767[WARN] [org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService] - Unable to retrieve marketplace add-ons: Server returned HTTP response code: 429 for URL: https://community.openhab.org/c/marketplace/69/l/latest?page=19

Marketplace AddOns keep disappearing and appearing (error 429) - Add-ons / UIs - openHAB Community

Seems to be the main issue, and when it works I’m able to install marketplace UI/automations…

thankfully I hadn’t completely lost my mind!

Cheers

James