Innogy on Openhab 2.5 build #1577 throwing exceptions

I’m testing latest snapshot and noticed that Innogy binding is not working anymore… The bridge stays in ‘Initializing’ state no matter how long i let it to be. In the logs i get this.

2019-04-27 18:59:12.537 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    org/openhab/binding/innogysmarthome/internal/client/InnogyClient.initializeHttpClient()V @19: putfield
  Reason:
    Type 'com/google/api/client/json/jackson2/JacksonFactory' (current frame, stack[1]) is not assignable to 'com/google/api/client/json/JsonFactory'
  Current Frame:
    bci: @19
    flags: { }
    locals: { 'org/openhab/binding/innogysmarthome/internal/client/InnogyClient' }
    stack: { 'org/openhab/binding/innogysmarthome/internal/client/InnogyClient', 'com/google/api/client/json/jackson2/JacksonFactory' }
  Bytecode:
    0x0000000: 2abb 006c 59b7 006e b500 6f2a bb00 7159
    0x0000010: b700 73b5 0074 2ab4 0076 c700 122a bb00
    0x0000020: 7859 2ab4 003c b700 7ab5 0076 2abb 007c
    0x0000030: 59b8 007e b700 842a b400 6fb6 0087 2ab4
    0x0000040: 0074 b600 8b2a b400 76b6 008f bb00 9359
    0x0000050: 1295 b700 97b6 0098 bb00 9c59 2ab4 003c
    0x0000060: b600 9e2a b400 3cb6 00a2 b700 a5b6 00a8
    0x0000070: b500 acbb 00ae 592a 2ab4 00ac b700 b04c
    0x0000080: 2a2a b400 6f2b b600 b3b5 00b9 b1       
  Stackmap Table:
    same_frame(@44)

	at org.openhab.binding.innogysmarthome.internal.handler.InnogyBridgeHandler$Initializer.run(InnogyBridgeHandler.java:107) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

@oliver_kuhl are you aware of this? Maybe it’s an isolated case with my setup only, but then again, it has been working without any major issues for quite some time…?

Actually, there is smth that might have caused this (as i just noticed that it isn’t working on 2.4 either… i updated the firmware last night on the central unit…

Hi, it seems like my installation is offline as well. I wonder if the innogy guys deactivated the 1.0 API without any information?!? I already worked on the 1.1 API and got most things working, but I still need some time for the final checks and bugfixing.
I am currently not at home and do not have my private laptop with me. As my girlfriend is not able to fix it from home ;), I will only be able to work on it on May 11th again and release a first test version at that weekend. :frowning:

I can send someone the current code, if someone is able to compile it. BUT, it is based on a later OH version from dec or jan…

Well, I am a developer, but not much into java development, I’m ready to wait :stuck_out_tongue: Lucky for us, it stopped working just in right time… the :sun_with_face: weather is coming to Europe and no heating is needed atm :slight_smile:

But, if you want, you can share the code as I’m interested in learning java, at least for OH development purpose :blush:

Hi @suntribe,

