Brinkmann
(Simon Brinkmann)
December 9, 2019, 10:33pm
539
Newbie here - please redirect me if I´m in the wrong place. I just installed 2.5M6 and The Tellstick Binding. Navigation to Things I get the following status displayed from the Binding: Status:
UNINITIALIZED - HANDLER_INITIALIZING_ERROR io/netty/handler/ssl/JdkSslContext
Error from logtellstick error.txt (16.9 KB)
I then installed 2.4 and the Binding worked fine.
Kai
(Kai Kreuzer)
December 9, 2019, 10:50pm
540
Ok, another step closer towards the release: 2.5.0.RC1 is available as a testing release with these changes:
openHAB Core:
Fix MQTT reconnection and add some debug logging (#1254 ) (details / githubweb )
osgiify of dagger library (#1246 ) (details / githubweb )
Bump Californium to 2.0.0 (#1257 ) (details / githubweb )
fix multiple MQTT subscriptions (#1259 ) (details / githubweb )
added Californium to compile bom (#1262 ) (details / githubweb )
make MQTT subscription tracking thread-safe (#1261 ) (details / githubweb )
added Californium to runtime bom (#1263 ) (details / githubweb )
2.x Add-ons:
[wemo] DimmerHandler - reduced one logger from info to debug (#6486 ) (details / githubweb )
[ipp] added simple-xml dependency (#6481 ) (details / githubweb )
[homematic] Add Max! Basic Thermostat Descriptions (#6480 ) (details / githubweb )
[innogysmarthome] Fix loop bug (#6490 ) (details / githubweb )
[marytts] Upgrade to MaryTTS 5.2 and use Maven dependencies (#6482 ) (details / githubweb )
[mqtt] Fix several issues after loss of connection (#6485 ) (details / githubweb )
[mail] added dependency to javax.mail (#6494 ) (details / githubweb )
[dlinksmarthome] Changed to openHAB Core feature of JAX-WS (#6439 ) (#6478 ) (details / githubweb )
Added C/WS as a hint for detecting Ikea Tradfri color bulbs. (#6506 ) (details / githubweb )
[lifx] Fix NPE when things don’t have properties (#6509 ) (details / githubweb )
[weathercompany] Weather Company Binding initial contribution (#5780 ) (details / githubweb )
Added the tag “Huelight” which allows Group items to be exposed as a device. (#6510 ) (details / githubweb )
[HueEmulation] Fix status report page (details / githubweb )
[telegram] small fixes (#6514 ) (details / githubweb )
Bump Californium to 2.0.0 (#6518 ) (details / githubweb )
Fix handling of thing status (#6522 ) (details / githubweb )
[mqtt] fix discovery subscriptions on re-connection (#6505 ) (details / githubweb )
[miio] Add support for Roborock S5max (#6516 ) (details / githubweb )
Add RX-860 to compatible receivers (#6527 ) (details / githubweb )
[innogysmarthome] Several improvements (#6508 ) (details / githubweb )
[netatmo] Updated netatmo icon URLs (#6532 ) (details / githubweb )
[melcloud] MELCloud Binding initial contribution (#6059 ) (details / githubweb )
[homematic] correct warnings (#6531 ) (details / githubweb )
Update .gitignore (#6542 ) (details / githubweb )
[shelly] Shelly Binding initial contribution (#6320 ) (details / githubweb )
[homematic] Explicit create of numeric Objects is needed (#6546 ) (details / githubweb )
[millheat] Millheat Binding initial contribution (#5077 ) (details / githubweb )
[mqtt][homie] fix handleCommand with special characters (#6540 ) (details / githubweb )
[tradfri] removed explicit Californium dependency to avoid embedding (#6544 ) (details / githubweb )
[zwave] Database update (#1265 ) (details / githubweb )
[zigbee] Added Securifi Peanut Plug (#526 ) (details / githubweb )
1.x Add-ons:
[KNX.Test] workaround for timezone in KNXCoreTypeMapperTest (#5912 ) (details / githubweb )
Added utime (#5910 ) (details / githubweb )
Fixed restriction on special characters in URLs (#5868 ) (details / githubweb )
Novelan heatpump: Add output signals and additional state variables as items, add missing heatpump states (#5883 ) (details / githubweb )
little Mistake (#5909 ) (details / githubweb )
[fatekplc] Serial port support (#5877 ) (details / githubweb )
Update README.md with improved config info. (#5841 ) (details / githubweb )
fixed typo (details / githubweb )
[swegon] Added throttle support (#5685 ) (details / githubweb )
[oem] throttle support (#5684 ) (details / githubweb )
Anel binding: mask pwd in log entries; issue #5716 (#5828 ) (details / githubweb )
Use stock OLA from OS by default (#5696 ) (details / githubweb )
[GPIO] Fixes debounce Item state out of sync (#5729 ) (#5730 ) (details / githubweb )
From now on, only major and critical bug fixes will be merged until the release next Sunday - please help identifying critical issues and help fixing them!
14 Likes
RC 1 Critical Issue Thread
Critical issues for 2.5 Release Candidate 1 go here.
1 Like
Kai
(Kai Kreuzer)
December 9, 2019, 11:05pm
542
lsiepel
(Leo)
December 14, 2019, 11:10am
543
A milestone in apt is always considered newer than a snapshot regardless of their dates so moving from testing to snapshot is the only case where you would need to do the above to upgrade. Otherwise use sudo apt update && sudo apt upgrade
to get the latest version.
Are you sure, I had S1745 installed and it didnt upgrade to 2.5.0 m5 / m6 or rc1. I had to do a sudo apt-get install openhab=2.5.0~m6-1
And apt stated (in dutch) that it is downgrading S1745 to m6…
Ophalen:1 https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main amd64 openhab2 all 2.5.0~M6-1 [82,6 MB]
82,6 MB opgehaald in 8s (10,2 MB/s)
dpkg: waarschuwing: openhab2 wordt **gedegradeerd van 2.5.0~S1745-1 naar 2.5.0~M6-1**
(Database wordt ingelezen ... 46955 bestanden en mappen momenteel geïnstalleerd.)
Uitpakken van .../openhab2_2.5.0~M6-1_all.deb wordt voorbereid...
Benjy
(Ben Clark)
December 16, 2019, 1:16am
544
When that post was made, milestones were always regarded as newer than snapshots. We changed the snapshot naming scheme so this is no longer their case as you have found out. FTR apt and yum see that:
Releases are always newer than nightly or milestone builds for that version. (i.e.2.5.0
is newer than 2.5.0~
*)
All snapshots are newer than milestones (i.e. 2.5.0~S*
is newer than 2.5.0~M*
.
2 Likes
pagm
(Patrik Granholm)
December 22, 2019, 9:43am
545
Same problem for me, seems to be a dependency issue.
Here is a dirty workaround to update the pom-file, upgraded to 2.10.4 of the org.asynchttpclient and rebuilt the plugin.
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.addons.reactor.bundles</artifactId>
<version>2.5.1-SNAPSHOT</version>
</parent>
<artifactId>org.openhab.binding.tellstick</artifactId>
<name>openHAB Add-ons :: Bundles :: Tellstick Binding</name>
<properties>
<bnd.importpackage>!com.luckycatlabs.*,!com.jcraft.jzlib.*,!org.apache.commons.cli.*,!org.eclipse.swt.*</bnd.importpackage>
<dep.noembedding>netty-transport-native-unix-common,netty-common,netty-transport,netty-transport-native-epoll,netty-buffer,netty-resolver,netty-codec,netty-codec-http,netty-handler</dep.noembedding>
</properties>
<dependencies>
<!-- JNA -->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>4.5.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.tellstick</groupId>
<artifactId>javatellstick</artifactId>
<version>1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client</artifactId>
<version>2.10.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client-netty-utils</artifactId>
<version>2.10.4</version>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-socks</artifactId>
<version>4.1.34.Final</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-kqueue</artifactId>
<version>4.1.34.Final</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler-proxy</artifactId>
<version>4.1.34.Final</version>
</dependency>
<dependency>
<groupId>com.typesafe.netty</groupId>
<artifactId>netty-reactive-streams</artifactId>
<version>1.0.8</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-unix-common</artifactId>
<version>4.1.34.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec</artifactId>
<version>4.1.34.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http</artifactId>
<version>4.1.34.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
<version>4.1.34.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
<version>4.1.34.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver</artifactId>
<version>4.1.34.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport</artifactId>
<version>4.1.34.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>4.1.34.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-buffer</artifactId>
<version>4.1.34.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.reactivestreams</groupId>
<artifactId>reactive-streams</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
pagm
(Patrik Granholm)
January 16, 2020, 6:21pm
548
You need to update the pom.xml file and rebuild the plugin yourself.
You find the plugin in
openhab-addons/bundles/org.openhab.binding.tellstick
Link to openhab github: https://github.com/openhab/openhab-addons
Hello.
I’ve tried to build the add-ons now for a couple of different 2.5.x versions now but I always get the same error on just the tellstick addon, all other addons seem to build okay. The only thing I have changed are the two verion references in the pom file.
I ran the command “mvn clean install -DskipTests” in the root folder openhab-addons of the project.
Does anyone understand what is wrong?
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:15 h
[INFO] Finished at: 2020-02-17T20:49:15+01:00
[INFO] ------------------------------------------------------------------------
[INFO] Static code analysis summary report is available in:
[INFO] file:/C:/Users/Christian/Documents/GitHub/openhab-addons/target/summary_report.html
[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.7:verify (karaf-feature-verification) on project org.openhab.binding.tellstick: Feature resolution failed for [openhab-binding-tellstick/2.5.2.SNAPSHOT]
[ERROR] Message: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-tellstick; type=karaf.feature; version=2.5.2.SNAPSHOT; filter:="(&(osgi.identity=openhab-binding-tellstick)(type=karaf.feature)(version>=2.5.2.SNAPSHOT))" [caused by: Unable to resolve openhab-binding-tellstick/2.5.2.SNAPSHOT: missing requirement [openhab-binding-tellstick/2.5.2.SNAPSHOT] osgi.identity; osgi.identity=org.openhab.binding.tellstick; type=osgi.bundle; version="[2.5.2.202002171948,2.5.2.202002171948]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.binding.tellstick/2.5.2.202002171948: missing requirement [org.openhab.binding.tellstick/2.5.2.202002171948] osgi.wiring.package; filter:="(&(osgi.wiring.package=io.netty.channel.kqueue)(version>=4.1.0)(!(version>=5.0.0)))"]]
[ERROR] Repositories: {
[ERROR] file:C:\Users\Christian\Documents\GitHub\openhab-addons\bundles\org.openhab.binding.tellstick\target/feature/feature.xml
[ERROR] mvn:org.apache.karaf.features/framework/4.2.7/xml/features
[ERROR] mvn:org.apache.karaf.features/standard/4.2.7/xml/features
[ERROR] mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/2.5.0/xml/features
[ERROR] mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-tp/2.5.0/xml/features
[ERROR] mvn:org.ops4j.pax.web/pax-web-features/7.2.11/xml/features
[ERROR] }
[ERROR] Resources: {
[ERROR] mvn:com.eclipsesource.jaxrs/publisher/5.3.1
[ERROR] mvn:com.google.guava/failureaccess/1.0.1
[ERROR] mvn:com.google.guava/guava/18.0
[ERROR] mvn:com.google.guava/guava/27.1-jre
[ERROR] mvn:commons-codec/commons-codec/1.6
[ERROR] mvn:commons-collections/commons-collections/3.2.1
[ERROR] mvn:commons-io/commons-io/2.2
[ERROR] mvn:commons-lang/commons-lang/2.6
[ERROR] mvn:commons-net/commons-net/3.3
[ERROR] mvn:de.jollyday/jollyday/0.5.8
[ERROR] mvn:de.maggu2810.p2redist/com.google.inject/3.0.0.v201312141243
[ERROR] mvn:de.maggu2810.p2redist/org.antlr.runtime/3.2.0.v201101311130
[ERROR] mvn:io.netty/netty-buffer/4.1.42.Final
[ERROR] mvn:io.netty/netty-codec-http/4.1.42.Final
[ERROR] mvn:io.netty/netty-codec-mqtt/4.1.42.Final
[ERROR] mvn:io.netty/netty-codec/4.1.42.Final
[ERROR] mvn:io.netty/netty-common/4.1.42.Final
[ERROR] mvn:io.netty/netty-handler/4.1.42.Final
I see you’re trying to build a recent development snapshot (2.5.2.2020-02-17@19:48).
Rewriting the 2 relevant log entries from your build failure log for clarity:
It appears to me that the build environment cannot find a valid version for io.netty.channel.kqueue
.
1 Like
So, how does a SNAPSHOT build relate to the MILESTONE build topic of this thread??? (Hint: There are currently NO current Milestone builds)
rlkoshak
(Rich Koshak)
April 1, 2020, 1:56pm
554