Shelly Binding

I just upgraded from 3.3.0 to 3.4.0-M1

My Shelly UNI device which has been working fine till the upgrade would not come online

UID: shelly:shellyuni:98cdac2c6bf2
label: Shelly UNI (shellyuni-98cdac2c6bf2@10.163.199.230)
thingTypeUID: shelly:shellyuni
configuration:
  eventsCoIoT: true
  deviceIp: 10.163.199.230
  eventsSwitch: false
  updateInterval: 60
  eventsButton: false
  eventsPush: false

Tried:
Manual disable and re-enable
Delete and recreate
Delete and rediscover via scan

None of which worked.

Rebooted the UNI, reste the coloT etc. All not helped.

Device stays UNINITIALIZED

15:09:55.512 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'shelly:shellyuni:98cdac2c6bf2' changed from INITIALIZING to UNKNOWN (CONFIGURATION_PENDING): Initializing or device in sleep mode.
15:10:09.263 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'shelly:shellyuni:98cdac2c6bf2' changed from UNKNOWN (CONFIGURATION_PENDING): Initializing or device in sleep mode. to UNINITIALIZED
15:10:09.281 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'shelly:shellyuni:98cdac2c6bf2' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)
15:10:14.424 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'shelly:shellyuni:98cdac2c6bf2' changed from UNINITIALIZED (DISABLED) to INITIALIZING

Any suggestions? I have cut back to 3.3.0 and UNI is back online.

Thanks
Mark

I updated the Gen2 build

  • PlusHT is now working with firmware 0.11-beta3 (could be installed from UI, previous versions are not supported)
  • Shelly i4DC is already supported (same as Pro 3), both coming the next weeks
  • Gen2: Improvements for WebSocket handling
  • Gen2: irregular RESTARTED alarms are fixed
  • Gen2: NPE on rollerPos udpates fixed
  • Gen2: Model IDs for hardware generation 2 (which brings VDE certification) added

@Sni Please verify the latest Gen2 build with 0.11beta3, this should turn your PlusHT in a working setup

@Zylle I need the DEBUG log. please try the current gen 2 build (check how to install)

@waitz_sebastian Did you verified the Pro 4PM with auth enabled working?

@DaveL Status based on the latest build?

@Thinqer Please try the latest gen2 build with the TRV (new profile handling)


3.4.0-Gen2 build for Plus/Pro+Gen1 | 3.4.0-DEV Gen1 stable build
README | READMEbeta for more info on first installation
Avdanced Users - Shelly Manager - Bugs/Features - API Doc
Gen1: Firmware Index - Firmware Archive


Note: The DEV build is always newer than the version in the official Distro or the Milestone builds check [here]

1 Like

In response to:

I need the DEBUG log
please try the current gen 2 build (check how to install)

The debug logs looks as follows (when I disabled and re-enabled the UNI):