Thanks for reporting. I have the slight feeling that your issue is related to the ongoing migration of our build environment. The related libraries got a version bump (see https://github.com/openhab/openhab2-addons/pull/5494) which maybe introduced the observed problem. Please open an issue in https://github.com/openhab/openhab2-addons/issues. Thanks.

@suntribe, please show bundle:list and bundle:tree-show <bundle>, replacing <bundle> with the number of the innogy-bundle. I have the feeling that something goes wrong with the dependencies.

@cweitkamp, @J-N-K tnx for help :slight_smile:

here are the export of bundle:list and bundle:tree-show for innogy binding

openhab> bundle:list
START LEVEL 100 , List Threshold: 50
 ID │ State   │ Lvl │ Version               │ Name
────┼─────────┼─────┼───────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────
 20 │ Active  │  80 │ 5.3.1.201602281253    │ OSGi JAX-RS Connector
 21 │ Active  │  80 │ 2.8.2.v20180104-1110  │ Gson: Google Json Library for Java
 22 │ Active  │  80 │ 18.0.0                │ Guava: Google Core Libraries for Java
 23 │ Active  │  80 │ 21.0.0                │ Guava: Google Core Libraries for Java
 24 │ Active  │  80 │ 3.0.0.v201312141243   │ Google Guice (No AOP)
 28 │ Active  │  80 │ 3.5.5                 │ JmDNS
 30 │ Active  │  80 │ 1.0.0                 │ Units of Measurement API
 32 │ Active  │  80 │ 1.1.0.Final           │ Bean Validation API
 34 │ Active  │  80 │ 2.0.1                 │ javax.ws.rs-api
 35 │ Active  │  80 │ 2.9.2                 │ Joda-Time
 36 │ Active  │  80 │ 3.2.0.v201101311130   │ ANTLR Runtime
 38 │ Active  │  80 │ 3.2.1                 │ Commons Collections
 39 │ Active  │  80 │ 1.1                   │ Commons Exec
 40 │ Active  │  80 │ 2.2.0                 │ Commons IO
 41 │ Active  │  80 │ 2.6                   │ Commons Lang
 50 │ Active  │  80 │ 4.2.4                 │ Apache Karaf :: OSGi Services :: Event
 65 │ Active  │  80 │ 1.4.7.1               │ Apache ServiceMix :: Bundles :: xstream
 67 │ Active  │  80 │ 4.12.0                │ Apache XBean OSGI Bundle Utilities
 68 │ Active  │  80 │ 4.12.0                │ Apache XBean :: Classpath Resource Finder
 69 │ Active  │  80 │ 2.12.0.v20160420-0247 │ EMF Common
 70 │ Active  │  80 │ 2.12.0.v20160420-0247 │ EMF Ecore
 71 │ Active  │  80 │ 2.11.0.v20160420-0247 │ EMF Change Model
 72 │ Active  │  80 │ 2.12.0.v20160420-0247 │ EMF XML/XMI Persistence
 73 │ Active  │  80 │ 3.9.0.v20170207-1454  │ Common Eclipse Runtime
 78 │ Active  │  80 │ 9.4.11.v20180605      │ Jetty :: Http Utility
 85 │ Active  │  80 │ 9.4.12.v20180830      │ Jetty :: Proxy
 97 │ Active  │  80 │ 9.4.11.v20180605      │ Jetty :: Websocket :: Common
104 │ Active  │  80 │ 0.6.0.v20181130-0903  │ org.eclipse.lsp4j
105 │ Active  │  80 │ 0.6.0.v20181130-0903  │ org.eclipse.lsp4j.jsonrpc
106 │ Active  │  80 │ 2.17.0.v20190304-0518 │ Xtend Runtime Library
107 │ Active  │  80 │ 2.17.0.v20190304-0518 │ Xtend Macro Interfaces
108 │ Active  │  80 │ 2.17.0.v20190304-0545 │ Xtext
109 │ Active  │  80 │ 2.17.0.v20190304-0626 │ Xtext Common Types
110 │ Active  │  80 │ 2.17.0.v20190304-0545 │ Xtext IDE Core
111 │ Active  │  80 │ 2.17.0.v20190304-0545 │ Xtext Utility
112 │ Active  │  80 │ 2.17.0.v20190304-0626 │ Xbase Model
113 │ Active  │  80 │ 2.17.0.v20190304-0626 │ Xbase Generic IDE Services
114 │ Active  │  80 │ 2.17.0.v20190304-0518 │ Xbase Runtime Library
129 │ Active  │  80 │ 1.9.6                 │ MIME streaming extension
131 │ Active  │  80 │ 7.0.0                 │ org.objectweb.asm.commons
132 │ Active  │  80 │ 7.0.0                 │ org.objectweb.asm.tree
133 │ Active  │  80 │ 2.5.0.201904260301    │ openHAB Core :: Bundles :: Core
134 │ Active  │  80 │ 2.5.0.201904260306    │ openHAB Core :: Bundles :: Audio
135 │ Active  │  80 │ 2.5.0.201904260316    │ openHAB Core :: Bundles :: OAuth2Client
136 │ Active  │  80 │ 2.5.0.201904260314    │ openHAB Core :: Bundles :: Binding XML
137 │ Active  │  90 │ 2.5.0.201904260311    │ openHAB Core :: Bundles :: Boot
138 │ Active  │  80 │ 2.5.0.201904260302    │ openHAB Core :: Bundles :: Configuration Core
139 │ Active  │  80 │ 2.5.0.201904260303    │ openHAB Core :: Bundles :: Configuration Discovery
140 │ Active  │  80 │ 2.5.0.201904260321    │ openHAB Core :: Bundles :: Configuration mDNS Discovery
141 │ Active  │  80 │ 2.5.0.201904260322    │ openHAB Core :: Bundles :: Configuration Dispatcher
142 │ Active  │  75 │ 2.5.0.201904260314    │ openHAB Core :: Bundles :: Configuration XML
143 │ Active  │  80 │ 2.5.0.201904260315    │ openHAB Core :: Bundles :: ID
144 │ Active  │  80 │ 2.5.0.201904260302    │ openHAB Core :: Bundles :: Console
145 │ Active  │  80 │ 2.5.0.201904260317    │ openHAB Core :: Bundles :: Console for OSGi runtime Karaf
146 │ Active  │  80 │ 2.5.0.201904260306    │ openHAB Core :: Bundles :: HTTP Interface
148 │ Active  │  80 │ 2.5.0.201904260318    │ openHAB Core :: Bundles :: Monitor
149 │ Active  │  80 │ 2.5.0.201904260303    │ openHAB Core :: Bundles :: Network I/O
150 │ Active  │  80 │ 2.5.0.201904260314    │ openHAB Core :: Bundles :: REST Interface
151 │ Active  │  80 │ 2.5.0.201904260318    │ openHAB Core :: Bundles :: REST Interface
152 │ Active  │  80 │ 2.5.0.201904260319    │ openHAB Core :: Bundles :: REST mDNS Announcer
153 │ Active  │  80 │ 2.5.0.201904260319    │ openHAB Core :: Bundles :: REST JAX-RS Optimizations
154 │ Active  │  80 │ 2.5.0.201904260319    │ openHAB Core :: Bundles :: Sitemap REST Interface
155 │ Active  │  80 │ 2.5.0.201904260319    │ openHAB Core :: Bundles :: SSE Interface
156 │ Active  │  80 │ 2.5.0.201904260320    │ openHAB Core :: Bundles :: Voice REST Interface
157 │ Active  │  80 │ 2.5.0.201904260316    │ openHAB Core :: Bundles :: mDNS Service
158 │ Active  │  80 │ 2.5.0.201904260313    │ openHAB Core :: Bundles :: Karaf Integration
159 │ Active  │  80 │ 2.5.0.201904260304    │ openHAB Core :: Bundles :: Model Core
160 │ Active  │  80 │ 2.5.0.201904260312    │ openHAB Core :: Bundles :: Model Items
161 │ Active  │  80 │ 2.5.0.201904260324    │ openHAB Core :: Bundles :: Model Item IDE
162 │ Active  │  80 │ 2.5.0.201904260325    │ openHAB Core :: Bundles :: Model Items Runtime
163 │ Active  │  80 │ 2.5.0.201904260328    │ openHAB Core :: Bundles :: Language Server
164 │ Active  │  80 │ 2.5.0.201904260306    │ openHAB Core :: Bundles :: Model Persistence
165 │ Active  │  80 │ 2.5.0.201904260325    │ openHAB Core :: Bundles :: Model Persistence IDE
166 │ Active  │  80 │ 2.5.0.201904260329    │ openHAB Core :: Bundles :: Model Persistence Runtime
167 │ Active  │  80 │ 2.5.0.201904260309    │ openHAB Core :: Bundles :: Model Rules
168 │ Active  │  80 │ 2.5.0.201904260325    │ openHAB Core :: Bundles :: Model Rule IDE
169 │ Active  │  80 │ 2.5.0.201904260310    │ openHAB Core :: Bundles :: Model Rules Runtime
170 │ Active  │  80 │ 2.5.0.201904260307    │ openHAB Core :: Bundles :: Model Script
171 │ Active  │  80 │ 2.5.0.201904260326    │ openHAB Core :: Bundles :: Model Script IDE
172 │ Active  │  80 │ 2.5.0.201904260329    │ openHAB Core :: Bundles :: Model Script Runtime
173 │ Active  │  80 │ 2.5.0.201904260311    │ openHAB Core :: Bundles :: Model Sitemap
174 │ Active  │  80 │ 2.5.0.201904260326    │ openHAB Core :: Bundles :: Model Sitemap IDE
175 │ Active  │  80 │ 2.5.0.201904260329    │ openHAB Core :: Bundles :: Model Sitemap Runtime
176 │ Active  │  80 │ 2.5.0.201904260327    │ openHAB Core :: Bundles :: Model Thing
177 │ Active  │  80 │ 2.5.0.201904260328    │ openHAB Core :: Bundles :: Model Thing IDE
178 │ Active  │  80 │ 2.5.0.201904260329    │ openHAB Core :: Bundles :: Model Thing Runtime
179 │ Active  │  80 │ 2.5.0.201904260305    │ openHAB Core :: Bundles :: Persistence
180 │ Active  │  80 │ 2.5.0.201904260303    │ openHAB Core :: Bundles :: Scheduler Service
181 │ Active  │  80 │ 2.5.0.201904260315    │ openHAB Core :: Bundles :: Semantics
182 │ Active  │  80 │ 2.5.0.201904260330    │ openHAB Core :: Bundles :: JSON Storage
183 │ Active  │  80 │ 2.5.0.201904260302    │ openHAB Core :: Bundles :: Thing
184 │ Active  │  75 │ 2.5.0.201904260315    │ openHAB Core :: Bundles :: Thing XML
185 │ Active  │  80 │ 2.5.0.201904260306    │ openHAB Core :: Bundles :: Transformation Service
186 │ Active  │  80 │ 2.5.0.201904260312    │ openHAB Core :: Bundles :: UI
187 │ Active  │  80 │ 2.5.0.201904260329    │ openHAB Core :: Bundles :: UI Icon Support
188 │ Active  │  80 │ 2.5.0.201904260307    │ openHAB Core :: Bundles :: Voice
189 │ Active  │  80 │ 2.5.0.201904152341    │ openHAB UI :: Dashboard UI
198 │ Active  │  80 │ 1.0.2                 │ Units of Measurement Common Library
199 │ Active  │  80 │ 1.0.8                 │ Units of Measurement Implementation for Java SE
200 │ Active  │  80 │ 2.5.0.201904241247    │ Sony Binding
201 │ Active  │  80 │ 2.5.0.201901260300    │ IpCamera Binding
204 │ Active  │  80 │ 1.0.7                 │ Californium (Cf) OSGi Bundle
205 │ Active  │  80 │ 2.9.8                 │ Jackson-annotations
206 │ Active  │  80 │ 2.9.8                 │ Jackson-core
207 │ Active  │  80 │ 2.9.8                 │ jackson-databind
208 │ Active  │  80 │ 20.0.0                │ Guava: Google Core Libraries for Java
209 │ Active  │  80 │ 1.27.0                │ Google HTTP Client Library for Java
210 │ Active  │  80 │ 1.27.0                │ Google OAuth Client Library for Java
211 │ Active  │  80 │ 2.6.0                 │ Protocol Buffer Java API
212 │ Active  │  80 │ 2.1.0                 │ json-path
213 │ Active  │  80 │ 3.14.0                │ nrjavaserial
214 │ Active  │  80 │ 3.15.0.OH2            │ nrjavaserial
215 │ Active  │  80 │ 3.12.1                │ OkHttp
216 │ Active  │  80 │ 1.15.0                │ Okio
217 │ Active  │  80 │ 1.1.6                 │ com.zsmartsystems.zigbee
218 │ Active  │  80 │ 1.1.6                 │ com.zsmartsystems.zigbee.dongle.cc2531
219 │ Active  │  80 │ 1.1.6                 │ com.zsmartsystems.zigbee.dongle.ember
220 │ Active  │  80 │ 1.1.6                 │ com.zsmartsystems.zigbee.dongle.telegesis
221 │ Active  │  80 │ 1.1.6                 │ com.zsmartsystems.zigbee.dongle.xbee
222 │ Active  │  80 │ 1.0.0                 │ Engine.IO Client
223 │ Active  │  80 │ 1.0.0                 │ Socket.IO Client
224 │ Active  │  80 │ 1.9.2                 │ Jackson JSON processor
225 │ Active  │  80 │ 1.9.2                 │ Data mapper for Jackson JSON processor
226 │ Active  │  80 │ 1.0.1                 │ JLayer
227 │ Active  │  80 │ 20180813.0.0          │ JSON in Java
228 │ Active  │  80 │ 2.2                   │ json-smart
229 │ Active  │  80 │ 1.10.0                │ Apache Commons Codec
230 │ Active  │  80 │ 3.3.0                 │ Commons Net
231 │ Active  │  80 │ 4.2.3                 │ Apache HttpClient OSGi bundle
232 │ Active  │  80 │ 4.2.3                 │ Apache HttpCore OSGi bundle
233 │ Active  │  80 │ 3.1.0.7               │ Apache ServiceMix :: Bundles :: commons-httpclient
234 │ Active  │  80 │ 1.0.7                 │ element-connector
235 │ Active  │  80 │ 1.0.7                 │ Scandium (Sc) Core
236 │ Active  │  80 │ 1.2.0                 │ Paho MQTT Client
237 │ Active  │  80 │ 2.5.2                 │ JUPnP Library
238 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB Telegram Action
239 │ Active  │  80 │ 2.5.0.201904260406    │ openHAB Add-ons :: Bundles :: Airquality Binding
240 │ Active  │  80 │ 2.5.0.201904260405    │ openHAB Add-ons :: Bundles :: Astro Binding
241 │ Active  │  80 │ 2.5.0.201904260407    │ openHAB Add-ons :: Bundles :: Chromecast Binding
242 │ Active  │  80 │ 2.5.0.201904260408    │ openHAB Add-ons :: Bundles :: Exec Binding
243 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB Expire Binding
244 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB GPIO Binding
245 │ Active  │  80 │ 2.5.0.201904260409    │ openHAB Add-ons :: Bundles :: GPSTracker Binding
246 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB HTTP Binding
247 │ Active  │  80 │ 2.5.0.201904260409    │ openHAB Add-ons :: Bundles :: iCloud Binding
248 │ Active  │  80 │ 2.5.0.201904260410    │ openHAB Add-ons :: Bundles :: innogy Smarthome Binding
249 │ Active  │  80 │ 2.5.0.201904260410    │ openHAB Add-ons :: Bundles :: Kodi Binding
250 │ Active  │  80 │ 2.5.0.201904260411    │ openHAB Add-ons :: Bundles :: Xiaomi Mi Smart Home Binding
251 │ Active  │  80 │ 2.5.0.201904260411    │ openHAB Add-ons :: Bundles :: Xiaomi Mi IO Binding
252 │ Active  │  80 │ 2.5.0.201904260420    │ openHAB Add-ons :: Bundles :: MQTT Broker Binding
253 │ Active  │  81 │ 2.5.0.201904260420    │ openHAB Add-ons :: Bundles :: MQTT Things and Channels
254 │ Active  │  82 │ 2.5.0.201904260420    │ openHAB Add-ons :: Bundles :: MQTT HomeAssistant Convention
255 │ Active  │  82 │ 2.5.0.201904260420    │ openHAB Add-ons :: Bundles :: MQTT Homie Convention
256 │ Active  │  80 │ 2.5.0.201904260412    │ openHAB Add-ons :: Bundles :: Network Binding
257 │ Active  │  80 │ 2.5.0.201904260413    │ openHAB Add-ons :: Bundles :: OpenWeatherMap Binding
258 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB SNMP Binding
259 │ Active  │  80 │ 2.5.0.201904260415    │ openHAB Add-ons :: Bundles :: TRÅDFRI Binding
260 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB Weather Binding
261 │ Active  │  80 │ 2.5.0.201904260354    │ ZigBee Binding
262 │ Active  │  80 │ 2.5.0.201904260354    │ ZigBee CC2531 Binding
263 │ Active  │  80 │ 2.5.0.201904260354    │ ZigBee Ember Binding
264 │ Active  │  80 │ 2.5.0.201904260354    │ ZigBee Telegesis Binding
265 │ Active  │  80 │ 2.5.0.201904260354    │ ZigBee XBee Binding
266 │ Active  │  80 │ 2.5.0.201904260304    │ openHAB Core :: Bundles :: Automation
267 │ Active  │  80 │ 2.5.0.201904260323    │ openHAB Core :: Bundles :: Automation Media Modules
268 │ Active  │  80 │ 2.5.0.201904260323    │ openHAB Core :: Bundles :: Automation Script Modules
269 │ Active  │  80 │ 2.5.0.201904260323    │ openHAB Core :: Bundles :: Automation Script RuleSupport
270 │ Active  │  80 │ 2.5.0.201904260324    │ openHAB Core :: Bundles :: Automation REST API
271 │ Active  │  80 │ 2.5.0.201904260313    │ openHAB Core :: Bundles :: 1.x Compatibility Layer
272 │ Active  │  80 │ 2.5.0.201904260322    │ openHAB Core :: Bundles :: Configuration UPnP Discovery
273 │ Active  │  80 │ 2.5.0.201904260322    │ openHAB Core :: Bundles :: Configuration USB-Serial Discovery
274 │ Active  │  80 │ 2.5.0.201904260322    │ openHAB Core :: Bundles :: Configuration USB-Serial Discovery for Linux using sysfs scanning
275 │ Active  │  80 │ 2.5.0.201904260323    │ openHAB Core :: Bundles :: Configuration Serial
276 │ Active  │  80 │ 2.5.0.201904260320    │ openHAB Core :: Bundles :: MQTT Transport
277 │ Active  │  80 │ 2.5.0.201904260316    │ openHAB Core :: Bundles :: Serial Transport
278 │ Active  │  80 │ 2.5.0.201904260320    │ openHAB Core :: Bundles :: Serial Transport for RXTX
279 │ Active  │  80 │ 2.5.0.201904260321    │ openHAB Core :: Bundles :: Serial Transport for RFC2217
280 │ Active  │  80 │ 2.5.0.201904260321    │ openHAB Core :: Bundles :: UPnP Transport
281 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB Google Calendar
282 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB GPIO IO Module
283 │ Active  │  80 │ 2.5.0.201904260417    │ openHAB Add-ons :: Bundles :: Java Sound Support
284 │ Active  │  80 │ 2.5.0.201904260418    │ openHAB Add-ons :: Bundles :: openHAB Cloud Connector
285 │ Active  │  80 │ 2.5.0.201904260418    │ openHAB Add-ons :: Bundles :: Web Audio Support
286 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB InfluxDB Persistence bundle
287 │ Active  │  80 │ 1.14.0.201904160308   │ openHAB MapDB Persistence Bundle
288 │ Active  │  75 │ 2.5.0.201904260418    │ openHAB Add-ons :: Bundles :: JavaScript Transformation Service
289 │ Active  │  75 │ 2.5.0.201904260418    │ openHAB Add-ons :: Bundles :: JSonPath Transformation Service
290 │ Active  │  75 │ 2.5.0.201904260418    │ openHAB Add-ons :: Bundles :: Map Transformation Service
291 │ Active  │  75 │ 2.5.0.201904260418    │ openHAB Add-ons :: Bundles :: RegEx Transformation Service
292 │ Active  │  75 │ 2.5.0.201904260418    │ openHAB Add-ons :: Bundles :: Scale Transformation Service
293 │ Active  │  80 │ 2.5.0.201904152347    │ openHAB UI :: Basic UI
294 │ Active  │  80 │ 2.5.0.201904160002    │ openHAB UI :: Classic Icon Set
295 │ Active  │  80 │ 2.5.0.201904160001    │ openHAB UI :: Paper UI
296 │ Active  │  80 │ 2.5.0.201904152354    │ openHAB UI :: HABPanel user interface
297 │ Active  │  80 │ 0.11.0                │ ChromeCast Java API v2
298 │ Active  │  80 │ 1.4.199               │ H2 MVStore
299 │ Active  │  80 │ 0.12.1                │ Moquette MQTT Broker
300 │ Active  │  80 │ 4.1.34.Final          │ Netty/Buffer
301 │ Active  │  80 │ 4.1.34.Final          │ Netty/Codec
302 │ Active  │  80 │ 4.1.34.Final          │ Netty/Codec/MQTT
303 │ Active  │  80 │ 4.1.34.Final          │ Netty/Common
304 │ Active  │  80 │ 4.1.34.Final          │ Netty/Handler
305 │ Active  │  80 │ 4.1.34.Final          │ Netty/Resolver
306 │ Active  │  80 │ 4.1.34.Final          │ Netty/Transport
307 │ Waiting │  80 │ 2.5.0.201904260417    │ openHAB Add-ons :: Bundles :: IO :: MQTT Broker Moquette
308 │ Active  │  80 │ 1.1.1.201605111122    │ Swagger Provider
309 │ Active  │  80 │ 2.4.5                 │ Jackson-annotations
310 │ Active  │  80 │ 2.4.5                 │ Jackson-core
311 │ Active  │  80 │ 2.4.5                 │ jackson-databind
312 │ Active  │  80 │ 2.4.5                 │ Jackson-dataformat-XML
313 │ Active  │  80 │ 2.4.5                 │ Jackson-dataformat-YAML
314 │ Active  │  80 │ 2.4.5                 │ Jackson-module-JAXB-annotations
315 │ Active  │  80 │ 2.0.0                 │ FindbugsAnnotations
316 │ Active  │  80 │ 1.5.8                 │ swagger-annotations
317 │ Active  │  80 │ 1.5.8                 │ swagger-core
318 │ Active  │  80 │ 1.5.8                 │ swagger-jaxrs
319 │ Active  │  80 │ 1.5.8                 │ swagger-models
320 │ Active  │  80 │ 3.19.0.GA             │ Javassist
321 │ Active  │  80 │ 3.2.1                 │ Apache Commons Lang
322 │ Active  │  80 │ 2.5.0.201904160002    │ openHAB UI :: openHAB REST API Documentation
323 │ Active  │  80 │ 0.9.10.v20160429-1435 │ reflections (wrap)
324 │ Active  │  80 │ 3.1.4                 │ Stax2 API
325 │ Active  │  80 │ 1.5.8.v20160511-1038  │ swagger-jersey2-jaxrs (wrap)
326 │ Active  │  80 │ 1.7.0                 │ Google API Common
327 │ Active  │  80 │ 1.42.0                │ Google API GAX
328 │ Active  │  80 │ 0.13.0                │ Google Auth Library Credentials
329 │ Active  │  80 │ 0.13.0                │ Google Auth Library OAuth2 HTTP
330 │ Active  │  80 │ 2.5.0.201904260419    │ openHAB Add-ons :: Bundles :: Google Cloud Text-to-Speech
331 │ Active  │  80 │ 1.3.3                 │ ThreeTen backport

openhab> bundle:tree-show 248
Bundle org.openhab.binding.innogysmarthome [248] is currently ACTIVE

org.openhab.binding.innogysmarthome [248]
+- org.openhab.core.thing [183]
|  +- org.apache.felix.scr [42]
|  |  +- org.apache.felix.metatype [2]
|  |  +- org.apache.felix.configadmin [9]
|  |  |  +- org.apache.felix.coordinator [8]
|  |  +- org.osgi.util.promise [197]
|  |  |  +- org.osgi.util.function [196]
|  |  +- org.apache.karaf.shell.core [14]
|  |     +- org.apache.karaf.services.eventadmin [3]
|  |     |  +- org.apache.felix.metatype [2]
|  |     |  +- org.apache.felix.configadmin [9]
|  |     +- org.ops4j.pax.logging.pax-logging-api [6]
|  |     |  +- org.apache.karaf.services.eventadmin [3]
|  |     +- org.jline.reader [17]
|  |     |  +- org.jline.terminal [18]
|  |     |     +- org.fusesource.jansi [5]
|  |     +- org.apache.felix.configadmin [9]
|  |     +- org.jline.builtins [16]
|  |     |  +- org.jline.reader [17]
|  |     |  +- org.jline.terminal [18]
|  |     +- org.jline.terminal [18]
|  +- org.ops4j.pax.logging.pax-logging-api [6]
|  +- org.openhab.core.io.console [144]
|  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|  |  +- org.openhab.core [133]
|  |     +- org.apache.felix.scr [42]
|  |     +- org.apache.karaf.services.eventadmin [3]
|  |     +- org.ops4j.pax.logging.pax-logging-api [6]
|  |     +- tec.uom.se [199]
|  |     |  +- tec.uom.lib.uom-lib-common [198]
|  |     |  |  +- javax.measure.unit-api [30]
|  |     |  +- javax.measure.unit-api [30]
|  |     +- com.google.gson [21]
|  |     +- tec.uom.lib.uom-lib-common [198]
|  |     +- org.apache.commons.lang [41]
|  |     +- javax.measure.unit-api [30]
|  +- org.apache.commons.lang [41]
|  +- org.apache.commons.collections [38]
|  +- org.apache.commons.io [40]
|  +- javax.measure.unit-api [30]
|  +- org.openhab.core.config.core [138]
|  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|  |  +- com.google.gson [21]
|  |  +- org.apache.commons.lang [41]
|  |  +- org.openhab.core [133]
|  +- org.openhab.core [133]
+- org.openhab.io.gcal [281]
|  +- org.apache.felix.scr [42]
|  +- org.apache.karaf.services.eventadmin [3]
|  +- org.ops4j.pax.logging.pax-logging-api [6]
|  +- org.apache.felix.configadmin [9]
|  +- org.apache.commons.lang [41]
|  +- org.openhab.core.scheduler [180]
|  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|  |  +- javax.servlet-api [31]
|  |  +- org.apache.geronimo.specs.geronimo-jta_1.1_spec [44]
|  |  +- javax.mail [29]
|  |     +- org.apache.servicemix.specs.activation-api-1.1 [12]
|  +- joda-time [35]
|  +- org.openhab.core.compat1x [271]
|     +- org.apache.karaf.services.eventadmin [3]
|     +- org.openhab.core.persistence [179]
|     |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  +- org.openhab.core.config.core [138]
|     |  +- org.openhab.core [133]
|     +- org.openhab.core.model.script [170]
|     |  +- org.openhab.core.thing [183]
|     |  +- org.openhab.core.persistence [179]
|     |  +- org.openhab.core.io.console [144]
|     |  +- org.openhab.core.model.core [159]
|     |  |  +- org.apache.felix.scr [42]
|     |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  +- org.eclipse.xtext [108]
|     |  |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  +- org.apache.commons.collections [38]
|     |  |  +- org.apache.commons.lang [41]
|     |  |  +- org.apache.commons.io [40]
|     |  |  +- org.openhab.core.config.core [138]
|     |  |  +- org.eclipse.emf.common [69]
|     |  |  +- org.eclipse.emf.ecore [70]
|     |  |  +- org.openhab.core [133]
|     |  +- org.apache.commons.lang [41]
|     |  +- org.eclipse.xtext.xbase.lib [114]
|     |  +- org.openhab.core.scheduler [180]
|     |  +- org.openhab.core.transform [185]
|     |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  +- org.apache.commons.io [40]
|     |  |  +- org.openhab.core.config.core [138]
|     |  |  +- org.openhab.core [133]
|     |  +- org.openhab.core.voice [188]
|     |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  +- org.openhab.core.io.console [144]
|     |  |  +- org.openhab.core.audio [134]
|     |  |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  |  +- org.openhab.core.io.console [144]
|     |  |  |  +- javax.servlet-api [31]
|     |  |  |  +- org.apache.commons.lang [41]
|     |  |  |  +- org.ops4j.pax.web.pax-web-api [190]
|     |  |  |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  |  |  +- javax.servlet-api [31]
|     |  |  |  |  +- org.apache.xbean.finder [68]
|     |  |  |  |     +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  |  |     +- org.objectweb.asm.commons [131]
|     |  |  |  |     |  +- org.objectweb.asm.tree [132]
|     |  |  |  |     |  |  +- org.objectweb.asm [130]
|     |  |  |  |     |  +- org.objectweb.asm [130]
|     |  |  |  |     +- org.apache.xbean.bundleutils [67]
|     |  |  |  |     |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  |  |     +- org.objectweb.asm [130]
|     |  |  |  +- org.apache.commons.io [40]
|     |  |  |  +- org.openhab.core.config.core [138]
|     |  |  |  +- org.openhab.core.io.http [146]
|     |  |  |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  |  |  +- javax.servlet-api [31]
|     |  |  |  |  +- org.ops4j.pax.web.pax-web-api [190]
|     |  |  |  +- org.openhab.core [133]
|     |  |  +- org.apache.commons.lang [41]
|     |  |  +- org.openhab.core.config.core [138]
|     |  |  +- org.openhab.core [133]
|     |  +- org.openhab.core [133]
|     |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  +- com.google.guava [23]
|     |  +- org.openhab.core.audio [134]
|     |  +- org.apache.commons.io [40]
|     |  +- javax.measure.unit-api [30]
|     |  +- org.openhab.core.io.net [149]
|     |  |  +- org.eclipse.jetty.websocket.client [96]
|     |  |  |  +- org.eclipse.jetty.websocket.common [98]
|     |  |  |  |  +- org.eclipse.jetty.websocket.api [95]
|     |  |  |  |  |  +- org.apache.aries.spifly.dynamic.bundle [37]
|     |  |  |  |  +- org.eclipse.jetty.io [80]
|     |  |  |  |  |  +- org.eclipse.jetty.util [92]
|     |  |  |  |  |     +- org.apache.aries.spifly.dynamic.bundle [37]
|     |  |  |  |  |     +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  |  |  |     +- javax.servlet-api [31]
|     |  |  |  |  +- org.eclipse.jetty.util [92]
|     |  |  |  +- org.eclipse.jetty.websocket.api [95]
|     |  |  |  +- org.eclipse.jetty.xml [103]
|     |  |  |  |  +- org.apache.aries.spifly.dynamic.bundle [37]
|     |  |  |  |  +- org.eclipse.jetty.util [92]
|     |  |  |  +- org.eclipse.jetty.client [75]
|     |  |  |  |  +- org.eclipse.jetty.jmx [82]
|     |  |  |  |  |  +- org.eclipse.jetty.util [92]
|     |  |  |  |  +- org.eclipse.jetty.io [80]
|     |  |  |  |  +- org.eclipse.jetty.http [79]
|     |  |  |  |  |  +- org.apache.aries.spifly.dynamic.bundle [37]
|     |  |  |  |  |  +- org.eclipse.jetty.io [80]
|     |  |  |  |  |  +- javax.servlet-api [31]
|     |  |  |  |  |  +- org.eclipse.jetty.util [92]
|     |  |  |  |  +- org.eclipse.jetty.util [92]
|     |  |  |  +- org.eclipse.jetty.io [80]
|     |  |  |  +- org.eclipse.jetty.http [79]
|     |  |  |  +- org.eclipse.jetty.util [92]
|     |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  +- org.eclipse.jetty.client [75]
|     |  |  +- org.apache.commons.lang [41]
|     |  |  +- org.eclipse.jetty.http [79]
|     |  |  +- org.apache.commons.exec [39]
|     |  |  +- org.eclipse.jetty.util [92]
|     |  |  +- org.openhab.core [133]
|     |  +- org.openhab.core.model.persistence [164]
|     |  |  +- org.openhab.core.persistence [179]
|     |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  +- org.openhab.core.model.core [159]
|     |  |  +- com.google.guava [23]
|     |  |  +- org.eclipse.xtext.xbase.lib [114]
|     |  |  +- joda-time [35]
|     |  |  +- org.openhab.core [133]
|     |  +- joda-time [35]
|     +- org.openhab.core.ui [186]
|     |  +- org.openhab.core.persistence [179]
|     |  +- org.eclipse.jetty.proxy [85]
|     |  |  +- org.eclipse.jetty.client [75]
|     |  |  +- org.eclipse.jetty.io [80]
|     |  |  +- javax.servlet-api [31]
|     |  |  +- org.eclipse.jetty.http [79]
|     |  |  +- org.eclipse.jetty.util [92]
|     |  |  +- org.eclipse.jetty.server [89]
|     |  |     +- org.eclipse.jetty.jmx [82]
|     |  |     +- org.eclipse.jetty.io [80]
|     |  |     +- javax.servlet-api [31]
|     |  |     +- org.eclipse.jetty.http [79]
|     |  |     +- org.eclipse.jetty.util [92]
|     |  +- org.eclipse.jetty.client [75]
|     |  +- org.openhab.core.model.core [159]
|     |  +- javax.servlet-api [31]
|     |  +- org.apache.commons.lang [41]
|     |  +- org.ops4j.pax.web.pax-web-api [190]
|     |  +- org.eclipse.emf.ecore [70]
|     |  +- org.openhab.core.transform [185]
|     |  +- org.openhab.core [133]
|     |  +- org.eclipse.jetty.util [92]
|     |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  +- org.openhab.core.model.sitemap [173]
|     |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  +- org.openhab.core.model.core [159]
|     |  |  +- org.apache.felix.configadmin [9]
|     |  |  +- org.apache.commons.lang [41]
|     |  |  +- org.eclipse.xtext.xbase.lib [114]
|     |  |  +- org.openhab.core [133]
|     |  +- org.apache.commons.io [40]
|     |  +- javax.measure.unit-api [30]
|     |  +- org.eclipse.jetty.http [79]
|     |  +- org.openhab.core.io.http [146]
|     |  +- org.eclipse.emf.common [69]
|     +- javax.servlet-api [31]
|     +- org.apache.commons.collections [38]
|     +- org.apache.commons.lang [41]
|     +- org.ops4j.pax.web.pax-web-api [190]
|     +- org.openhab.core.config.core [138]
|     +- org.eclipse.emf.ecore [70]
|     +- org.openhab.core.transform [185]
|     +- org.apache.commons.exec [39]
|     +- org.openhab.core [133]
|     +- org.ops4j.pax.logging.pax-logging-api [6]
|     +- org.openhab.core.model.item [160]
|     |  +- org.openhab.core.thing [183]
|     |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  +- org.openhab.core.model.core [159]
|     |  +- org.openhab.core.config.core [138]
|     |  +- javax.measure.unit-api [30]
|     |  +- org.eclipse.xtext.xbase.lib [114]
|     |  +- org.openhab.core [133]
|     +- org.apache.servicemix.bundles.commons-httpclient [233]
|     |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  +- org.apache.commons.codec [229]
|     +- org.apache.commons.io [40]
|     +- org.eclipse.emf.common [69]
+- org.eclipse.jetty.websocket.client [96]
+- com.google.gson [21]
+- com.google.http-client.google-http-client [209]
|  +- org.apache.httpcomponents.httpclient [231]
|  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|  |  +- org.apache.httpcomponents.httpcore [232]
|  +- com.google.guava [208]
|  |  +- javax.annotation-api [26]
|  +- org.apache.httpcomponents.httpcore [232]
|  +- org.apache.commons.codec [229]
+- org.apache.commons.lang [41]
+- com.google.oauth-client [210]
|  +- com.google.http-client.google-http-client [209]
|  +- com.google.guava [208]
+- org.openhab.core.config.core [138]
+- javax.jmdns [28]
|  +- org.ops4j.pax.logging.pax-logging-api [6]
+- org.openhab.core [133]
+- org.eclipse.jetty.util [92]
+- org.ops4j.pax.logging.pax-logging-api [6]
+- org.eclipse.jetty.websocket.api [95]
+- org.openhab.core.config.discovery.mdns [140]
|  +- org.openhab.core.thing [183]
|  +- org.ops4j.pax.logging.pax-logging-api [6]
|  +- javax.jmdns [28]
|  +- org.openhab.core.config.discovery [139]
|  |  +- org.openhab.core.thing [183]
|  |  +- org.apache.felix.scr [42]
|  |  +- org.jupnp [237]
|  |  |  +- org.apache.felix.scr [42]
|  |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|  |  |  +- org.eclipse.jetty.client [75]
|  |  |  +- org.eclipse.jetty.io [80]
|  |  |  +- org.eclipse.jetty.servlet [90]
|  |  |  |  +- org.eclipse.jetty.jmx [82]
|  |  |  |  +- org.eclipse.jetty.io [80]
|  |  |  |  +- javax.servlet-api [31]
|  |  |  |  +- org.eclipse.jetty.http [79]
|  |  |  |  +- org.eclipse.jetty.server [89]
|  |  |  |  +- org.eclipse.jetty.util [92]
|  |  |  |  +- org.eclipse.jetty.security [87]
|  |  |  |     +- javax.servlet-api [31]
|  |  |  |     +- org.eclipse.jetty.http [79]
|  |  |  |     +- org.eclipse.jetty.server [89]
|  |  |  |     +- org.eclipse.jetty.util [92]
|  |  |  +- org.apache.felix.configadmin [9]
|  |  |  +- javax.servlet-api [31]
|  |  |  +- org.ops4j.pax.web.pax-web-api [190]
|  |  |  +- org.eclipse.jetty.http [79]
|  |  |  +- org.eclipse.jetty.util [92]
|  |  |  +- org.eclipse.jetty.server [89]
|  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|  |  +- org.openhab.core.io.console [144]
|  |  +- org.apache.felix.configadmin [9]
|  |  +- org.openhab.core.config.core [138]
|  |  +- org.openhab.core [133]
|  +- org.openhab.core.io.transport.mdns [157]
|     +- org.openhab.core.thing [183]
|     +- org.ops4j.pax.logging.pax-logging-api [6]
|     +- javax.jmdns [28]
|     +- org.openhab.core.config.discovery [139]
|     +- org.openhab.core [133]
+- org.apache.commons.io [40]
+- org.openhab.core.config.discovery [139]

WARNING: multiple bundles are exporting package com.google.common.base
- com.google.guava_21.0.0 [23]
- com.google.guava_20.0.0 [208]

WARNING: multiple bundles are exporting package com.google.common.util.concurrent
- com.google.guava_21.0.0 [23]
- com.google.guava_20.0.0 [208]

WARNING: multiple bundles are exporting package com.google.common.collect
- com.google.guava_21.0.0 [23]
- com.google.guava_20.0.0 [208]

I have a new version that is probably working (I can’t test it fully because I’m missing the Auth-Key).

However, it is a bit difficult to install. Would you be willing to give it a try? You have to drop this into your addons folder (uninstall the binding before!) and see if it starts. If not, use bundle:start <number> number and report back what is missing. I eliminated jackson in this version.

This is what i got after dropping the file in addons folder (i did remove old binding before)…

2019-04-28 17:27:01.398 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.innogysmarthome-fixdep.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.innogysmarthome [332]
  Unresolved requirement: Import-Package: com.google.api.client.auth.oauth2; version="[1.27.0,2.0.0)"
	at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]

