Shelly Binding

this I have to /addons folder

What can I do?

I have a binding for one-wire in my addons folder and it is showing up. But not the binding for shelly.

Question/Feature request.

Sometimes it can be useful to work with visibility…do you think it could make sense to have a channel that shows if a device is reachable/working (e.g in mqtt we have LWT) ? Or it’s better to rely on the network binding and don’t reinvent the wheel?

Just brainstorming…

Thanks :slight_smile:

This should be indicated by the Thing state (online/offline) and not via a seperate channel.
According to the design concept, a Binding should set Thing state to offline ( with additional information like config pending or communication error) when a device is not working properly or reachable.
Especially with battery operated devices, which will be in deep sleep mode most of the time, you will not have any valid monitoring if the device is working.

Yes it is indeed in PaperUI but I cannot show an item in sitemap based on Thing state…or can I?

Yes I understand it cannot be a monitor system for all types of device, I was just thinking about visibility to clean up a bit a crowded sitemap (e.g I have a bunch of smart plug but I don’t always use them all, some are dedicated to β€œtemporary” setup and I don’t always want them around).

As I said: just brainstorming…maybe it was a silly question :upside_down_face: I can achieve the goal with network binding.

No need for the network Binding.
You can request Thing state in a rule and feed a virtual item with the state. This Item can be used for visibility.

This should be already the case:

  • Thing stays in INITIALIZING until the first initialization was completed
    this is also the state for battery powered devices until the device connects
  • The thing goes ONLINE which reachable and responding to the api request
  • When the call fails the Thing goes offline, except it is a battery powered device

The solution for you:

  • you could trigger a rule when a thing state changes
  • send you could set an item
  • which gets displayed in your sitemap

This is a rule, which I created for a similar purpose:

/* ---------- Monitor Pool Status ---------- */

rule "Pentair Controller offline"
when
	Thing "network:servicedevice:c2e9cdf0" changed or
	Thing "pentair:ip_bridge:de80dacd"     changed or
    Thing "pentair:controller:20ae54fa"    changed or
    Thing "pentair:intelliflo:f4c07d6a"    changed
then
	var message = "Status of Pentair equippment changed:\n"
	var wifiOnline       = ThingAction.getThingStatusInfo("network:servicedevice:c2e9cdf0").getStatus()
	var bridgeOnline     = ThingAction.getThingStatusInfo("pentair:ip_bridge:de80dacd").getStatus()
	var controllerOnline = ThingAction.getThingStatusInfo("pentair:controller:20ae54fa").getStatus()
	var pumpOnline       = ThingAction.getThingStatusInfo("pentair:intelliflo:f4c07d6a").getStatus()

	message = "Status WiFi adapter="+wifiOnline.toString() + "\nPentair Bridge="+bridgeOnline.toString()
	message = message + "\nController="+controllerOnline.toString() + "\nPump="+pumpOnline.toString()
    reportAlarm.apply(houseId, mailTo, "Pool equippment alarm!", message, mailFooter)

end
1 Like

I’ve never thought about using Things’ state and rules, thanks I will sure look into it!

For anybody having issues installing the Shelly Binding, please try this build
https://github.com/hmerk/shelly/blob/master/org.openhab.binding.shelly-2.5.0-SNAPSHOT.jar
I have tested it with openHAB 2.4 Release and 2.5-Milestone2

Thank you for the hint (also @hmerk). I’ve just made my first β€œvisibility” rule…just a little correction: ThingAction seems invalid since openhab 2.4, I just removed it to get the thing status.

I tried again and didn’t work… If I give you my raspberry credentials can you check whats the problem?

Could you please post the result of bundle:list

