Shelly Binding

openHAB has several folder observers and automatically installs Bindings put into the addons folder.

here is my log… something is wrong here? - https://www.dropbox.com/s/2nnhbx6f0gr1eon/Screenshot%202019-08-26%2010.18.22.png?dl=0 I dont realy see any shelly installing long…

This is the problem:

I saw that in my debugger, but thought that’s specific to my environment.
I need

  • log:set TRACE org.openhab.binding.shelly
  • bundle:list output
  • the complete log (as text file) with the 2.5 build

after restart I get this on bundle:list output

Just

bundle:list

Output means that we need the result of this command

here it is:

Sorry, please post it as text in code fences, not as a picture. This is really difficult to read.

20 β”‚ Active β”‚ 80 β”‚ 5.3.1.201602281253 β”‚ OSGi JAX-RS Connector
21 β”‚ Active β”‚ 80 β”‚ 2.7.0.v20170129-0911 β”‚ Gson: Google Json Library for Java
22 β”‚ Active β”‚ 80 β”‚ 18.0.0 β”‚ Guava: Google Core Libraries for Java
23 β”‚ Active β”‚ 80 β”‚ 3.0.0.v201312141243 β”‚ Google Guice (No AOP)
26 β”‚ Active β”‚ 80 β”‚ 3.5.5 β”‚ JmDNS
28 β”‚ Active β”‚ 80 β”‚ 1.0.0 β”‚ Units of Measurement API
30 β”‚ Active β”‚ 80 β”‚ 1.1.0.Final β”‚ Bean Validation API
31 β”‚ Active β”‚ 80 β”‚ 2.0.1 β”‚ javax.ws.rs-api
32 β”‚ Active β”‚ 80 β”‚ 3.2.0.v201101311130 β”‚ ANTLR Runtime
35 β”‚ Active β”‚ 80 β”‚ 3.2.1 β”‚ Commons Collections
36 β”‚ Active β”‚ 80 β”‚ 1.1 β”‚ Commons Exec
37 β”‚ Active β”‚ 80 β”‚ 2.2.0 β”‚ Commons IO
38 β”‚ Active β”‚ 80 β”‚ 2.6 β”‚ Commons Lang
47 β”‚ Active β”‚ 80 β”‚ 4.2.2 β”‚ Apache Karaf :: OSGi Services :: Event
63 β”‚ Active β”‚ 80 β”‚ 4.6.0 β”‚ Apache XBean OSGI Bundle Utilities
64 β”‚ Active β”‚ 80 β”‚ 4.6.0 β”‚ Apache XBean :: Classpath Resource Finder
65 β”‚ Active β”‚ 80 β”‚ 2.12.0.v20160420-0247 β”‚ EMF Common
66 β”‚ Active β”‚ 80 β”‚ 2.12.0.v20160420-0247 β”‚ EMF Ecore
67 β”‚ Active β”‚ 80 β”‚ 2.11.0.v20160420-0247 β”‚ EMF Change Model
68 β”‚ Active β”‚ 80 β”‚ 2.12.0.v20160420-0247 β”‚ EMF XML/XMI Persistence
69 β”‚ Active β”‚ 80 β”‚ 3.8.0.v20160509-1230 β”‚ Common Eclipse Runtime
70 β”‚ Active β”‚ 80 β”‚ 3.6.100.v20160223-2218 β”‚ Extension Registry Support
80 β”‚ Active β”‚ 80 β”‚ 9.4.12.v20180830 β”‚ Jetty :: Proxy
94 β”‚ Active β”‚ 80 β”‚ 0.4.1.v20180515-1321 β”‚ org.eclipse.lsp4j
95 β”‚ Active β”‚ 80 β”‚ 0.4.1.v20180515-1321 β”‚ org.eclipse.lsp4j.jsonrpc
96 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome OAuth2Client
97 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Config Core
98 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Configuration Discovery
99 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Configuration mDNS Discovery
100 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Config Dispatcher
101 β”‚ Active β”‚ 75 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Config XML
102 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core
103 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core Audio
104 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core Binding XML
105 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core ID
106 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core Persistence
107 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Scheduler Service
108 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core Semantics
109 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core Thing
110 β”‚ Active β”‚ 75 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core Thing XML
111 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Transformation Service
112 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core Voice
113 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Console
114 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Console for OSGi runtime Karaf
115 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome HTTP Interface Bundle
116 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome JavaSound I/O, Fragments: 183
117 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Monitor
118 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Net I/O Bundle
119 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome REST Interface Bundle
120 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Core REST API
121 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome REST mDNS Announcer
122 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome REST Interface JAX-RS optimization Bundle
123 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Sitemap REST API
124 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome SSE REST API
125 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Voice REST API
126 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Bonjour/MDS Service Discovery Bundle
127 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Web Audio Support
128 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Model Core
129 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Item Model
130 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Item Model IDE
131 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Item Model Runtime
132 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Language Server
133 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Persistence Model
134 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Persistence Model IDE
135 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Persistence Runtime
136 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Rule Model
137 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Rule Model IDE
138 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Rule Runtime
139 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Script
140 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Script Model IDE
141 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Script Runtime
142 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Sitemap Model
143 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Sitemap Model IDE
144 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Sitemap Runtime
145 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Thing Model
146 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Thing Model IDE
147 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Thing Model Runtime
148 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Json Storage Service
149 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome UI
150 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome UI Icons
151 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Classic IconSet
152 β”‚ Active β”‚ 80 β”‚ 2.14.0.v20180522-1629 β”‚ Xtend Runtime Library
153 β”‚ Active β”‚ 80 β”‚ 2.14.0.v20180522-1629 β”‚ Xtend Macro Interfaces
154 β”‚ Active β”‚ 80 β”‚ 2.14.0.v20180522-1821 β”‚ Xtext
155 β”‚ Active β”‚ 80 β”‚ 2.14.0.v20180522-1833 β”‚ Xtext Common Types
156 β”‚ Active β”‚ 80 β”‚ 2.14.0.v20180522-1821 β”‚ Xtext IDE Core
157 β”‚ Active β”‚ 80 β”‚ 2.14.0.v20180522-1821 β”‚ Xtext Utility
158 β”‚ Active β”‚ 80 β”‚ 2.14.0.v20180522-1833 β”‚ Xbase Model
159 β”‚ Active β”‚ 80 β”‚ 2.14.0.v20180522-1833 β”‚ Xbase Generic IDE Services
160 β”‚ Active β”‚ 80 β”‚ 2.14.0.v20180522-1629 β”‚ Xbase Runtime Library
175 β”‚ Active β”‚ 80 β”‚ 1.9.6 β”‚ MIME streaming extension
177 β”‚ Active β”‚ 80 β”‚ 6.2.0 β”‚ org.objectweb.asm
178 β”‚ Active β”‚ 80 β”‚ 6.2.0 β”‚ org.objectweb.asm.commons
179 β”‚ Active β”‚ 80 β”‚ 6.2.0 β”‚ org.objectweb.asm.tree
180 β”‚ Active β”‚ 90 β”‚ 2.5.0.M1 β”‚ openHAB Core
181 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ openHAB Karaf Integration
183 β”‚ Resolved β”‚ 80 β”‚ 2.5.0.M1 β”‚ openHAB Sound Support, Hosts: 116
184 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ openHAB Dashboard UI
189 β”‚ Active β”‚ 80 β”‚ 1.0.2 β”‚ Units of Measurement Common Library
190 β”‚ Active β”‚ 80 β”‚ 1.0.8 β”‚ Units of Measurement Implementation for Java SE
191 β”‚ Active β”‚ 80 β”‚ 4.0.45 β”‚ Repackaged Caucho Quercus PHP5 runtime
192 β”‚ Active β”‚ 80 β”‚ 1.1.1.201605111122 β”‚ Swagger Provider
193 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ Jackson-annotations
194 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ Jackson-core
195 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ jackson-databind
196 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ Jackson-dataformat-XML
197 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ Jackson-dataformat-YAML
198 β”‚ Active β”‚ 80 β”‚ 2.4.5 β”‚ Jackson-module-JAXB-annotations
199 β”‚ Active β”‚ 80 β”‚ 1.5.8 β”‚ swagger-annotations
200 β”‚ Active β”‚ 80 β”‚ 1.5.8 β”‚ swagger-core
201 β”‚ Active β”‚ 80 β”‚ 1.5.8 β”‚ swagger-jaxrs
202 β”‚ Active β”‚ 80 β”‚ 1.5.8 β”‚ swagger-models
203 β”‚ Active β”‚ 80 β”‚ 3.19.0.GA β”‚ Javassist
204 β”‚ Active β”‚ 80 β”‚ 1.6.0 β”‚ Commons Codec
205 β”‚ Active β”‚ 80 β”‚ 3.2.1 β”‚ Apache Commons Lang
206 β”‚ Active β”‚ 80 β”‚ 3.3.0 β”‚ Commons Net
207 β”‚ Active β”‚ 80 β”‚ 4.2.3 β”‚ Apache HttpClient OSGi bundle
208 β”‚ Active β”‚ 80 β”‚ 4.2.3 β”‚ Apache HttpCore OSGi bundle
209 β”‚ Active β”‚ 80 β”‚ 3.1.0.7 β”‚ Apache ServiceMix :: Bundles :: commons-httpclient
210 β”‚ Active β”‚ 75 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Map Transformation Service
211 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Basic UI, Fragments: 219
212 β”‚ Active β”‚ 80 β”‚ 0.11.0.oh250M1 β”‚ Eclipse SmartHome Paper UI, Fragments: 226
213 β”‚ Active β”‚ 80 β”‚ 1.14.0.M1 β”‚ openHAB Mqtt Action
214 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ openHAB 1.x Compatibility Layer
215 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ openHAB REST Documentation
216 β”‚ Active β”‚ 80 β”‚ 1.14.0.M1 β”‚ openHAB MQTT Transport Bundle
217 β”‚ Active β”‚ 80 β”‚ 1.14.0.M1 β”‚ openHAB MQTT Persistence Bundle
218 β”‚ Active β”‚ 80 β”‚ 1.14.0.M1 β”‚ openHAB RRD4j Persistence Bundle
219 β”‚ Resolved β”‚ 75 β”‚ 2.5.0.M1 β”‚ openHAB Basic UI Fragment, Hosts: 211
220 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ CometVisu backend
221 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ PHP support for the CometVisu backend
222 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ HABmin User Interface
223 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ HABot Interactive Bot
224 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ HABPanel User Interface
225 β”‚ Active β”‚ 80 β”‚ 2.5.0.M1 β”‚ HomeBuilder User Interface
226 β”‚ Resolved β”‚ 75 β”‚ 2.5.0.M1 β”‚ openHAB Paper UI Theme Fragment, Hosts: 212
227 β”‚ Active β”‚ 80 β”‚ 0.9.10.v20160429-1435 β”‚ reflections (wrap)
228 β”‚ Active β”‚ 80 β”‚ 3.1.4 β”‚ Stax2 API
229 β”‚ Active β”‚ 80 β”‚ 1.5.8.v20160511-1038 β”‚ swagger-jersey2-jaxrs (wrap)