then i tried to manually run bundle from the console and got this:

openhab> bundle:start 332
Error executing command: Error executing command on bundles:
	Error starting bundle 332: Could not resolve module: org.openhab.binding.innogysmarthome [332]
  Unresolved requirement: Import-Package: com.google.api.client.auth.oauth2; version="[1.27.0,2.0.0)"

hope this sheds some light on the possible cause of this behaviour… btw, thx for your help on this :slight_smile:

maybe this helps also:

openhab> bundle:diag 332
openHAB Add-ons :: Bundles :: innogy Smarthome Binding (332)
------------------------------------------------------------
Status: Installed
Unsatisfied Requirements:
osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.api.client.auth.oauth2)(&(version>=1.27.0)(!(version>=2.0.0))))"
osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.api.client.http)(&(version>=1.27.0)(!(version>=2.0.0))))"
osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.api.client.http.javanet)(&(version>=1.27.0)(!(version>=2.0.0))))"
osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.api.client.http.json)(&(version>=1.27.0)(!(version>=2.0.0))))"
osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.api.client.json)(&(version>=1.27.0)(!(version>=2.0.0))))"
osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.api.client.util)(&(version>=1.27.0)(!(version>=2.0.0))))"
Declarative Services
bundle:install mvn:com.google.oauth-client/google-oauth-client/1.27.0
bundle:install mvn:com.google.http-client/google-http-client/1.27.0
bundle:resolve 332
bundle:start 332

