Debugging HD Powerview blinds

Recently started with OpenHAB and am starting on debugging a few of the items I have that are not working correctly.

Recently installed four HunterDouglas blinds and these were discovered in OpenHAB, but are not responding to commands. Used the OpenHAB API page to query the blind position, but not able to control the blind.

The OpenHAB API generated this command:

   curl -X POST --header "Content-Type: text/plain" --header "Accept: application/json" -d "UP" "http://pi01.groom.ch:8080/rest/items/LandingWindow_Position"

Response Code 200.


==> events.log <==

2018-10-28 11:10:36.184 [ome.event.ItemCommandEvent] - Item 'LandingWindow_Position' received command UP

2018-10-28 11:10:36.194 [nt.ItemStatePredictedEvent] - LandingWindow_Position predicted to become UP

2018-10-28 11:10:36.210 [vent.ItemStateChangedEvent] - LandingWindow_Position changed from 73 to 0

==> openhab.log <==

2018-10-28 11:10:36.247 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.hdpowerview.internal.handler.HDPowerViewShadeHandler@1d2e81f': 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) ~[?:?]

at org.openhab.binding.hdpowerview.internal.HDPowerViewWebTargets.invoke(HDPowerViewWebTargets.java:92) ~[?:?]

at org.openhab.binding.hdpowerview.internal.HDPowerViewWebTargets.moveShade(HDPowerViewWebTargets.java:67) ~[?:?]

at org.openhab.binding.hdpowerview.internal.handler.HDPowerViewShadeHandler.setPosition(HDPowerViewShadeHandler.java:114) ~[?:?]

at org.openhab.binding.hdpowerview.internal.handler.HDPowerViewShadeHandler.setPosition(HDPowerViewShadeHandler.java:98) ~[?:?]

at org.openhab.binding.hdpowerview.internal.handler.HDPowerViewShadeHandler.handleCommand(HDPowerViewShadeHandler.java:60) ~[?:?]

at sun.reflect.GeneratedMethodAccessor380.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) [101:org.eclipse.smarthome.core:0.10.0.oh240M4]

at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [101:org.eclipse.smarthome.core:0.10.0.oh240M4]

at com.sun.proxy.$Proxy165.handleCommand(Unknown Source) [220:org.openhab.binding.hdpowerview:2.4.0.M4]

at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:75) [107:org.eclipse.smarthome.core.thing:0.10.0.oh240M4]

at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:49) [107:org.eclipse.smarthome.core.thing:0.10.0.oh240M4]

at sun.reflect.GeneratedMethodAccessor379.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) [101:org.eclipse.smarthome.core:0.10.0.oh240M4]

at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [101:org.eclipse.smarthome.core:0.10.0.oh240M4]

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

==> events.log <==

2018-10-28 11:10:38.893 [vent.ItemStateChangedEvent] - LandingWindow_Position changed from 0 to 73

Where do I go next ?

regards
Steve

Any progress? I installed a shade today and have exactly the same problem. OpenHAB 2.4 snapshot, PowerView hub 2.0.

At least I am able to control my shades directly from the command line, using curl:

curl -H 'Content-Type: application/json' -X PUT -d '{"shade": {"id": 63778, "positions": {"position1": 0, "posKind1":1, "position2": 30000, "posKind2": 2}}}'  http://192.168.1.163/api/shades/63778 | jq

for my Duette shades. Adjust the numbers position1 and position2.

(this is direct access to the PowerView HUB via its IP address, bypassing OpenHAB).

I wonder if this is the same bug: