Synology und modbus.e3dc-Binding

Einrichtung der openHAB Umgebung und allgemeine Konfigurationsthemen.

Moderatoren: seppy, udo1toni

Antworten
asdfsafd
Beiträge: 2
Registriert: 20. Okt 2020 20:51
Answers: 0

Synology und modbus.e3dc-Binding

Beitrag von asdfsafd »

Kann mir jemand berichten, wie er das e3dc-Modbus-Binding erfolgreich auf der Synology zum Laufen gebracht hat? Mir ist es nur einmal gelungen. Und zwar mit dem aktuellen 2.5.2er spk-Paket und dem org.openhab.binding.modbus.e3dc-2.5.8-SNAPSHOT.jar. Allerdings hat ein anderes Bindung dann dieses Setup zerschossen und es lief nie mehr.

Alle anderen Versuche, manuell Snapshots + e3dc-Modus-Binding auf der Synology zum Laufen zu bringen sind kläglich gescheitert:
2.5.8-Snapshot,
2.5.9-Snapshot,
2.5.10-Snapshots (von hier: https://openhab.jfrog.io/openhab/webapp ... 3033819142)

Bin gespannt, ob jemand helfen kann.

asdfsafd
Beiträge: 2
Registriert: 20. Okt 2020 20:51
Answers: 0

Re: Synology und modbus.e3dc-Binding

Beitrag von asdfsafd »

This is my working solution:

Code: Alles auswählen


                          __  _____    ____      
  ____  ____  ___  ____  / / / /   |  / __ )     
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  | 
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /      
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/     
    /_/                        2.5.2
                               Release Build   

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

openhab> feature:install openhab-transport-serial                                                                                                                                                                                                                                                                                               
openhab>  bundle:list -s |grep modbus                                                                                                                                                                                                                                                                                                           
 19 │ Installed │  80 │ 2.5.10.202010160410     │ org.openhab.binding.modbus
211 │ Installed │  80 │ 2.5.10.202010160410     │ org.openhab.binding.modbus.e3dc
212 │ Installed │  80 │ 2.5.10.202010160410     │ org.openhab.io.transport.modbus
openhab> bundle:restart 19 211 212
[size=85][i][b]Error executing command: Error restarting bundles:
	Unable to start bundle 19: Could not resolve module: org.openhab.binding.modbus [19]
  Unresolved requirement: Import-Package: org.openhab.io.transport.modbus
    -> Export-Package: org.openhab.io.transport.modbus; bundle-symbolic-name="org.openhab.io.transport.modbus"; bundle-version="2.5.10.202010160410"; version="2.5.10"; uses:="org.eclipse.smarthome.core.library.types,org.eclipse.smarthome.core.types,org.openhab.io.transport.modbus.endpoint"
       org.openhab.io.transport.modbus [212]
         Unresolved requirement: Import-Package: org.apache.commons.pool2; version="[2.8.0,3.0.0)"
  Unresolved requirement: Import-Package: org.openhab.io.transport.modbus.endpoint
    -> Export-Package: org.openhab.io.transport.modbus.endpoint; bundle-symbolic-name="org.openhab.io.transport.modbus"; bundle-version="2.5.10.202010160410"; version="2.5.10"

	Unable to start bundle 211: Could not resolve module: org.openhab.binding.modbus.e3dc [211]
  Unresolved requirement: Import-Package: org.openhab.io.transport.modbus
    -> Export-Package: org.openhab.io.transport.modbus; bundle-symbolic-name="org.openhab.io.transport.modbus"; bundle-version="2.5.10.202010160410"; version="2.5.10"; uses:="org.eclipse.smarthome.core.library.types,org.eclipse.smarthome.core.types,org.openhab.io.transport.modbus.endpoint"
       org.openhab.io.transport.modbus [212]
         Unresolved requirement: Import-Package: org.apache.commons.pool2; version="[2.8.0,3.0.0)"
  Unresolved requirement: Import-Package: org.openhab.binding.modbus.handler
    -> Export-Package: org.openhab.binding.modbus.handler; bundle-symbolic-name="org.openhab.binding.modbus"; bundle-version="2.5.10.202010160410"; version="2.5.10"; uses:="org.eclipse.smarthome.core.common.registry,org.eclipse.smarthome.core.thing,org.eclipse.smarthome.core.thing.binding,org.eclipse.smarthome.core.types,org.openhab.io.transport.modbus"
       org.openhab.binding.modbus [19]
         Unresolved requirement: Import-Package: org.openhab.io.transport.modbus
           -> Export-Package: org.openhab.io.transport.modbus; bundle-symbolic-name="org.openhab.io.transport.modbus"; bundle-version="2.5.10.202010160410"; version="2.5.10"; uses:="org.eclipse.smarthome.core.library.types,org.eclipse.smarthome.core.types,org.openhab.io.transport.modbus.endpoint"
         Unresolved requirement: Import-Package: org.openhab.io.transport.modbus.endpoint
           -> Export-Package: org.openhab.io.transport.modbus.endpoint; bundle-symbolic-name="org.openhab.io.transport.modbus"; bundle-version="2.5.10.202010160410"; version="2.5.10"

	Unable to start bundle 212: Could not resolve module: org.openhab.io.transport.modbus [212]
  Unresolved requirement: Import-Package: org.apache.commons.pool2; version="[2.8.0,3.0.0)"
[/b][/i][/size]
openhab> bundle:install https://repo1.maven.org/maven2/org/apache/commons/commons-pool2/2.8.3/commons-pool2-2.8.3.jar
Bundle IDs:                                                                                                                                                           Error executing command: Error installing bundles:
	Unable to install bundle https://repo1.maven.org/maven2/org/apache/commons/commons-pool2/2.8.3/commons-pool2-2.8.3.jar: org.osgi.framework.BundleException: Error reading bundle content.
openhab> bundle:install https://repo1.maven.org/maven2/org/apache/commons/commons-pool2/2.9.0/commons-pool2-2.9.0jar                                                 
Bundle IDs: 
Error executing command: Error installing bundles:
	Unable to install bundle https://repo1.maven.org/maven2/org/apache/commons/commons-pool2/2.9.0/commons-pool2-2.9.0jar: org.osgi.framework.BundleException: Error reading bundle content.
openhab> bundle:install https://repo1.maven.org/maven2/org/apache/commons/commons-pool2/2.9.0/commons-pool2-2.9.0.jar                                                 
Bundle ID: 221
openhab> bundle:list -s |grep modbus
 19 │ Active   │  80 │ 2.5.10.202010160410     │ org.openhab.binding.modbus
211 │ Active   │  80 │ 2.5.10.202010160410     │ org.openhab.binding.modbus.e3dc
212 │ Active   │  80 │ 2.5.10.202010160410     │ org.openhab.io.transport.modbus
openhab> bundle:restart 19 211 212
openhab> log
openhab> tail


Antworten