Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version/Update information available inside openHAB #4603

Open
Boby71 opened this issue Feb 16, 2025 · 2 comments
Open

Version/Update information available inside openHAB #4603

Boby71 opened this issue Feb 16, 2025 · 2 comments
Labels
enhancement An enhancement or new feature of the Core

Comments

@Boby71
Copy link

Boby71 commented Feb 16, 2025

Idea for openHAB (5):

Please provide some variables/items which show a) the currently installed OH-version of the running system and b) if there is a newer (stable) version available.

The idea is to integrate this information into your gui/sitemap and to display it to the user.
Even rules etc can be used for notifications (if wanted)

@Boby71 Boby71 added the enhancement An enhancement or new feature of the Core label Feb 16, 2025
@spacemanspiff2007
Copy link
Contributor

The version information is in the UI under "about".
But if I understand you correctly you mean something like a "openhab-internals" binding which exposes various internal information through things so items can be normally linked against them.

@rkoshak
Copy link

rkoshak commented Feb 17, 2025

The current version number of OH is available in rules (jRuby and JS at least, I'm not sure about non-JSR223 type languages) as org.openhab.core.OpenHAB.version.

Knowing if there is an update get's a little complicated because that means that OH will have to know if it's running a snapshot, milestone, or release and query the appropriate GitHub's API for releases. I showed at https://community.openhab.org/t/ideas-and-discussion-what-features-do-you-want-in-openhab-5-0/160573/603 how to do it in a rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature of the Core
Projects
None yet
Development

No branches or pull requests

3 participants