you might need one or more of

bundle:install mvn:org.apache.httpcomponents/httpcore-osgi/4.4.4
bundle:install mvn:org.apache.httpcomponents/httpclient-osgi/4.5.2
bundle:install mvn:com.google.guava/guava/20.0
bundle:install mvn:commons-codec/commons-codec/1.10

But please only install what is missing. We don’t want to install unncessary dependencies twice.

now the startup exception changed a bit

Error executing command: Error executing command on bundles:
	Error starting bundle 332: Could not resolve module: org.openhab.binding.innogysmarthome [332]
  Unresolved requirement: Import-Package: com.google.api.client.http; version="[1.27.0,2.0.0)"
  Unresolved requirement: Import-Package: com.google.api.client.auth.oauth2; version="[1.27.0,2.0.0)"
    -> Export-Package: com.google.api.client.auth.oauth2; bundle-symbolic-name="com.google.oauth-client"; bundle-version="1.27.0"; version="1.27.0"; uses:="com.google.api.client.http,com.google.api.client.json,com.google.api.client.util,com.google.api.client.util.store"
       com.google.oauth-client [334]
         Unresolved requirement: Import-Package: com.google.api.client.http; version="[1.27.0,2.0.0)"

installing this did start the binding… let me now test it if it will work…

@J-N-K it worked :wink: The bridge, both with all things came online… Will test it in next 30-ish mins and will let you know, but, you nailed the issue :slight_smile:

