Skip to content

Conversation

florian-h05
Copy link
Contributor

@florian-h05 florian-h05 commented Jul 13, 2025

@florian-h05
Copy link
Contributor Author

florian-h05 commented Jul 13, 2025

Let‘s create the 5.0 release blog post together.
I will ping a few people and write down what I‘d like them to write about (ot at least think about what can be written about), but please always feel free to add your own topics.

  • @digitaldan: Matter integration & iOS App
  • @HolgerHees: Python Scripting
  • @lsiepel: Z-Wave JS Binding
  • @lolodomo: Sitemap & Basic UIs
  • @ccutrer: MQTT (HA): HA Jinja in GraalPython
  • @jimtng: Copy DSL/YAML definitions
  • @lolodomo & ?: YAML config files
  • @stefan-hoehn: Blockly
  • @mherwege: Semantic Model Maintenance (Main UI)
  • @andrewfg Semantic Tagging
  • @Nadahar: Regenerate rules from template (Main UI)
  • @jsjames: oh-state-series (Main UI)
  • @openhab/openhabian-maintainers: openHABian
  • @openhab/core-maintainers: openHAB core
  • @openhab/add-ons-maintainers: openHAB Add-ons

Either create a PR to this branch with your changes (preferred way when including images) or comment your Markdown text in code fences. Thanks in advance!

I will take care of Main UI myself and probably ping more people.

@digitaldan
Copy link
Contributor

We are also racing to get the IOS app ready for release at the same time with some rather big changes, i'll also volunteer to do a write up on it.

  • Complete rewrite of the networking code to use Apple's Swift OpenAPI Generator
  • Updated many parts of the app to Swift UI and Swift 6
  • All new Settings view and more configurable connection settings
  • Updated App shortcuts and intents
  • Support for multiple "Homes" (major requested feature), including cloud notification and app intents support for multiple homes
  • Embedded screen saver and fullscreen support for wall mounted devices

@Nadahar
Copy link
Contributor

Nadahar commented Jul 14, 2025

I'm a bit unsure of what form/at what detail level this should take place, so I'll hang back until I see some other contributions "for calibration".

@lolodomo
Copy link
Contributor

We have of course to talk about one of the major new feature of OH 5, that is the new YAML format to provide items and things. I will write it.

And we have to announce the new Main UI feature implemented by @jimtng in Main UI (and me in core framework) to generate DSL/YAML code from any item, thing and inbox entry.

@lolodomo
Copy link
Contributor

lolodomo commented Jul 14, 2025

I'm a bit unsure of what form/at what detail level this should take place,

In my opinion, we have to be no too much technical and it should be relatively short and a little marketing, we should introduce any new major feature, if possible with a screenshot and a link to documentation for more details.

If the blog post is too big, we can expect most users not reading it until the end.

@HolgerHees
Copy link

  • new python 3.11 binding based on graalpy 24.2.1
  • works in ui and file based rules and as a transformation service
  • provide direct access to the complete openhab java api
  • includes a thin helper library which provides
    • improve error logging
    • import native java.* or org.openhab.* java packages
    • scope module to encapsulate all jsr223 objects
    • rule class to simlify rule setup, logging and more.
    • registry class which wraps access to Items, Things, Channels
    • works with native python datatypes like datetype instead of ZonedDateTime
    • all kind of triggers, actions and services are supported
  • only limitation is currently the missing support of external modules (will be added with the next version)

@lsiepel
Copy link

lsiepel commented Jul 14, 2025

is branch with your changes (preferred way when including images) or comment your Markdown text in code fences. Thanks in advance!

I believe the significant work that @andrewfg put into the tagging deserves a mention in the blog as well.

@florian-h05
Copy link
Contributor Author

@HolgerHees Do you want to formulate a text or should I take your notes and do it myself?

@florian-h05
Copy link
Contributor Author

I'm a bit unsure of what form/at what detail level this should take place, so I'll hang back until I see some other contributions "for calibration".