looks good from this side, nothing obvious missing.

Does it make sense to upgrade to 2.5M2? M2 is based on the new build system with a lot of changes. M1 is more 2.4-like so running the binding’s 2.5 build on this version is not really a proper proof.

Please copy the log with the binding’s 2.5 build (use code fence, last icon in the icon bar when composing a message here, before the settings icon)

How can I make that log with the binding’s 2.5 build? also you propose to update to 2.5M2? which repo can I use?

2.5.0M2 is available here:
https://www.openhab.org/download/ (switch the selection from 2.4 stable to 2.5M2)
You should do a backup of you running environment.

@hmerk Do you know the timeline for M3?

When I want to update why I receive this error message?

pi@raspberrypi:/usr/share/openhab2/runtime/bin $ sudo apt-get update && sudo apt-get upgrade
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:3 http://repozytorium.mati75.eu/raspbian jessie-backports InRelease
Ign:4 http://repos.azulsystems.com/debian stable InRelease
Hit:5 http://repos.azulsystems.com/debian stable Release
Hit:6 https://repo.mosquitto.org/debian jessie InRelease
Ign:7 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Hit:8 https://deb.nodesource.com/node_8.x stretch InRelease
Hit:9 https://repo.mosquitto.org/debian stretch InRelease
Get:10 https://dl.bintray.com/openhab/apt-repo2 stable Release [6051 B]
Hit:10 https://dl.bintray.com/openhab/apt-repo2 stable Release
Ign:11 https://dl.bintray.com/openhab/apt-repo2 stable Release.gpg
Fetched 25.4 kB in 2s (8653 B/s)
Reading package lists… Done
W: The repository β€˜https://dl.bintray.com/openhab/apt-repo2 stable Release’ is not signed.
N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
mosquitto
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
pi@raspberrypi:/usr/share/openhab2/runtime/bin $

Should be monthly, so might be beginning of September.

This is your issue, you need to update your source list to fetch jfrog.

For 2.5 Milestone2 you need to switch to testing.

I updated to 2.5.0~S1669-1 and still not working… I still don’t see the shelly binding in bundle:list… What can I do?

Please try the build from the snapshot branch. I added various checks on initialization to narrow the problem and some more details on the bundle if activate() gets called.

Before installing the new build:

  • delete the jar in the addons folder, wait 30sec
  • stop OH
  • Open a terminal and run β€œopenhab-cli”
  • start OH, wait until it’s completely initialized
  • run β€œtail -f openhab.log” from the terminal
  • copy the jar to the addons folder
  • after 5-15sec you should see some action
  • copy log

I did twice what you recommended above and nothing happened… Here is my log.

I followed also your installation description with the latest available binding.
But nothing showed up in openhab.log regarding shelly binding.

Floods are up and running :slight_smile:
Great job Markus :+1:

1 Like

just to make sure: you copied the binding jar to /addons ?
Do you have any other jar in that folder? Do they show up?

Which other bindings are installed?