Acutaly, I can confirm even now that it works… no errors and all actions perform as they’re expected to… big thank you!

1 Like

Great. I’ll try to get that merged ASAP. It was my fault during migration.

the one who works makes mistakes… you guys are great. just keep up the great work. hopefully i might join you as well but as i said earlier in this thread, i’m a dev, but never worked with java…

Thanks! Will check it out when I am back. :slight_smile:

Would both of you assist me in refactoring to the OpenHAB internal http-Client? I would provide test-jars and you report if it works?

Sure, you can count on my assistance…

Sure, as soon as I am back.

Hey @J-N-K ,

maybe you can help me. I am working on the new binding version with API 1.1 support, which is a bigger rewrite.

I tried to do a fresh setup of Eclipse with based on the current docs and added the innogy SmartHome binding from the addons repository to eclipse as described. I opened app.bndrun, added org.openhab.binding.innogysmarthome to the “Run Requirements” and hit “Resolve”. That throws the following error:

Resolution failed. Capabilities satisfying the following requirements could not be found:
[<<INITIAL>>]
  ⇒ osgi.identity: (osgi.identity=org.openhab.binding.innogysmarthome)
      ⇒ [org.openhab.binding.innogysmarthome version=2.5.0.201906041917]
          ⇒ osgi.wiring.package: (&(osgi.wiring.package=com.google.api.client.auth.oauth2)(&(version>=1.27.0)(!(version>=2.0.0))))