of course. Here is it:

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 β”‚ 0.5.8 β”‚ Jollyday
37 β”‚ Active β”‚ 80 β”‚ 3.2.0.v201101311130 β”‚ ANTLR Runtime
39 β”‚ Active β”‚ 80 β”‚ 3.2.1 β”‚ Commons Collections
40 β”‚ Active β”‚ 80 β”‚ 1.1 β”‚ Commons Exec
41 β”‚ Active β”‚ 80 β”‚ 2.2.0 β”‚ Commons IO
42 β”‚ Active β”‚ 80 β”‚ 2.6 β”‚ Commons Lang
51 β”‚ Active β”‚ 80 β”‚ 4.2.6 β”‚ Apache Karaf :: OSGi Services :: Event
66 β”‚ Active β”‚ 80 β”‚ 1.4.7.1 β”‚ Apache ServiceMix :: Bundles :: xstream
68 β”‚ Active β”‚ 80 β”‚ 4.12.0 β”‚ Apache XBean OSGI Bundle Utilities
69 β”‚ Active β”‚ 80 β”‚ 4.12.0 β”‚ Apache XBean :: Classpath Resource Finder
70 β”‚ Active β”‚ 80 β”‚ 2.12.0.v20160420-0247 β”‚ EMF Common
71 β”‚ Active β”‚ 80 β”‚ 2.12.0.v20160420-0247 β”‚ EMF Ecore
72 β”‚ Active β”‚ 80 β”‚ 2.11.0.v20160420-0247 β”‚ EMF Change Model
73 β”‚ Active β”‚ 80 β”‚ 2.12.0.v20160420-0247 β”‚ EMF XML/XMI Persistence
74 β”‚ Active β”‚ 80 β”‚ 3.9.0.v20170207-1454 β”‚ Common Eclipse Runtime
85 β”‚ Active β”‚ 80 β”‚ 9.4.18.v20190429 β”‚ Jetty :: Proxy
103 β”‚ Active β”‚ 80 β”‚ 0.6.0.v20181130-0903 β”‚ org.eclipse.lsp4j
104 β”‚ Active β”‚ 80 β”‚ 0.6.0.v20181130-0903 β”‚ org.eclipse.lsp4j.jsonrpc
105 β”‚ Active β”‚ 80 β”‚ 2.17.0.v20190304-0518 β”‚ Xtend Runtime Library
106 β”‚ Active β”‚ 80 β”‚ 2.17.0.v20190304-0518 β”‚ Xtend Macro Interfaces
107 β”‚ Active β”‚ 80 β”‚ 2.17.0.v20190304-0545 β”‚ Xtext
108 β”‚ Active β”‚ 80 β”‚ 2.17.0.v20190304-0626 β”‚ Xtext Common Types
109 β”‚ Active β”‚ 80 β”‚ 2.17.0.v20190304-0545 β”‚ Xtext IDE Core
110 β”‚ Active β”‚ 80 β”‚ 2.17.0.v20190304-0545 β”‚ Xtext Utility
111 β”‚ Active β”‚ 80 β”‚ 2.17.0.v20190304-0626 β”‚ Xbase Model
112 β”‚ Active β”‚ 80 β”‚ 2.17.0.v20190304-0626 β”‚ Xbase Generic IDE Services
113 β”‚ Active β”‚ 80 β”‚ 2.17.0.v20190304-0518 β”‚ Xbase Runtime Library
128 β”‚ Active β”‚ 80 β”‚ 1.9.6 β”‚ MIME streaming extension
130 β”‚ Active β”‚ 80 β”‚ 7.1.0 β”‚ org.objectweb.asm
131 β”‚ Active β”‚ 80 β”‚ 7.1.0 β”‚ org.objectweb.asm.commons
132 β”‚ Active β”‚ 80 β”‚ 7.1.0 β”‚ org.objectweb.asm.tree
133 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Core
134 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Audio
135 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: OAuth2Client
136 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Binding XML
137 β”‚ Active β”‚ 90 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Boot
138 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Configuration Core
139 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Configuration Discovery
140 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Configuration mDNS Discovery
141 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Configuration Dispatcher
142 β”‚ Active β”‚ 75 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Configuration XML
143 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Ephemeris
144 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: ID
145 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Console
146 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Console for OSGi runtime Karaf
147 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: HTTP Interface
149 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Monitor
150 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Network I/O
151 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: REST Interface
152 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: REST Interface :: Core
153 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: REST mDNS Announcer
154 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: REST JAX-RS Optimizations
155 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Sitemap REST Interface
156 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: SSE Interface
157 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Voice REST Interface
158 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: mDNS Service
159 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Karaf Integration
160 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Core
161 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Items
162 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Item IDE
163 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Items Runtime
164 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Language Server
165 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Persistence
166 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Persistence IDE
167 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Persistence Runtime
168 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Rules
169 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Rule IDE
170 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Rules Runtime
171 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Script
172 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Script IDE
173 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Script Runtime
174 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Sitemap
175 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Sitemap IDE
176 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Sitemap Runtime
177 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Thing
178 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Thing IDE
179 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Model Thing Runtime
180 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Persistence
181 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Scheduler Service
182 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Semantics
183 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: JSON Storage
184 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Thing
185 β”‚ Active β”‚ 75 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Thing XML
186 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Transformation Service
187 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: UI
188 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: UI Icon Support
189 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Voice
190 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: Dashboard UI
199 β”‚ Active β”‚ 80 β”‚ 1.4.0 β”‚ ThreeTen-Extra
200 β”‚ Active β”‚ 80 β”‚ 1.0.3 β”‚ Units of Measurement Common Library
201 β”‚ Active β”‚ 80 β”‚ 1.0.10 β”‚ Units of Measurement Implementation for Java SE
204 β”‚ Active β”‚ 80 β”‚ 1.54 β”‚ bcprov
205 β”‚ Active β”‚ 80 β”‚ 4.0.45 β”‚ Repackaged Caucho Quercus PHP5 runtime
206 β”‚ Active β”‚ 80 β”‚ 1.1.1.201605111122 β”‚ Swagger Provider
207 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ Jackson-annotations
208 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ Jackson-core
209 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ jackson-databind
210 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ Jackson-dataformat-YAML
211 β”‚ Active β”‚ 80 β”‚ 1.5.8 β”‚ swagger-annotations
212 β”‚ Active β”‚ 80 β”‚ 1.5.8 β”‚ swagger-core
213 β”‚ Active β”‚ 80 β”‚ 1.5.8 β”‚ swagger-jaxrs
214 β”‚ Active β”‚ 80 β”‚ 1.5.8 β”‚ swagger-models
215 β”‚ Active β”‚ 80 β”‚ 1.9.2 β”‚ Jackson JSON processor
216 β”‚ Active β”‚ 80 β”‚ 1.9.2 β”‚ Data mapper for Jackson JSON processor
217 β”‚ Active β”‚ 80 β”‚ 3.19.0.GA β”‚ Javassist
218 β”‚ Active β”‚ 80 β”‚ 1.0.1 β”‚ Javazoom JLayer
219 β”‚ Active β”‚ 80 β”‚ 1.10.0 β”‚ Apache Commons Codec
220 β”‚ Active β”‚ 80 β”‚ 3.2.1 β”‚ Apache Commons Lang
221 β”‚ Active β”‚ 80 β”‚ 3.3.0 β”‚ Commons Net
222 β”‚ Active β”‚ 80 β”‚ 4.2.3 β”‚ Apache HttpClient OSGi bundle
223 β”‚ Active β”‚ 80 β”‚ 4.5.2 β”‚ Apache Apache HttpClient OSGi bundle
224 β”‚ Active β”‚ 80 β”‚ 4.2.3 β”‚ Apache HttpCore OSGi bundle
225 β”‚ Active β”‚ 80 β”‚ 4.4.4 β”‚ Apache Apache HttpCore OSGi bundle
226 β”‚ Active β”‚ 80 β”‚ 1.8.3 β”‚ Apache OpenNLP Tools
227 β”‚ Active β”‚ 80 β”‚ 3.1.0.7 β”‚ Apache ServiceMix :: Bundles :: commons-httpclient
228 β”‚ Active β”‚ 80 β”‚ 0.6.3 β”‚ jose4j
229 β”‚ Active β”‚ 80 β”‚ 0.7.6 β”‚ CUPS4J
230 β”‚ Active β”‚ 80 β”‚ 2.5.2 β”‚ JUPnP Library
231 β”‚ Active β”‚ 80 β”‚ 1.14.0.M2 β”‚ openHAB Mqtt Action
232 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: Astro Binding
233 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: AVM FRITZ! Binding
234 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: hue Binding
235 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: IPP Binding
236 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: NTP Binding
237 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: Sonos Binding
238 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: Wemo Binding
239 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Automation
240 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Automation Media Modules
241 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Automation Script Modules
242 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Automation Script RuleSupport
243 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Automation REST API
244 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: 1.x Compatibility Layer
245 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: Configuration UPnP Discovery
246 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Core :: Bundles :: UPnP Transport
247 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: IO :: Java Sound Support
248 β”‚ Active β”‚ 80 β”‚ 1.14.0.M2 β”‚ openHAB MQTT Transport Bundle
249 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: IO :: Web Audio Support
250 β”‚ Active β”‚ 80 β”‚ 1.14.0.M2 β”‚ openHAB MQTT Persistence Bundle
251 β”‚ Active β”‚ 80 β”‚ 1.14.0.M2 β”‚ openHAB RRD4j Persistence Bundle
252 β”‚ Active β”‚ 75 β”‚ 2.5.0.M2 β”‚ openHAB Add-ons :: Bundles :: Transformation Service :: Map
253 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: Basic UI
254 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: CometVisu :: Backend
255 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: CometVisu :: PHP Support
256 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: HABmin UI
257 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: HABot Interactive Bot
258 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: HomeBuilder UI
259 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: Icon Set :: Classic
260 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: Paper UI
261 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: HABPanel UI
262 β”‚ Active β”‚ 80 β”‚ 2.5.0.M2 β”‚ openHAB UI :: Bundles :: openHAB REST API Documentation
263 β”‚ Active β”‚ 80 β”‚ 0.9.10.v20160429-1435 β”‚ reflections (wrap)
264 β”‚ Active β”‚ 80 β”‚ 3.4.0 β”‚ RRD4J
265 β”‚ Active β”‚ 80 β”‚ 1.5.8.v20160511-1038 β”‚ swagger-jersey2-jaxrs (wrap)
266 β”‚ Installed β”‚ 80 β”‚ 2.8.5 β”‚ Gson

