I have a new PowerView Hub and two shades that work fine using the PV app.
I’ve configured the PV Binding in OH 2.3 and have the hdpowerview 2.3 binding installed.
It found my hub and 2 shades with no issue, but when I try to control the shades, I receive this error in the logs:
2018-07-21 12:16:10.802 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.hdpowerview.handler.HDPowerViewShadeHandler@110162f': The template variable 'id' has no value
2018-08-09 17:53:18.332 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.hdpowerview.handler.HDPowerViewShadeHandler@b6250c': The template variable 'id' has no value
java.lang.IllegalStateException: The template variable 'id' has no value
at org.glassfish.jersey.client.JerseyWebTarget.getUri(JerseyWebTarget.java:134) [169:org.glassfish.jersey.core.jersey-client:2.22.2]
at org.openhab.binding.hdpowerview.internal.HDPowerViewWebTargets.invoke(HDPowerViewWebTargets.java:92) [254:org.openhab.binding.hdpowerview:2.3.0]
at org.openhab.binding.hdpowerview.internal.HDPowerViewWebTargets.moveShade(HDPowerViewWebTargets.java:67) [254:org.openhab.binding.hdpowerview:2.3.0]
at org.openhab.binding.hdpowerview.handler.HDPowerViewShadeHandler.setPosition(HDPowerViewShadeHandler.java:114) [254:org.openhab.binding.hdpowerview:2.3.0]
at org.openhab.binding.hdpowerview.handler.HDPowerViewShadeHandler.setPosition(HDPowerViewShadeHandler.java:98) [254:org.openhab.binding.hdpowerview:2.3.0]
at org.openhab.binding.hdpowerview.handler.HDPowerViewShadeHandler.handleCommand(HDPowerViewShadeHandler.java:58) [254:org.openhab.binding.hdpowerview:2.3.0]
at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [102:org.eclipse.smarthome.core:0.10.0.oh230]
at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [102:org.eclipse.smarthome.core:0.10.0.oh230]
at com.sun.proxy.$Proxy170.handleCommand(Unknown Source) [254:org.openhab.binding.hdpowerview:2.3.0]
at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:75) [109:org.eclipse.smarthome.core.thing:0.10.0.oh230]
at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:49) [109:org.eclipse.smarthome.core.thing:0.10.0.oh230]
at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [102:org.eclipse.smarthome.core:0.10.0.oh230]
at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [102:org.eclipse.smarthome.core:0.10.0.oh230]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.lang.IllegalArgumentException: The template variable 'id' has no value
at org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.valueFor(UriTemplate.java:1020) ~[?:?]
at org.glassfish.jersey.uri.UriTemplate.resolveTemplate(UriTemplate.java:706) ~[?:?]
at org.glassfish.jersey.uri.UriTemplate.createUriComponent(UriTemplate.java:1030) ~[?:?]
at org.glassfish.jersey.uri.UriTemplate.createURIWithStringValues(UriTemplate.java:964) ~[?:?]
at org.glassfish.jersey.uri.UriTemplate.createURIWithStringValues(UriTemplate.java:906) ~[?:?]
at org.glassfish.jersey.uri.UriTemplate.createURI(UriTemplate.java:871) ~[?:?]
at org.glassfish.jersey.uri.internal.JerseyUriBuilder._build(JerseyUriBuilder.java:914) ~[?:?]
at org.glassfish.jersey.uri.internal.JerseyUriBuilder.build(JerseyUriBuilder.java:831) ~[?:?]
at org.glassfish.jersey.client.JerseyWebTarget.getUri(JerseyWebTarget.java:132) ~[?:?]
... 22 more
I deleted the shades and hub, then re-added them. I still have the same error -
2018-08-13 08:44:49.293 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.hdpowerview.handler.HDPowerViewShadeHandler@6c7cf7': The template variable 'id' has no value
I’ve tried everything to get this binding to work from Paper UI. I’ve deleted and reinstalled several times and I’m still getting the same error. Is there an earlier version of this binding that works?