openHAB 3.2 Milestone discussion

This topic can be used to discuss problems/experiences/questions on the openHAB 3.2 milestones as announced in openHAB 3.2 Milestone Builds.

1 Like

WOW almost a week and no one has posted, guessing most people are staying on 3.1 Stable or this build must be perfect. Wanted to say thanks to all those that contributed and I have no issues on my setup with this build if your on the fence about giving it a go.

6 Likes

Edit: Removed content of original post to keep this thread clean.

Post with issue regarding colorpicker widget moved to it’s own post.

That is your answer to if this needs a new thread. This thread people want to know what the current 3.2 Milestone is like. Create your own thread and be sure to mention what web browser you are using and have tried other ones to compare. Do not reply in this thread.

1 Like

How to install it with openhabian?

use menu 41 and switch top openHAB Milestone. This will switch to the testing branch.

Hello together, I am not sure if it is right here or in the openhabian topic but same issue with the changed port by updating it is reverted to the old port

I get also this issue

2021-08-17 09:02:41.939 [ERROR] [org.knowm.yank.Yank                 ] - Error in SQL query!!!

java.sql.SQLException: Table 'openhabian.item0006' doesn't exist Query: SELECT time, value FROM item0006 ORDER BY time DESC  LIMIT 0,1 Parameters: []

 at org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:392) ~[bundleFile:?]

 at org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:351) ~[bundleFile:?]

 at org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:289) ~[bundleFile:?]

 at org.knowm.yank.Yank.queryObjectArrays(Yank.java:578) [bundleFile:?]

 at org.knowm.yank.Yank.queryObjectArrays(Yank.java:560) [bundleFile:?]

 at org.openhab.persistence.jdbc.db.JdbcBaseDAO.doGetHistItemFilterQuery(JdbcBaseDAO.java:340) [bundleFile:?]

 at org.openhab.persistence.jdbc.internal.JdbcMapper.getHistItemFilterQuery(JdbcMapper.java:169) [bundleFile:?]

 at org.openhab.persistence.jdbc.internal.JdbcPersistenceService.query(JdbcPersistenceService.java:205) [bundleFile:?]

 at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) ~[?:?]

 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

 at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]

 at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]

 at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]

 at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

 at java.lang.Thread.run(Thread.java:829) [?:?]

2021-08-17 09:02:41.969 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'QueryablePersistenceService.query()' on 'org.openhab.persistence.jdbc.internal.JdbcPersistenceService@ae651c': null

java.lang.NullPointerException: null

 at org.openhab.persistence.jdbc.db.JdbcBaseDAO.doGetHistItemFilterQuery(JdbcBaseDAO.java:344) ~[?:?]

 at org.openhab.persistence.jdbc.internal.JdbcMapper.getHistItemFilterQuery(JdbcMapper.java:169) ~[?:?]

 at org.openhab.persistence.jdbc.internal.JdbcPersistenceService.query(JdbcPersistenceService.java:205) ~[?:?]

 at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) ~[?:?]

 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

 at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]

 at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]

 at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]

 at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

 at java.lang.Thread.run(Thread.java:829) [?:?]

2021-08-17 09:02:41.976 [ERROR] [ence.internal.PersistenceManagerImpl] - Exception occurred while querying persistence service 'jdbc': null

java.lang.NullPointerException: null

 at org.openhab.persistence.jdbc.db.JdbcBaseDAO.doGetHistItemFilterQuery(JdbcBaseDAO.java:344) ~[?:?]

 at org.openhab.persistence.jdbc.internal.JdbcMapper.getHistItemFilterQuery(JdbcMapper.java:169) ~[?:?]

 at org.openhab.persistence.jdbc.internal.JdbcPersistenceService.query(JdbcPersistenceService.java:205) ~[?:?]

 at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) ~[?:?]

 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

 at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]

 at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]

 at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]

 at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

 at java.lang.Thread.run(Thread.java:829) [?:?]

2021-08-17 09:02:42.247 [INFO ] [nal.WeatherCalculatorEventSubscriber] 

also with item004

if i look it up it belongs to this item “string_localDailyForecastTodayConditionIcon” and in the item file i see

Image string_localDailyForecastTodayConditionIcon "Aktuelle Vorhersage Icon" { channel="openweathermap:weather-and-forecast:api:smarthome:forecastToday#icon" }

how do i solve this error?

Solved by OH3: Issue jdbc mysql Table Creation for Image Item

Many thanks @Kai for this.

I noticed that the release notes don’t mention any recent changes to the ZWave binding e.g. the PR that I recently made.

2 Likes

The release notes include everything that is correctly tagged on Github. In a few occasions (like this one), the maintainers forget doing so when merging a PR. But the change is nonetheless included!

1 Like

There appears to be an issue with the release notes as it lists new bindings that were already listed for the previous milestone. Unless there was a change to compare changes against the last stable release?

1 Like

You’re right, thanks for noticing. Not sure why they were added again, I have removed them from the new release notes now.

Also the (important) change in the Nuki binding is missing in the release notes.

1 Like