From a first view this looks good. The only thing I noticed is that the Gson module is Installed, but not Active - maybe, because no other service used it for now.

Please go to the OH console and enter
bundle:diag
You will be asked if you want to show all modules, enter y

This produces a longer list of modules. Here is mine from a 2.4 fresh install
modules.txt (12.7 KB)
you could check it against yours if there are different modules.

These have to be in anycase

 com.google.gson,
 javax.jmdns,
 javax.servlet,
 javax.servlet.http,
 org.apache.commons.lang,
 org.eclipse.jdt.annotation;resolution:=optional,
 org.eclipse.smarthome.config.core,
 org.eclipse.smarthome.config.discovery,
 org.eclipse.smarthome.config.discovery.mdns,
 org.eclipse.smarthome.core.library.types,
 org.eclipse.smarthome.core.net,
 org.eclipse.smarthome.core.thing,
 org.eclipse.smarthome.core.thing.binding,
 org.eclipse.smarthome.core.thing.binding.builder,
 org.eclipse.smarthome.core.thing.type,
 org.eclipse.smarthome.core.types,
 org.eclipse.smarthome.core.util,
 org.eclipse.smarthome.io.net.http,
 org.osgi.framework,
 org.osgi.service.cm,
 org.osgi.service.component,
 org.osgi.service.http,
 org.slf4j

