Ewelink / Sonoff Binding - New binding without flashing

Sorry but I’m totally lost now. I don’t have a “conf” folder, nor a “userdata” folder, but can see addons just fine.

I just went back up through the thread and found another jar file for 3.1, but it’s a jar.txt and downloads as a zipfile? Do I just change the file extension so its .jar and put in the same folder as before?

Yes you can just remove the txt extension.
I’m assuming you was running an earlier version so be sure to read the post a few above about the changes and the readme regarding setting the latest version up.

what are you running openhab on and I may be able to point you to the folders?

Running openhabian 3.0 on a raspberry Pi.

I put the new 3.1 jar in the addons folder, and just restarting the service now.

openhabian file locations:

so either var/lib/openhab or opt/openhab/userdata depending on how you installed

So I deleted the old binding and put in 3.1, deleted the sonoff switch, and rebooted the Pi.

After this I went back into openhab settings and the sonoff account is still there. I tried adding with the sonoff binding, and scanned. Now it does not find my switch at all, but the switch is still showing in the We app. I tried manually adding a TH10 with the device ID shown in the app, and it just says “Device not initialized” and won’t change. I’m super frustrated, and don’t know what to do now since nothing seems to be working, even though it did (at least to find the switch) before.

read the setup section in the readme, you need to inilialize your devices in this version.

I followed the readme:

{## Discovery

Once you have initialized the account, run discovery as normal.

All devices support automatic discovery.}

No devices are being discovered, and I don’t see anything else about initializing anything.

initialize: set to true for first run or when adding new devices to your ewelink account.

Yes I have it set to TRUE, and it does not find anything when searching for devices.

When manually adding the device, it doesn’t work either.

@Jon_A try this.
I haven’t tested it yet, just about to start that…
for anyone that uses, initialize in the account config has been removed and I have integrated it into discovery. So if you add new devices to your ewelink account just run discovery and it will automatically create the files.

org.openhab.binding.sonoff-3.1.0-SNAPSHOT.jar.txt (154.2 KB)

Installing this one now and rebooting.

Is there something else that needs to be changed or deleted in the openhab config anywhere when changing out the version of this binding?

Steps I followed to be safe are:

  1. Delete Sonoff Account Thing in openhab
  2. Reboot Pi
  3. Delete old .jar from addons folder
  4. Copy newest .jar file into addons folder
  5. Reboot Pi
  6. Login to openhab, go to settings, and add the sonoff account (Shows as “Online”)
  7. Click to add new thing with sonoff binding, click Scan. Nothing found.

If it’s not found anything I really need to see the debug log so I can see what’s going on

2021-02-28 11:29:44.238 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Stop Scan
2021-02-28 11:29:44.244 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Start Scan
2021-02-28 11:29:44.249 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Sonoff - Start Discovery
2021-02-28 11:29:44.259 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Region Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"sa1kmyRQ","ts":1614529784256,"version":8,"countryCode":"Canada"}
2021-02-28 11:29:45.461 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Region Response:{"requestid":"1614529784256-sa1kmyRQ","region":"us","error":0}
2021-02-28 11:29:45.469 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Login Request:{"email":"REMOVED","password":"REMOVED","countryCode":"Canada"}
2021-02-28 11:29:46.637 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Login Respone:HttpContentResponse[HTTP/1.1 200 OK - 122 bytes]
2021-02-28 11:29:46.643 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Discovery Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"rwqgzXKE","ts":1614529786642,"version":8}
2021-02-28 11:29:46.800 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Discovery response:{"error":400,"msg":"\"authorization\" with value \"Bearer\" fails to match the required pattern: /^Bearer\\s[0-9a-f]+$/","data":{}}
2021-02-28 11:29:46.942 [INFO ] [inding.sonoff.internal.MainDiscovery] - Sonoff initialized 0 new devices
2021-02-28 11:29:54.244 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Stop Scan
2021-02-28 11:31:54.746 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 34: Device discovery could not resolve to a thingType! Manufacturer data not known.
2021-02-28 11:34:49.901 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Stop Scan
2021-02-28 11:34:49.905 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Start Scan
2021-02-28 11:34:49.907 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Sonoff - Start Discovery
2021-02-28 11:34:49.912 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Region Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"p4SBKW4l","ts":1614530089912,"version":8,"countryCode":"Canada"}
2021-02-28 11:34:50.759 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Region Response:{"requestid":"1614530089912-p4SBKW4l","region":"us","error":0}
2021-02-28 11:34:50.762 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Login Request:{"email":"REMOVED","password":"REMOVED","countryCode":"Canada"}
2021-02-28 11:34:53.254 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Login Respone:HttpContentResponse[HTTP/1.1 200 OK - 122 bytes]
2021-02-28 11:34:53.257 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Discovery Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"ct2zVE3V","ts":1614530093257,"version":8}
2021-02-28 11:34:53.423 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Discovery response:{"error":400,"msg":"\"authorization\" with value \"Bearer\" fails to match the required pattern: /^Bearer\\s[0-9a-f]+$/","data":{}}
2021-02-28 11:34:53.425 [INFO ] [inding.sonoff.internal.MainDiscovery] - Sonoff initialized 0 new devices
2021-02-28 11:34:59.905 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Stop Scan