I’m seeing some icon related issues on M2. In the Items list under Settings, if I scroll down, the icons become incorrectly associated. If I filter the items list, the icons stay as they were when first loaded, even though the items are updated as expected.

It also seems that previously, if you had set a category, the icon for that item would immediately show up. Now I have to save, close out of the item, and then it will show the new icon.

1 Like

A quick question, which follows on from this topic.

  • Is openHAB3 limited to Java 11, or can it run on Java 17?

I ask because Michal of DietPi is offering to add openHAB to the DietPi Software menu (alongside Home-Assistant)

(All contributions and assistance would be most welcomed)

Thanks
Stuart

____ Update ____

Because I’m a gungho fool, I just updated a “fresh installation” of DietPi V7.5.2 to Debian Bullseye following these instructions.

It would seem that openHAB3 is trying to start, but crashes out after a few seconds.

root@openHAB2-C4:~# systemctl status openhab
â—Ź openhab.service - openHAB - empowering the smart home
     Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2021-09-10 12:12:44 BST; 4s ago
       Docs: https://www.openhab.org/docs/
             https://community.openhab.org
    Process: 6566 ExecStart=/usr/share/openhab/runtime/bin/karaf ${OPENHAB_STARTMODE} (code=exited, status=255/EXCEPTION)
   Main PID: 6566 (code=exited, status=255/EXCEPTION)
root@openHAB2-C4:~# systemctl status openhab
â—Ź openhab.service - openHAB - empowering the smart home
     Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2021-09-10 12:12:49 BST; 3s ago
       Docs: https://www.openhab.org/docs/
             https://community.openhab.org
   Main PID: 6730 (java)
      Tasks: 22 (limit: 3844)
     Memory: 53.7M
     CGroup: /system.slice/openhab.service
             └─6730 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab -Dopenhab.logdir=/var/log/openhab -Dfelix.c
m.dir=/var/lib/openhab/config -Djava.library.path=/var/lib/openhab/tmp/lib -Djetty.host=0.0.0.0 -Djetty.http.compliance=RFC2616 -Dnashorn.args=--no-deprecation-warning -Dorg.apache.cxf.osgi.http.transport.disable=true -Dorg.ops4j.pax.web
.listening.addresses=0.0.0.0 -Dorg.osgi.service.http.port=8080 -Dorg.osgi.service.http.port.secure=8443 -Djava.awt.headless=true --add-reads=java.xml=java.logging --add-exports=java.base/org.apache.karaf.specs.locator=java.xml,ALL-UNNAME
D --patch-module java.base=/usr/share/openhab/runtime/lib/endorsed/org.apache.karaf.specs.locator-4.3.2.jar --patch-module java.xml=/usr/share/openhab/runtime/lib/endorsed/org.apache.karaf.specs.java.xml-4.3.2.jar --add-opens java.base/j
ava.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED --add-opens java.rmi/sun.rmi
.transport.tcp=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.desktop/jav
a.awt.font=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.file=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.ftp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.n
et.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=java.base/sun.net.www.content.text=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jdk.naming.r
mi/com.sun.jndi.url.rmi=ALL-UNNAMED --add-exports java.security.sasl/com.sun.security.sasl=ALL-UNNAMED -Dkaraf.instances=/var/lib/openhab/tmp/instances -Dkaraf.home=/usr/share/openhab/runtime -Dkaraf.base=/var/lib/openhab -Dkaraf.data=/v
ar/lib/openhab -Dkaraf.etc=/var/lib/openhab/etc -Dkaraf.log=/var/log/openhab -Dkaraf.restart.jvm.supported=true -Djava.io.tmpdir=/var/lib/openhab/tmp -Djava.util.logging.config.file=/var/lib/openhab/etc/java.util.logging.properties -Dkar
af.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath /usr/share/openhab/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.3.2.jar:/usr/share/openhab/runtime/lib/boot/org.apache.karaf.jaas.boot-4.3.2.jar:/usr/share/openha
b/runtime/lib/boot/org.apache.karaf.main-4.3.2.jar:/usr/share/openhab/runtime/lib/boot/org.apache.karaf.specs.activator-4.3.2.jar:/usr/share/openhab/runtime/lib/boot/osgi.core-7.0.0.jar:/usr/share/openhab/runtime/lib/jdk9plus/istack-comm
ons-runtime-3.0.10.jar:/usr/share/openhab/runtime/lib/jdk9plus/jakarta.xml.bind-api-2.3.3.jar:/usr/share/openhab/runtime/lib/jdk9plus/javax.activation-1.2.0.jar:/usr/share/openhab/runtime/lib/jdk9plus/javax.annotation-api-1.3.1.jar:/usr/
share/openhab/runtime/lib/jdk9plus/jaxb-runtime-2.3.3.jar:/usr/share/openhab/runtime/lib/jdk9plus/txw2-2.3.3.jar org.apache.karaf.main.Main