on bundle:diag it list just this:

without asking if I want to show all modules, hm…

yu need to press [tab] key twice after bundle:diag

PLEASE USE TEXT HERE, no screenshots

Is there anything stated behind β€œUnsatisfied Requirements”?
Try to de-install and re-install GSon

I am still fighting with the shelly binding which means it not showing up.
Is it correct to have both Gson bindings:
252 β”‚ Resolved β”‚ 80 β”‚ 2.8.5 β”‚ Gson
253 β”‚ Resolved β”‚ 80 β”‚ 2.8.2.v20180104-1110 β”‚ Gson: Google Json Library for Java
Unintentionally I uninstalled also Google Json Vers.2.8.2. Now I have the resolved status on both bindings. Do not know if this could be a problem.
Any idea?

I don’t think so, you get rid of GSon 2.8.2
try to run a openhab-cli clean-cache

Try the latest build from the snapshort branch. I added another error handling on startup, maybe this catches the situation.

I did openhab-cli clean-cache and noticed the following:

  • Google Gson 2.8.2 (which I installed) changed back to 2.7.0
  • Gson 2.8.5 is removed.

After reinstallation of Gson 2.8.5 I get the following message with bundle:diag:
Gson (252)
----------
Status: Installed
Unsatisfied Requirements:
Declarative Services

As it looks like there is a problem with the installation of Gson 2.8.5. Perhaps because there is already a Google version installed.

could you remove 2.8.5 and try
only with 2.8.2 or even 2.7?