[net.minidev.accessors-smart version=1.2.0]
  ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.objectweb.asm)(&(version>=5.0.0)(!(version>=6.0.0))))
[org.openhab.transform.jinja version=2.5.0.201906041608]
  ⇒ osgi.wiring.package: (&(osgi.wiring.package=com.hubspot.jinjava))
[org.apache.aries.jpa.container version=2.7.0]
  ⇒ osgi.service: (objectClass=javax.persistence.spi.PersistenceProvider)
[org.openhab.transform.bin2json version=2.5.0.201906041607]
  ⇒ osgi.wiring.package: (&(osgi.wiring.package=com.igormaznitsa.jbbp))
[org.openhab.binding.harmonyhub version=2.5.0.201906041549]
  ⇒ osgi.wiring.package: (&(osgi.wiring.package=com.digitaldan.harmony)(&(version>=1.1.0)(!(version>=2.0.0))))
[org.openhab.core.test version=2.5.0.201906040302]
  ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.junit))
[org.openhab.binding.smartmeter version=2.5.0.201906041601]
  ⇒ osgi.wiring.package: (&(osgi.wiring.package=io.reactivex)(&(version>=2.2.0)(!(version>=3.0.0))))

Seems like com.google.api.client.auth.oauth2 is missing. Can you help?

Thx Ollie

There is one non-OSGi-bundle in the dependencies which means it cannot be resolved automatically (not the oauth but the gson bundle). Not sure if that is related.

But if you do a bigger rewrite you should consider to remove the google http client and use our own implementation which supports oauth2, too.

Oh no thanks! :wink: That would make it even bigger and I am always struggling to find the time to get the new version ready…

However, this is just the current checked-out “vanilla” version of innogy as in the OH repo. With none of my updates. Any idea on how to work with bnd and those non-OSGi dependencies?