Yep it’s failing, error 400. Said I hadn’t tested :wink:
Just having a look now

Standing by to test whatever is next

It’s your countryCode, needs to be +1, not Canada
And you defo have email/password correct? Just logged mine in on v3 and discovered (albeit with some errors where I haven’t tested properly)

can you try this one (finally fixed the login response so can see whats happening)

org.openhab.binding.sonoff-3.1.0-SNAPSHOT.jar.txt (154.4 KB)

Yes I removed my email and password, but they were there. You’re right on the +1, that was autopopulated by chrome when I created the account. I fixed that and scanned again, and it immediately found my TH10 device.

However the device stays offline and sees to be showing missing channels:

2021-02-28 11:50:12.821 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Discovery Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"vwNTzcxb","ts":1614531012820,"version":8}
2021-02-28 11:50:13.221 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Discovery response:{"error":0,"msg":"","data":{"thingList":[{"itemType":1,"itemData":{"name":"Sonoff1","deviceid":"10005b9606","apikey":"53c83924-c0eb-4ffa-a289-190c37aae625","extra":{"uiid":15,"description":"WO1818607","brandId":"58e5f344baeb368720e25469","apmac":"d0:27:00:b7:29:5d","mac":"d0:27:00:b7:29:5c","ui":"恒温恒湿改装件","modelInfo":"5a2e1add0cf772f92c342ef4","model":"PSA-BHA-GL","manufacturer":"深圳松诺技术有限公司","staMac":"80:7D:3A:68:7B:2F","chipid":"00687B2F"},"brandName":"Sonoff","brandLogo":"https://us-ota.coolkit.cc/logo/m6N8zJB0O3EVvhCei6zCPStFeKYKAzSa.png","showBrand":true,"productModel":"TH10","devConfig":{},"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"devGroups":[],"family":{"familyid":"603aedab1b16ca000753d87e","index":0,"roomid":"603aedab1b16ca000753d87d"},"shareTo":[],"devicekey":"fa325905-af58-4e78-90c4-81eb3812f1d8","online":true,"params":{"init":1,"rssi":-24,"staMac":"80:7D:3A:68:7B:2F","startup":"off","fwVersion":"3.4.1","switch":"off","sensorType":"DS18B20","currentTemperature":"21.9","currentHumidity":"unavailable","mainSwitch":"off","deviceType":"normal","version":8,"sledOnline":"on","pulse":"off","pulseWidth":500,"uiActive":60}},"index":0}],"total":1}}
2021-02-28 11:50:13.306 [INFO ] [inding.sonoff.internal.MainDiscovery] - Sonoff initialized 1 new devices
2021-02-28 11:50:13.316 [WARN ] [fig.discovery.DiscoveryResultBuilder] - Representation property '10005b9606' of discovery result for thing 'sonoff:15:e9a455aec8:10005b9606' is missing in properties map. It has to be fixed by the bindings developer.
	at java.base/java.lang.Thread.getStackTrace(Thread.java:1607)
	at org.openhab.core.config.discovery.DiscoveryResultBuilder$1.run(DiscoveryResultBuilder.java:181)
	at org.openhab.core.config.discovery.DiscoveryResultBuilder$1.run(DiscoveryResultBuilder.java:1)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at org.openhab.core.config.discovery.DiscoveryResultBuilder.getStackTrace(DiscoveryResultBuilder.java:178)
	at org.openhab.core.config.discovery.DiscoveryResultBuilder.build(DiscoveryResultBuilder.java:157)
	at org.openhab.binding.sonoff.internal.MainDiscovery.discover(MainDiscovery.java:164)
	at org.openhab.binding.sonoff.internal.MainDiscovery.lambda$0(MainDiscovery.java:105)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
2021-02-28 11:50:13.328 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sonoff:15:e9a455aec8:10005b9606' to inbox.
2021-02-28 11:50:20.095 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Stop Scan
2021-02-28 11:50:37.547 [WARN ] [re.thing.internal.ThingFactoryHelper] - Could not create channel 'localOnline' for thing type 'sonoff:15:e9a455aec8:10005b9606', because channel type 'sonoff:localOnline' could not be found.
2021-02-28 11:50:37.551 [WARN ] [re.thing.internal.ThingFactoryHelper] - Could not create channel 'cloudOnline' for thing type 'sonoff:15:e9a455aec8:10005b9606', because channel type 'sonoff:cloudOnline' could not be found.
2021-02-28 11:50:37.555 [WARN ] [re.thing.internal.ThingFactoryHelper] - Could not create channel 'sled' for thing type 'sonoff:15:e9a455aec8:10005b9606', because channel type 'sonoff:sled' could not be found.
2021-02-28 11:50:37.603 [DEBUG] [onoff.internal.handler.SwitchHandler] - Initialising device: sonoff:15:e9a455aec8:10005b9606
2021-02-28 11:50:37.730 [DEBUG] [onoff.internal.handler.SwitchHandler] - initializeBridge ONLINE for thing sonoff:15:e9a455aec8:10005b9606
2021-02-28 11:50:37.732 [DEBUG] [ff.internal.helpers.MessageConverter] - Device Listener Added for deviceId: 10005b9606
2021-02-28 11:51:04.931 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: sonoff:localOnline
2021-02-28 11:51:04.935 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: sonoff:cloudOnline
2021-02-28 11:51:04.939 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: sonoff:sled
2021-02-28 11:51:46.851 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: sonoff:localOnline
2021-02-28 11:51:46.857 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: sonoff:cloudOnline
2021-02-28 11:51:46.861 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: sonoff:sled

yeah i already noticed the missing channels, added back in in version above.
gonna have dinner and will look at the other error

Ok just tried this new one and the channels error is gone, but the device is still offline:

2021-02-28 12:13:43.217 [DEBUG] [noff.internal.handler.AccountHandler] - Local Mode connected
2021-02-28 12:13:57.291 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Stop Scan
2021-02-28 12:13:57.297 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Start Scan
2021-02-28 12:13:57.301 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Sonoff - Start Discovery
2021-02-28 12:13:57.312 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Region Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"TiiG3xsF","ts":1614532437308,"version":8,"countryCode":"+1"}
2021-02-28 12:13:58.476 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Region Response:{"requestid":"1614532437308-TiiG3xsF","region":"us","error":0}
2021-02-28 12:13:58.483 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Login Request:{"email":"arnett996@gmail.com","password":"J0hnny60!","countryCode":"+1"}
2021-02-28 12:14:00.437 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Login Respone:HttpContentResponse[HTTP/1.1 200 OK - 324 bytes]
2021-02-28 12:14:00.439 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Connected
2021-02-28 12:14:00.445 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Discovery Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"SBKe08MM","ts":1614532440444,"version":8}
2021-02-28 12:14:00.692 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Discovery response:{"error":0,"msg":"","data":{"thingList":[{"itemType":1,"itemData":{"name":"Sonoff1","deviceid":"10005b9606","apikey":"53c83924-c0eb-4ffa-a289-190c37aae625","extra":{"uiid":15,"description":"WO1818607","brandId":"58e5f344baeb368720e25469","apmac":"d0:27:00:b7:29:5d","mac":"d0:27:00:b7:29:5c","ui":"恒温恒湿改装件","modelInfo":"5a2e1add0cf772f92c342ef4","model":"PSA-BHA-GL","manufacturer":"深圳松诺技术有限公司","staMac":"80:7D:3A:68:7B:2F","chipid":"00687B2F"},"brandName":"Sonoff","brandLogo":"https://us-ota.coolkit.cc/logo/m6N8zJB0O3EVvhCei6zCPStFeKYKAzSa.png","showBrand":true,"productModel":"TH10","devConfig":{},"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"devGroups":[],"family":{"familyid":"603aedab1b16ca000753d87e","index":0,"roomid":"603aedab1b16ca000753d87d"},"shareTo":[],"devicekey":"fa325905-af58-4e78-90c4-81eb3812f1d8","online":true,"params":{"init":1,"rssi":-24,"staMac":"80:7D:3A:68:7B:2F","startup":"off","fwVersion":"3.4.1","switch":"off","sensorType":"DS18B20","currentTemperature":"21.9","currentHumidity":"unavailable","mainSwitch":"off","deviceType":"normal","version":8,"sledOnline":"on","pulse":"off","pulseWidth":500,"uiActive":60}},"index":0}],"total":1}}
2021-02-28 12:14:00.886 [INFO ] [inding.sonoff.internal.MainDiscovery] - Sonoff initialized 0 new devices
2021-02-28 12:14:00.895 [WARN ] [fig.discovery.DiscoveryResultBuilder] - Representation property '10005b9606' of discovery result for thing 'sonoff:15:db8e6db617:10005b9606' is missing in properties map. It has to be fixed by the bindings developer.
	at java.base/java.lang.Thread.getStackTrace(Thread.java:1607)
	at org.openhab.core.config.discovery.DiscoveryResultBuilder$1.run(DiscoveryResultBuilder.java:181)
	at org.openhab.core.config.discovery.DiscoveryResultBuilder$1.run(DiscoveryResultBuilder.java:1)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at org.openhab.core.config.discovery.DiscoveryResultBuilder.getStackTrace(DiscoveryResultBuilder.java:178)
	at org.openhab.core.config.discovery.DiscoveryResultBuilder.build(DiscoveryResultBuilder.java:157)
	at org.openhab.binding.sonoff.internal.MainDiscovery.discover(MainDiscovery.java:164)
	at org.openhab.binding.sonoff.internal.MainDiscovery.lambda$0(MainDiscovery.java:105)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
2021-02-28 12:14:00.908 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sonoff:15:db8e6db617:10005b9606' to inbox.
2021-02-28 12:14:07.296 [DEBUG] [inding.sonoff.internal.MainDiscovery] - Stop Scan
2021-02-28 12:14:27.807 [DEBUG] [onoff.internal.handler.SwitchHandler] - Initialising device: sonoff:15:db8e6db617:10005b9606
2021-02-28 12:14:27.934 [DEBUG] [onoff.internal.handler.SwitchHandler] - initializeBridge ONLINE for thing sonoff:15:db8e6db617:10005b9606
2021-02-28 12:14:27.936 [DEBUG] [ff.internal.helpers.MessageConverter] - Device Listener Added for deviceId: 10005b9606

Tried to manually disable and enable again, and got this:

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
	at org.openhab.core.ui.internal.components.UIComponentSitemapProvider.addWidgetMappings(UIComponentSitemapProvider.java:308) ~[bundleFile:?]
	at org.openhab.core.ui.internal.components.UIComponentSitemapProvider.buildWidget(UIComponentSitemapProvider.java:201) ~[bundleFile:?]
	at org.openhab.core.ui.internal.components.UIComponentSitemapProvider.buildWidget(UIComponentSitemapProvider.java:262) ~[bundleFile:?]
	at org.openhab.core.ui.internal.components.UIComponentSitemapProvider.buildSitemap(UIComponentSitemapProvider.java:147) ~[bundleFile:?]
	at org.openhab.core.ui.internal.components.UIComponentSitemapProvider.getSitemapNames(UIComponentSitemapProvider.java:106) [bundleFile:?]
	at org.openhab.core.io.rest.sitemap.internal.SitemapResource.getSitemapBeans(SitemapResource.java:414) [bundleFile:?]
	at org.openhab.core.io.rest.sitemap.internal.SitemapResource.getSitemaps(SitemapResource.java:229) [bundleFile:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
	at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179) [bundleFile:1.0.9]
	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) [bundleFile:1.0.9]
	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:201) [bundleFile:1.0.9]
	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:104) [bundleFile:1.0.9]
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) [bundleFile:1.0.9]
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) [bundleFile:1.0.9]
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) [bundleFile:1.0.9]
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [bundleFile:1.0.9]
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) [bundleFile:1.0.9]
	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) [bundleFile:1.0.9]
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) [bundleFile:1.0.9]
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) [bundleFile:1.0.9]
	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:216) [bundleFile:1.0.9]
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301) [bundleFile:1.0.9]
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doHead(AbstractHTTPServlet.java:243) [bundleFile:1.0.9]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:704) [bundleFile:3.1.0]
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276) [bundleFile:1.0.9]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:544) [bundleFile:9.4.20.v20190813]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [bundleFile:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1581) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307) [bundleFile:9.4.20.v20190813]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [bundleFile:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:482) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1549) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1204) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [bundleFile:9.4.20.v20190813]
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [bundleFile:?]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.Server.handle(Server.java:494) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:374) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [bundleFile:9.4.20.v20190813]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) [bundleFile:9.4.20.v20190813]
	at java.lang.Thread.run(Thread.java:834) [?:?]
2021-02-28 12:19:16.081 [DEBUG] [onoff.internal.handler.SwitchHandler] - Running dispose()
2021-02-28 12:19:21.379 [DEBUG] [onoff.internal.handler.SwitchHandler] - Initialising device: sonoff:15:db8e6db617:10005b9606
2021-02-28 12:19:21.399 [DEBUG] [onoff.internal.handler.SwitchHandler] - initializeBridge ONLINE for thing sonoff:15:db8e6db617:10005b9606
2021-02-28 12:19:21.401 [DEBUG] [ff.internal.helpers.MessageConverter] - Device Listener Added for deviceId: 10005b9606