Sep 10 12:12:49 openHAB2-C4 systemd[1]: Started openHAB - empowering the smart home.
root@openHAB2-C4:~# systemctl status openhab
â—Ź openhab.service - openHAB - empowering the smart home
     Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2021-09-10 12:12:52 BST; 2s ago
       Docs: https://www.openhab.org/docs/
             https://community.openhab.org
    Process: 6730 ExecStart=/usr/share/openhab/runtime/bin/karaf ${OPENHAB_STARTMODE} (code=exited, status=255/EXCEPTION)
   Main PID: 6730 (code=exited, status=255/EXCEPTION)
root@openHAB2-C4:~# systemctl status openhab
â—Ź openhab.service - openHAB - empowering the smart home
     Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2021-09-10 12:13:06 BST; 2s ago
       Docs: https://www.openhab.org/docs/
             https://community.openhab.org
   Main PID: 7053 (java)
      Tasks: 23 (limit: 3844)
     Memory: 53.2M
     CGroup: /system.slice/openhab.service
             └─7053 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab -Dopenhab.logdir=/var/log/openhab -Dfelix.c
m.dir=/var/lib/openhab/config -Djava.library.path=/var/lib/openhab/tmp/lib -Djetty.host=0.0.0.0 -Djetty.http.compliance=RFC2616 -Dnashorn.args=--no-deprecation-warning -Dorg.apache.cxf.osgi.http.transport.disable=true -Dorg.ops4j.pax.web
.listening.addresses=0.0.0.0 -Dorg.osgi.service.http.port=8080 -Dorg.osgi.service.http.port.secure=8443 -Djava.awt.headless=true --add-reads=java.xml=java.logging --add-exports=java.base/org.apache.karaf.specs.locator=java.xml,ALL-UNNAME
D --patch-module java.base=/usr/share/openhab/runtime/lib/endorsed/org.apache.karaf.specs.locator-4.3.2.jar --patch-module java.xml=/usr/share/openhab/runtime/lib/endorsed/org.apache.karaf.specs.java.xml-4.3.2.jar --add-opens java.base/j
ava.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED --add-opens java.rmi/sun.rmi
.transport.tcp=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.desktop/jav
a.awt.font=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.file=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.ftp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.n
et.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=java.base/sun.net.www.content.text=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jdk.naming.r
mi/com.sun.jndi.url.rmi=ALL-UNNAMED --add-exports java.security.sasl/com.sun.security.sasl=ALL-UNNAMED -Dkaraf.instances=/var/lib/openhab/tmp/instances -Dkaraf.home=/usr/share/openhab/runtime -Dkaraf.base=/var/lib/openhab -Dkaraf.data=/v
ar/lib/openhab -Dkaraf.etc=/var/lib/openhab/etc -Dkaraf.log=/var/log/openhab -Dkaraf.restart.jvm.supported=true -Djava.io.tmpdir=/var/lib/openhab/tmp -Djava.util.logging.config.file=/var/lib/openhab/etc/java.util.logging.properties -Dkar
af.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath /usr/share/openhab/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.3.2.jar:/usr/share/openhab/runtime/lib/boot/org.apache.karaf.jaas.boot-4.3.2.jar:/usr/share/openha
b/runtime/lib/boot/org.apache.karaf.main-4.3.2.jar:/usr/share/openhab/runtime/lib/boot/org.apache.karaf.specs.activator-4.3.2.jar:/usr/share/openhab/runtime/lib/boot/osgi.core-7.0.0.jar:/usr/share/openhab/runtime/lib/jdk9plus/istack-comm
ons-runtime-3.0.10.jar:/usr/share/openhab/runtime/lib/jdk9plus/jakarta.xml.bind-api-2.3.3.jar:/usr/share/openhab/runtime/lib/jdk9plus/javax.activation-1.2.0.jar:/usr/share/openhab/runtime/lib/jdk9plus/javax.annotation-api-1.3.1.jar:/usr/
share/openhab/runtime/lib/jdk9plus/jaxb-runtime-2.3.3.jar:/usr/share/openhab/runtime/lib/jdk9plus/txw2-2.3.3.jar org.apache.karaf.main.Main

Sep 10 12:13:06 openHAB2-C4 systemd[1]: Started openHAB - empowering the smart home.
root@openHAB2-C4:~# systemctl status openhab
â—Ź openhab.service - openHAB - empowering the smart home
     Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2021-09-10 12:13:09 BST; 2s ago
       Docs: https://www.openhab.org/docs/
             https://community.openhab.org
    Process: 7053 ExecStart=/usr/share/openhab/runtime/bin/karaf ${OPENHAB_STARTMODE} (code=exited, status=255/EXCEPTION)
   Main PID: 7053 (code=exited, status=255/EXCEPTION)

Can anyone give any advice or suggestions?

Or do we say that openHAB3 must be run with Java 11?

Already answered in other topic, as it is off-topic here. Double posts are always a bad idea :wink:

1 Like

Can you open a GitHub webUI issue if not already done please. Always handy to get issues raised and fixed when code is fresh in people’s minds as there were some changes made to the icon system in 3.2

I am wondering if this is related to M2 (the timing makes me suspect that it is)…

Hi actually i receive some messages, cloud someone explain what could cause this?

2021-09-30 16:20:07.870 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 16:21:18.160 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 16:22:28.272 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 16:23:39.268 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 16:24:49.716 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null