Thank you for your answer. I’m now working on a brand new raspbian image for OpenHAB 2.1 (my openhab 1.8.3 installation is on another SD).
It seems to me that the fritzaha binding cannot be deployed on oh 2.1 because it has not been “upgraded” to version 1.9 and thererefore it cannot work with the compatibility layer. On the other hand, the new avmfritz binding covers part of the functionality (but not the one that I critically need, i.e. the fast reading). Should I give up trying to use fritzaha 1.8.3 and ask to the avmfritz binding developer to include the “fast read” functionality"?
Here’s what I tried so far:
I followed strictly the “text based” guide (http://docs.openhab.org/tutorials/migration#text-based)
-
I modify the runtime.cfg file
org.eclipse.smarthome.persistence:default=mapdb
autoapprove:enabled=false
org.eclipse.smarthome.links:autoLinks=false
-
I modify the addon.cfg package
package=expert
remote=true
legacy = true
binding=fritzaha
The openhab.log does not show any trace of the binding
2017-11-19 10:33:19.850 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.27.33:8080
2017-11-19 10:33:19.859 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.27.33:8443
2017-11-19 10:33:34.308 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-11-19 10:33:34.767 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2017-11-19 10:33:35.093 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-11-19 10:33:35.418 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-11-19 10:33:35.524 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
I log into the karaf console and get a list all bundles and It confirms that the binding is not installed
START LEVEL 100 , List Threshold: 50
ID | State | Lvl | Version | Name
9 | Active | 80 | 5.3.1.201602281253 | OSGi JAX-RS Connector
10 | Active | 80 | 2.3.1 | Gson
11 | Active | 80 | 18.0.0 | Guava: Google Core Libraries for Java
12 | Active | 80 | 3.0.0.v201312141243 | Google Guice (No AOP)
13 | Active | 80 | 1.5.8 | swagger-annotations
14 | Active | 80 | 3.19.0.GA | Javassist
16 | Active | 80 | 3.5.2 | JmDNS
19 | Active | 80 | 1.1.0.Final | Bean Validation API
21 | Active | 80 | 2.0.1 | javax.ws.rs-api
23 | Active | 80 | 3.2.0.v201101311130 | ANTLR Runtime
26 | Active | 80 | 1.6.0 | Commons Codec
27 | Active | 80 | 3.2.1 | Commons Collections
28 | Active | 80 | 1.1 | Commons Exec
29 | Active | 80 | 2.2.0 | Commons IO
30 | Active | 80 | 2.6 | Commons Lang
35 | Active | 80 | 4.2.3 | Apache HttpClient OSGi bundle
36 | Active | 80 | 4.2.3 | Apache HttpCore OSGi bundle
57 | Active | 80 | 4.0.8 | Apache Karaf :: Wrapper :: Core
58 | Active | 80 | 3.1.0.7 | Apache ServiceMix :: Bundles :: commons-httpclient
63 | Active | 80 | 2.11.0.v20150805-0538 | EMF Common
64 | Active | 80 | 2.11.1.v20150805-0538 | EMF Ecore
65 | Active | 80 | 2.11.1.v20150805-0538 | EMF XML/XMI Persistence
66 | Active | 80 | 3.8.0.v20160509-1230 | Common Eclipse Runtime
67 | Active | 80 | 3.6.100.v20160223-2218 | Extension Registry Support
94 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Config Core
95 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Configuration Discovery
96 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Config Dispatcher
97 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome Config XML
98 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Core
99 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Core Audio
100 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome AutoUpdate Binding
101 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Core Binding XML
102 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Core ID
103 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Core Persistence
104 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Scheduler Service
105 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Core Thing
106 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome Core Thing XML
107 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Transformation Service
108 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Core Voice
109 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Console
110 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Console for OSGi runtime Karaf
111 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome JavaSound I/O, Fragments: 169
112 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Monitor
113 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Net I/O Bundle
114 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome REST Interface Bundle
115 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Core REST API
116 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome REST mDNS Announcer
117 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Sitemap REST API
118 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome SSE REST API
119 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Voice REST API
120 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Bonjour/MDS Service Discovery Bundle
121 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Web Audio Support
122 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Model Core
123 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Item Model
124 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Item Model Runtime
125 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Persistence Model
126 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Persistence Runtime
127 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Rule Model
128 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Rule Runtime
129 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Script
130 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Script Runtime
131 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Sitemap Model
132 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Sitemap Runtime
133 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Thing Model
134 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Thing Model Runtime
135 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Json Storage Service
136 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome UI
137 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome UI Icons
138 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Classic IconSet
139 | Active | 80 | 2.9.2 | Xtend Runtime Library
140 | Active | 80 | 2.9.2 | Xtend Macro Interfaces
141 | Active | 80 | 2.9.2 | Xtext
142 | Active | 80 | 2.9.2 | Xtext Common Types
143 | Active | 80 | 2.9.2 | JSR-45 Smap installer
144 | Active | 80 | 2.9.2 | Xtext Utility
145 | Active | 80 | 2.9.2.v20160428-1452 | Xbase Model
146 | Active | 80 | 2.9.2 | Xbase Runtime Library
162 | Active | 80 | 2.2.0 | JUPnP Library
163 | Active | 80 | 1.9.6 | MIME streaming extension
164 | Active | 80 | 5.0.2 | Require-Bundle Fix :: org.objectweb.asm
166 | Active | 90 | 2.1.0 | openHAB Core
167 | Active | 80 | 2.1.0 | openHAB Karaf Integration
169 | Resolved | 80 | 2.1.0 | openHAB Sound Support, Hosts: 111
170 | Active | 80 | 2.1.0 | openHAB Dashboard UI
175 | Active | 80 | 3.2.0 | Commons Net
176 | Active | 80 | 2.1.0 | openHAB 1.x Compatibility Layer
177 | Active | 80 | 1.1.1.201605111122 | Swagger Provider
178 | Active | 80 | 2.4.5 | Jackson-annotations
179 | Active | 80 | 2.4.5 | Jackson-core
180 | Active | 80 | 2.4.5 | jackson-databind
181 | Active | 80 | 2.4.5 | Jackson-dataformat-YAML
182 | Active | 80 | 2.1.0 | json-path
183 | Active | 80 | 1.5.8 | swagger-core
184 | Active | 80 | 1.5.8 | swagger-jaxrs
185 | Active | 80 | 1.5.8 | swagger-models
186 | Active | 80 | 2.2 | json-smart
187 | Active | 80 | 3.4.0 | Apache Commons Lang
188 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome Exec Transformation Service
189 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome JavaScript Transformation Service
190 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome JSonPath Transformation Service
191 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome Map Transformation Service
192 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome RegEx Transformation Service
193 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome Scale Transformation Service
194 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome XPath Transformation Service
195 | Active | 75 | 0.9.0.b5 | Eclipse SmartHome Xslt Transformation Service
196 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Basic UI, Fragments: 200
197 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome WebApp UI
198 | Active | 80 | 0.9.0.b5 | Eclipse SmartHome Paper UI, Fragments: 204
199 | Active | 80 | 2.1.0 | openHAB REST Documentation
200 | Resolved | 75 | 2.1.0 | openHAB Basic UI Fragment, Hosts: 196
201 | Active | 75 | 2.1.0 | openHAB Classic UI Fragment
202 | Active | 80 | 2.1.0 | HABmin User Interface
203 | Active | 80 | 2.1.0 | HABPanel User Interface
204 | Resolved | 75 | 2.1.0 | openHAB Paper UI Theme Fragment, Hosts: 198
205 | Active | 80 | 0.9.10.v20160429-1435 | reflections (wrap)
206 | Active | 80 | 1.5.8.v20160511-1038 | swagger-jersey2-jaxrs (wrap)
I then looked at the wiki:The fritzaha binding description appears on the following page
http://docs.openhab.org/v2.1.0/addons/bindings/fritzaha1/readme.html
listed as a manual install binding (but not a legacy binding) on the following page
http://docs.openhab.org/v2.1.0/addons/bindings.html
The description page tells that a binding explicitly developed for openhab 2 is
http://docs.openhab.org/v2.1.0/addons/bindings/avmfritz/readme.html
but the name of the binding is different (avmfritz vs fritzaha1)
According to the wiki page on the migration
(http://docs.openhab.org/tutorials/migration#installing-unofficially-supported-openhab-1x-add-ons)
“Therefore the first steps will be to get it running using the 1.9 version of the bindings installed through openHAB 2’s new add-on management system.”
Moreover the binding overview page states, for manual install bindings that
“Many openHAB 1 bindings have not yet completed validation for inclusion in the distribution; however, they may indeed work properly under openHAB 2. All openHAB 1 addons can be downloaded in a zip file (1.9.0). We need your help testing them so that they may be easily installed in a future distribution. Please see the compatibility layer documentation and also search the openHAB community forum for the latest information and steps for manual installation”
But the zip file does not contain the 1.9.0 version of the fritzaha binding
Sorry for the long post, but I’m really stuck now.
Thank you for your kind help
LionHe