2022-08-13 17:48:21.475 [DEBUG] [enhab.binding.shelly.internal.ShellyHandlerFactory] - Shelly UNI (shellyuni-98cdac2c6bf2@10.163.199.230): Create new thing of type shelly:shellyuni using ShellyRelayHandler
2022-08-13 17:48:21.490 [DEBUG] [enhab.binding.shelly.internal.ShellyHandlerFactory] - Thing handler for uid shelly:shellyuni:98cdac2c6bf2 added, total things = 4
2022-08-13 17:48:23.504 [DEBUG] [.binding.shelly.internal.handler.ShellyBaseHandler] - shellyuni-98cdac2c6bf2: Device config: IP address=10.163.199.230, HTTP user/password=admin/***, update interval=60
2022-08-13 17:48:23.504 [DEBUG] [.binding.shelly.internal.handler.ShellyBaseHandler] - shellyuni-98cdac2c6bf2: Configured Events: Button: false, Switch (on/off): false, Push: false, Roller: true, Sensor: true, CoIoT: true, Enable AutoCoIoT: true
2022-08-13 17:48:23.504 [DEBUG] [.binding.shelly.internal.handler.ShellyBaseHandler] - shellyuni-98cdac2c6bf2: Start initializing thing Shelly UNI (shellyuni-98cdac2c6bf2@10.163.199.230), type shellyuni, ip address 10.163.199.230, CoIoT: true
2022-08-13 17:48:23.652 [DEBUG] [.binding.shelly.internal.handler.ShellyBaseHandler] - shellyuni-98cdac2c6bf2: Unable to initialize: Device unreachable or API Timeout (), retrying later
2022-08-13 17:48:23.652 [DEBUG] [.binding.shelly.internal.handler.ShellyBaseHandler] - shellyuni-98cdac2c6bf2: Update status job started, interval=20*3=60sec.

Seems to inicate and access issue… But it works with 3.3.0 and I can access the device from the openHAB server:

I also tried the GEN2 build but got lots more errors.

@Mark_VG I updated the gen2 build, UNI is working again (JSON format changed)

Thanks Marcus.

All my devices are back online with the latest build I found in your repo.

On each openHAB restart I however now get the following:

javax.servlet.ServletException: servlet already registered with a different alias
        at org.ops4j.pax.web.service.spi.model.ServerModel.addServletModel(ServerModel.java:119) ~[?:?]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:246) ~[?:?]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:395) ~[?:?]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:504) ~[?:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.element.ServletWebElement.register(ServletWebElement.java:102) ~[bundleFile:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.registerWebElement(WebApplication.java:392) [bundleFile:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.addWebElement(WebApplication.java:188) [bundleFile:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:191) [bundleFile:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:44) [bundleFile:?]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:871) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903) [osgi.core-7.0.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:956) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:495) [org.eclipse.osgi-3.17.200.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1271) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1222) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1200) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1121) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:928) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:864) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1152) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:114) [bundleFile:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:956) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:495) [org.eclipse.osgi-3.17.200.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1271) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1222) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1200) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1121) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:928) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:864) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1152) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:114) [bundleFile:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:956) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:495) [org.eclipse.osgi-3.17.200.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:420) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [osgi.core-7.0.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:944) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:229) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1847) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1840) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1745) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1667) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345) [org.eclipse.osgi-3.17.200.jar:?]

Any idea what the cause/solution would be?

275 | Active |  80 | 2.0.0                  | Californium (Cf) Element Connector
276 | Active |  80 | 2.0.0                  | Californium (Cf) Core
277 | Active |  80 | 3.4.0.202208132110     | openHAB Add-ons :: Bundles :: Shelly Binding

In case I have attached a debug log?

shelly.log (708.4 KB)

Thanks
Mark

this was fixed yesterday evening, please update

Hi Markus

Thanks, updated the the latest download:

275 | Active |  80 | 2.0.0                  | Californium (Cf) Element Connector
276 | Active |  80 | 2.0.0                  | Californium (Cf) Core
278 | Active |  80 | 3.4.0.202208141105     | openHAB Add-ons :: Bundles :: Shelly Binding

Still get the same:

14:32:57.885 [ERROR] [er.whiteboard.internal.WebApplication] - Registration skipped for [ServletWebElement{mapping=DefaultServletMapping{httpContextId=null,urlPatterns=[/shelly/event, /shelly/wsevent],initParams={},servlet=org.openhab.binding.shelly.internal.api.ShellyEventServlet@62ed1978, alias=null, servletNamenull}}] due to error during registration
javax.servlet.ServletException: servlet already registered with a different alias
        at org.ops4j.pax.web.service.spi.model.ServerModel.addServletModel(ServerModel.java:119) ~[?:?]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:246) ~[?:?]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:395) ~[?:?]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:504) ~[?:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.element.ServletWebElement.register(ServletWebElement.java:102) ~[bundleFile:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.registerWebElement(WebApplication.java:392) [bundleFile:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.addWebElement(WebApplication.java:188) [bundleFile:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:191) [bundleFile:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:44) [bundleFile:?]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:871) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903) [osgi.core-7.0.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:956) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:495) [org.eclipse.osgi-3.17.200.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1271) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1222) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1200) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1121) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:928) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:864) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1152) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:114) [bundleFile:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:956) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:495) [org.eclipse.osgi-3.17.200.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1271) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1222) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1200) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1121) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:928) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:864) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1152) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:114) [bundleFile:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:956) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:495) [org.eclipse.osgi-3.17.200.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:420) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [osgi.core-7.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [osgi.core-7.0.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:944) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:229) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.17.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.17.200.jar:?]
        at org.apache.karaf.bundle.command.Start.executeOnBundle(Start.java:38) [bundleFile:?]
        at org.apache.karaf.bundle.command.BundlesCommand.doExecute(BundlesCommand.java:65) [bundleFile:?]
        at org.apache.karaf.bundle.command.BundlesCommand.execute(BundlesCommand.java:55) [bundleFile:?]
        at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) [bundleFile:4.3.7]
        at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) [bundleFile:4.3.7]
        at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) [bundleFile:4.3.7]
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) [bundleFile:4.3.7]
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) [bundleFile:4.3.7]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) [bundleFile:4.3.7]
        at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) [bundleFile:4.3.7]
        at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) [bundleFile:4.3.7]
        at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) [bundleFile:4.3.7]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:829) [?:?]

sorry, update again
I lost changes from yesterday evening and need to do it again

Thank you. Seems fixed is:

275 | Active |  80 | 2.0.0                  | Californium (Cf) Element Connector
276 | Active |  80 | 2.0.0                  | Californium (Cf) Core
279 | Active |  80 | 3.4.0.202208141309     | openHAB Add-ons :: Bundles :: Shelly Binding

Much appreciated

Hi there,
as @markus7017 proposed, im posting my problem here.

Im running openHAB openHAB 3.3.0 Release Build on TrueNAS-SCALE-22.02.4-MASTER-20220805-041141 from within TrueCharts Docker-Compose app.

I only own 2 times the new Shelly H&T Plus and installed the following software on it:

  1. Shelly = 0.11.0-beta3
  2. Shelly = plushtprod1.2

I installed the openHAB Shelly-Binding version 3.3.0

I used the Shelly app to initiate the Shelly devices, connected them to my network and i am able to reach both devices via the WebUI via entering their IP adress.

Bluetooth and Cloud is deactivated.
I did not set a password / activated the “Auth” option.

When i try to discover these devices via Shelly-Binding, i can not find them

Procedure:

  • Long-Press button of the shelly devices
  • Shelly devices reboot and show “Set”
  • Web UI is permanently reachable
  • In openHAB i go to Things > Add > Shelly > “Scan”-Button

Nothing gets discovered.
I am absolutely new to this Shelly-thing so maybe im doing something wrong

Additionally to that, it seems that if i have the Cloud-Option disabled, after around 1 Day i can also not discover the devices via app anymore

I have to use the WebUI to activate Cloud again and then the app recognizes the values/devices again.+

Regarding Debug-Logs:

  • I do not have a Script-Button on the WebUI
  • I activated Debugging on Web-Socket
  • The only thing i can see in frontail is 2022-08-15 10:53:09.208 [INFO ] [shelly.internal.ShellyHandlerFactory] - Shelly Manager started at http(s)://192.168.48.1:8,080/shelly/manager"

Sorry i have no idea or did find a documentation how to provide/activate further logging options

Could you please give me a quick hint where to look at?

Thank you very much for taking the time for this …

Hi Marcus
I have also noticed that since chnaging to the new binding version I am seeing way more fluctuation on the UNI results (arrow when the upgrade to latest GEN2 on 3.4 M1:

Also seems my Shelly Manager is no longer workimg:

Thanks
Mark

you have to use 0.11.0beta3, older releases are not supported

did you tried to add the thing manually using the IP address?

Does your Docker installation automatically routes mDNS Requests into the container so OH could process them?

Enable the DEBUG log. usually that‘s a simple task in the OH console, AFAIK the console is not available for Docker setup. Find out how to activate DEBUG output for the binding (maybe someone could help)

what does that mean?

yes, Shelly Manager needs adjustments

I am not sure if the precision of the readings had changed or the frequency. But if yiu look at the chart there is a lot more fluctuation than before my upgrade.
Probably not the biggest issue, but noticeable non the less.

Cool. Will wait for a future update.
Thanks

The binding takes what it gets.
a) by polling the device once a minute
b) Coap near-realtime events
Precision, measuring interval etc. are implemented/defined b the device. Maybe there are also device settings.

Check events.log if the values look reasonable

Hi Markus

The events.log values do seem reasonable.

What I think the difference is the number of decimals being received.

Previously was getting e.g 27.638 V, now getting 27.64 V - so only 2 digits now. This makes he fluctuations more pronounced when charting.

{
  "link": "https://10.163.199.252:8443/rest/items/ShellyUNIshellyuni98cdac2c6bf210163199230_VoltageADC",
  "state": "25.64 V",
  "stateDescription": {
    "pattern": "%.0f %unit%",
    "readOnly": true,
    "options": []
  },
  "editable": true,
  "type": "Number:ElectricPotential",
  "name": "ShellyUNIshellyuni98cdac2c6bf210163199230_VoltageADC",
  "label": "Shelly UNI Voltage ADC",
  "category": "",
  "tags": [
    "Point"
  ],
  "groupNames": [
    "Persistence_Group"
  ]
}

I have now manually configured the stateDescription pattern to %.3f %unit%, but not sure it will help is the binding is not storing the extra digit.

From REST API this is what I have in persistence from before upgrade:

{
  "name": "ShellyUNIshellyuni98cdac2c6bf210163199230_VoltageADC",
  "datapoints": "4981",
  "data": [
    {
      "time": 1660341600000,
      "state": "27.621000000000006"
    },
    {
      "time": 1660341660000,
      "state": "27.61666666666667"
    },
    {
      "time": 1660341720000,
      "state": "27.616500000000002"

and this is what I get now:

{
  "name": "ShellyUNIshellyuni98cdac2c6bf210163199230_VoltageADC",
  "datapoints": "1440",
  "data": [
    {
      "time": 1660559880000,
      "state": "27.75"
    },
    {
      "time": 1660559940000,
      "state": "27.610000000000003"
    },
    {
      "time": 1660560000000,
      "state": "27.63"
    },
    {
      "time": 1660560060000,
      "state": "27.69"
    },
    {
      "time": 1660560120000,
      "state": "27.62"

I changed the build-in definition to `%.3f %unit%, please try the updated build

you need to delete the thing and re-discover

OK

Yes, i tried to, same result

This could be the root cause

I managed to access openHAB console from within the openHAB container by using

$ /openhab/runtime/bin/client
Entering password: habopen
openhab> log:set DEBUG org.openhab.binding.shelly

This finally gave me some more information in frontail.
As i went to Things > Add > Shelly and pushed the “Shelly” button, the following came up in the log
(i have not added any shelly device to my things)

==> /var/log/openhab/openhab.log <==

2022-08-17 06:03:43.673 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellydevice-e11b44fab6: Status update triggered thing initialization

2022-08-17 06:03:43.674 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellydevice-e11b44fab6: Start initializing thing Password protected Shelly Device, type shellydevice, ip address http://192.168.178.70, CoIoT: false

2022-08-17 06:03:43.679 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellydevice-e11b44fab6: API Timeout, retry #11425 (Device unreachable or API Timeout (GET http://http://192.168.178.70/shelly))

2022-08-17 06:03:43.680 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellydevice-e11b44fab6: API Timeout, retry #11426 (Device unreachable or API Timeout (GET http://http://192.168.178.70/shelly))

2022-08-17 06:03:43.681 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellydevice-e11b44fab6: API Timeout, retry #11427 (Device unreachable or API Timeout (GET http://http://192.168.178.70/shelly))

Sorry my fault,
as i switch both of my Shelly H&T Pluses into Discovery mode this log appears:

EDIT: Static IP addresses of my shellys are


2022-08-17 06:44:02.455 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-a80b51d4eb: Status update triggered thing initialization

2022-08-17 06:44:02.456 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-a80b51d4eb: Start initializing thing Shelly H&T (SHHT-1), type shellyht, ip address http://192.168.178.71/, CoIoT: true

2022-08-17 06:44:02.456 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-a80b51d4eb: Stopping CoAP Listener

2022-08-17 06:44:02.466 [DEBUG] [helly.internal.coap.ShellyCoapServer] - CoAP Listener stopped

2022-08-17 06:44:02.468 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-a80b51d4eb: Starting CoAP Listener

2022-08-17 06:44:02.469 [DEBUG] [helly.internal.coap.ShellyCoapServer] - Initializing CoIoT listener (local IP=192.168.48.1:5683)

2022-08-17 06:44:02.480 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-a80b51d4eb: API Timeout, retry #781 (Device unreachable or API Timeout (GET http://http://192.168.178.71//cit/d))

2022-08-17 06:44:02.481 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-a80b51d4eb: API Timeout, retry #782 (Device unreachable or API Timeout (GET http://http://192.168.178.71//cit/d))

2022-08-17 06:44:02.481 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-a80b51d4eb: API Timeout, retry #783 (Device unreachable or API Timeout (GET http://http://192.168.178.71//cit/d))

2022-08-17 06:44:02.482 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-a80b51d4eb: Unable to refresh status: message.statusupdate.failed

java.lang.IllegalArgumentException: cannot resolve host name: http

	at org.eclipse.californium.core.coap.Request.setURI(Request.java:300) ~[?:?]

	at org.eclipse.californium.core.coap.Request.setURI(Request.java:262) ~[?:?]

	at org.openhab.binding.shelly.internal.coap.ShellyCoapHandler.newRequest(ShellyCoapHandler.java:612) ~[?:?]

	at org.openhab.binding.shelly.internal.coap.ShellyCoapHandler.sendRequest(ShellyCoapHandler.java:595) ~[?:?]

	at org.openhab.binding.shelly.internal.coap.ShellyCoapHandler.discover(ShellyCoapHandler.java:561) ~[?:?]

	at org.openhab.binding.shelly.internal.coap.ShellyCoapHandler.start(ShellyCoapHandler.java:145) ~[?:?]

	at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.initializeThing(ShellyBaseHandler.java:221) ~[?:?]

	at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.refreshStatus(ShellyBaseHandler.java:440) ~[?:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

	at java.lang.Thread.run(Thread.java:829) [?:?]

You have 2xPlusHT Gen2, the one with the display, correct) and not Shelly H&T (Gen1). The Log looks like to added a thing manually and selected Shelly H&Z instead of Shelly Plus HT. If you don’t see the Plus devices in the list you don’t have the gen2 binding in place.
The Device IP address has the format 192.168.178.70 not http://192.178.178.70/

1 Like