As anticipated in my post in August, we have now moved all development efforts towards openHAB 3 and are proud to have released a first milestone build (available from our download page as well as through APT/YUM).
There were quite many changes under the hood, including a lot of clean up work and making it future-proof by updating dependencies, using modern Java, OSGi and testing concepts and more.
I think it a great achievement that we were able nonetheless to make all of the 2.x add-ons available on this milestone.
We do not yet have a structured documentation on all relevant changes from 2.x to 3.x and no step-by-step migration guide, but here are a few major functional changes that I’d like to mention:
- The runtime now requires Java 11 instead of Java 8, so please make sure to install an appropriate JVM.
- Most visible change is the new UI, which comes with a setup wizard and which replaces Paper UI and HABmin and also serves as a very powerful end-user UI.
- The next-gen rule engine (NGRE) of openHAB 2.5 has now become the official rule engine within openHAB. Good news is that your rule DSL files are not impacted by this change and should run smoothly on it. The only change you’ll have to look our for in your rules is the fact that rules now use Java Time API instead of Jodatime, so some expressions need to be slightly adapted.
- The compatibility layer is gone, so if you still rely on any 1.x add-ons, better help porting them.
- The admininstration-related parts of the REST API are now secured, which eliminates many potential attacks from malware in the local network. As a side-effect, some inofficial/custom 3rd party integrations might not work anymore as expected.
You will find many more changes and further details in the openHAB 3.0 Milestone 1 release notes page.
So while this milestone build is meant for early-adopters, which are willing to invest some time and that are not asking for any detailed documentation, I can say that the runtime itself is already very stable. I am personally using it as my production system (with more than 20 add-ons) since a couple of weeks and do not have any stability issues or broken features. A couple of other maintainers already followed this “eat your own dogfood” principal and are likewise confident in the overall quality.
Still, there’s clearly still work to be done and if you are interested in the progress, you can follow the openHAB 3 Issue Tracking Board.
If you have specific questions on the milestone build, please use this topic for any further discussion.