I think adding a subsection to Main UI saying that it is now possible to regenerate rules from their template if the template has been updated along with a screenshot and a documentation link (once openhab/openhab-docs#2518 is merged).

@HolgerHees
Copy link

@HolgerHees Do you want to formulate a text or should I take your notes and do it myself?

I will try... Give me some minutes...

@HolgerHees
Copy link

A new addition is the Python scripting binding based on GraalPy. Unlike the Jython binding, it offers full Python 3.11 support and also offers better future perspectives, as the underlying GraalPy is actively developed and promoted by Oracle. In the long term, it will also completely replace the "outdated" Jython. But before, Jython will be market as deprecated for a while.

The binding offers the possibility of using Python as a scripting language in UI or file-based rules, as well as in transformation services. The Python API is deliberately kept lean to provide the most direct access to the openHAB API possible.

It also offers the following improvements over the Jython binding

  • improve error logging
  • import native java.* or org.openhab.* java packages
  • scope module to encapsulate all jsr223 objects
  • rule class to simlify rule setup, logging and more.
  • registry class which wraps/simplifies access to Items, Things, Channels
  • works with native python datatypes like datetype instead of ZonedDateTime
  • all kind of triggers, actions and services are supported
  • object functions are almost 100% similar to the openhab java API
  • dependency watcher to reload scripts when modified

The only current limitation is the lack of PIP support for installing external modules. This will be added in the next version. Alternatively, this version can already be installed via the Marketplace. This version offers the following advantages:

  • updating of helper libs
  • venv setups
  • ‘pip’ and preinstalled “modules”
  • native modules
  • karaf console support
    • show python scripting state values
    • open an interactive console
    • install, check, list and uninstall additional modules
    • install, check, list and uninstall helper lib module

It's also important to note that this binding was not developed as a replacement for HabAPP. HabAPP is completely independent, is still actively developed, and enjoys a large community. Which one you choose to use depends entirely on personal preference.

@florian-h05
Copy link
Contributor Author

@HolgerHees Thanks! I have integrated this and shortened it a bit.

@stefan-hoehn
Copy link
Contributor

stefan-hoehn commented Jul 15, 2025

@lsiepel Can we add a link to a (and create a) migration tutorial for zwavejs? (UPDATE: see link below) I would be the first to go for it if I knew the exact way how to do that without risking to lose my current zwave things and items.
It would also make sense to mention what the advantages for the new bindings are (as the old will still be maintained) - how about linking https://community.openhab.org/t/new-z-wave-js-binding-released/164943 (thanks Florian for finding it)

@lolodomo
Copy link
Contributor

I am a little lost, we need to submit changes directly in openhab/website or to your repo @florian-h05 ?

@florian-h05
Copy link
Contributor Author

This branch is on openhab/website (not my fork), so yes PRs go to openhab/website.
It should be easier to create them against this repo than against my fork.

@lolodomo
Copy link
Contributor

lolodomo commented Jul 15, 2025

Looking at what are the 19 new bindings added to OH in version 5 and thinking which ones could have a large audience, I believe we could mention the Dirigera binding for Ikea devices ?

@lolodomo
Copy link
Contributor

lolodomo commented Jul 16, 2025

I just submitted a PR to update sitemap and Basic UI section (I merged both sections). Nothing major in OH 5.

Note sure I did it as expected regarding branches.

@florian-h05
Copy link
Contributor Author

Looking at what are the 19 new bindings added to OH in version 5 and thinking which ones could have a large audience, I believe we could mention the Dirigera binding for Ikea devices ?

In the past we have usually mentioned all new bindings with a short sentence what they add, but if you think it is important we can highlight the Dirigera binding with a short section. Keep in mind that the blog post shouldn't get too long though, Matter, iOS and Garmin app are still missing in it and are major enhancements.

@lsiepel
Copy link

lsiepel commented Jul 16, 2025

@lsiepel Can we add a link to a (and create a) migration tutorial for zwavejs? (UPDATE: see link below) I would be the first to go for it if I knew the exact way how to do that without risking to lose my current zwave things and items. It would also make sense to mention what the advantages for the new bindings are (as the old will still be maintained) - how about linking https://community.openhab.org/t/new-z-wave-js-binding-released/164943 (thanks Florian for finding it)

Not sure what you mean, the mentioned community thread is linked in my proposal that is added to the release blog. First post is some extended details, second post is a FAQ. The FAQ already shows the installation outline, not sure if i can provide an in-depth step by step tuturial.

@digitaldan
Copy link
Contributor

@florian-h05 see #526

@andrewfg
Copy link
Contributor

andrewfg commented Jul 16, 2025

I believe the significant work that @andrewfg put into the tagging deserves a mention in the blog as well.

The information on the mass tagging project is here openhab/openhab-addons#18585 (comment)

Copy link

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small suggestions. I noticed a mix of present and past tense in some areas. I'd opt to stick with present.

@lolodomo
Copy link
Contributor

Please check "openHAB Maintainer" vs "openHAB Contributor".

@lolodomo
Copy link
Contributor

My proposal for YAML Configuration Format:

YAML Configuration Format

Laurent Garnier (@lolodomo), openHAB Maintainer

openHAB 5.0 introduces a modular configuration system that allows supported entities (objects such as Things, Items, etc.) to be defined in one or more YAML files.
This new format does not replace our dédicated DSL format but rather provides an alternative for YAML enthusiasts or users who have never been confortable with our DSL syntax. .It is also a way to not depend too much on XTend/XText while we don't know how many more years these Eclipse projects will be maintained.
This file format was introduced in openHAB 4.1 but limited to custom tags. It is extended in openHAB 5.0 to Things and Items.
Unlike the DSL configuration files, YAML configuration files are not limited to a specific object type—they can contain any supported entities (Things, Items, Tags, etc.).
Here is an example:

version: 1

tags:
  Location_Indoor_Room_HomeCinemaRoom:
    label: Home Cinema Room
    description: The room containing my home cinema system
    synonyms:
      - Home theater room
      - TV room
      - Movie room

things:
  lgwebos:WebOSTV:3aab9eea-953b-4272-bdbd-f0cd0ecf4a46:
    config:
      host: 192.168.2.119
      key: 6ef1dff6c7c936c8dc5056fc85ea3aef
      macAddress: 3c:cd:93:c2:20:e0

items:
  TV_Power:
    type: Switch
    label: TV Power
    icon: television
    autoupdate: false
    channel: lgwebos:WebOSTV:3aab9eea-953b-4272-bdbd-f0cd0ecf4a46:power

You can consult the documentation.

It is now also possible to generate this syntax directly from Main UI if you have Things and Items that were defined either with DSL syntax or created from Main UI.

Support for other entities will be added in next releases, starting with rules and rule templates. Other exciting features based on this are already in the pipe.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
…s yet

Signed-off-by: Florian Hotze <dev@florianhotze.com>
Used an LLM to filter those out from the release notes draft.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
Signed-off-by: Florian Hotze <dev@florianhotze.com>
Signed-off-by: Florian Hotze <dev@florianhotze.com>
@florian-h05
Copy link
Contributor Author

I rebased this again now, should fix the issue.

Co-authored-by: Nadahar <Nadahar@users.noreply.github.com>
Signed-off-by: Florian Hotze <dev@florianhotze.com>
@florian-h05 florian-h05 marked this pull request as ready for review July 21, 2025 18:52
@florian-h05 florian-h05 merged commit f2c88dc into main Jul 21, 2025
3 of 5 checks passed
@florian-h05
Copy link
Contributor Author

Thanks all for the good collaboration on this, it should be live in a few minutes 🚀

@digitaldan
Copy link
Contributor

Thanks @florian-h05 for coordinating all of this ! Did you also add a summer banner to the post ?

@florian-h05
Copy link
Contributor Author

Do you mean the header image?

@digitaldan
Copy link
Contributor

here's one i just generated with openAI's O3 model

image

@florian-h05
Copy link
Contributor Author

Looks pretty nice, but I prefer what I generated with Black Forest Lubs Flux and refined with GPT 4o:

image

@mstormi
Copy link
Contributor

mstormi commented Jul 21, 2025

can you have a logo somewhere like on the boat?

@digitaldan
Copy link
Contributor

digitaldan commented Jul 21, 2025

Looks good! My only preference for these images is they show a home with lights (or other modern touches)
which helps relate to our home automation theme

@florian-h05
Copy link
Contributor Author

can you have a logo somewhere like on the boat?

Let's try ... but first I will do the release announcement, already waited a while to do that.

@florian-h05
Copy link
Contributor Author

@digitaldan Do you want to give Markus idea a try? My free ChatGPT consistently crashes when generating images ...

@florian-h05 florian-h05 deleted the 5-0-blog-post branch July 21, 2025 19:39
@digitaldan
Copy link
Contributor

To put a oh logo on the boat? I can try, not sure how well ai does with detail like that

@stefan-hoehn
Copy link
Contributor

How do you like this?

image

I "photoshopped" it by adding the logos to the AI image.

@florian-h05
Copy link
Contributor Author

Haha, that's great!
The logo on the roof looks very realistic, the one on the boat less, probably remove the one on the boat.

@stefan-hoehn
Copy link
Contributor

image

I blurred the logo on the boat and gave it some perspective distortion.

image

Hardly noticeable but still there...

@florian-h05
Copy link
Contributor Author

That looks really nice now, thanks!
I will convert this to webp and update the image on the website.

Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post-mortem comment.

@holgerfriedrich
Copy link
Member

Maybe a stupid question... Could you make the images clickable, showing them at a bigger size? I cannot see the details of the examples without right-clicking and opening in a separate frame (so the image data is there, we just shrink it a lot when we display it in the blog post).

@florian-h05
Copy link
Contributor Author

Not simply, unfortunately that’s no simple config option or something like that.
Wrt to Vuepress plugins, not sure how many plugins are still available for our very old Vuepress version.

@holgerfriedrich
Copy link
Member

Ok, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.