How to import "timeline" widget

Dear all

I’m not very experienced and have problems to import the timeline widget into habpanel. Currently timeline is not shown as a widget to choose from.

Any help would be highly appreciated

Best Rolf

Go to your dashboard, enter edit mode, on the right hand side click on “Add widget”, go to the gear sign right next to “custom widgets”, click on it … voila, the “import” button appears.

Edit: disregard. You are not meaning any custom widgets, you are looking for the standard timeline widget?
Just go to “Add Widget” and select “Timeline”

Dear Sihui

Thank you very much for your reply

Yes, I mean the standard timeline widget. It does not appear in the widget Dropdown. I tried to add it via github but did not succeed to download it.

What do I do wrongly?

Best Rolf

I have no idea …

Looks like that:

I think I got it: Timeline widget is only available in the snapshot release …

Exactly, the timeline has been added after the stable 2.0 release so you have to upgrade to get it.

Silly question (sorry for my ignorance): how to upgrade? I installed openhab in April via openhabian.

Thank you again for your great support!

Best Rolf

Uninstall the current version with Paper UI.
(Your settings will be retained.)
Then download the .jar from https://openhab.ci.cloudbees.com/job/openHAB2-Bundles/org.openhab.ui$org.openhab.ui.habpanel/ and copy it in your openhab’s addons folder.

Dear Yannik

Thank you a lot. I’m not sure if I understood everything. But I will give it a try.

I will report back!

Thank you!

Beet Rolf

Maybe it wasn’t super clear :slight_smile:

Uninstall the current version with Paper UI.

In Paper UI, it’s under Add-ons, in the User interfaces tab - click on the Uninstall button on the HABPanel line.

Then download the .jar from https://openhab.ci.cloudbees.com/job/openHAB2-Bundles/org.openhab.ui$org.openhab.ui.habpanel/ and copy it in your openhab’s addons folder.

According to http://docs.openhab.org/installation/linux.html#file-locations you would copy the .jar file in /usr/share/openhab2/addons

1 Like

Dear Yannik

Thank you very much for your guidance. I performed all the steps and it works(!) Last questions:

  1. Do I have to reinstall HABpanel via paper UI, or do I leave HABpanel uninstalled in the paper UI
  2. I want to show the state of a contact (OPEN/CLOSE) via the timeline. Can I use rrd4j for that (to my understanding rrd4j can only store numbers)

Thanks again for the great support.

Best regards
Rolf

@Logos yes leave it uninstalled in Paper UI, this is for installing the version from the distribution.
(Normally you would upgrade your entire distribution so you get the latest versions of everything, but since HABPanel currently has no real dependencies to other bundles (or compatibility requirements) you can get the snapshot version while staying on a stable openHAB release.)

I use rrd4j to persist the state of Switch items and it works well. But Strings don’t work.