openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.69k forks source link

Changing mode of a z-wave dimmer results in exception #5195

Open bronger opened 7 years ago

bronger commented 7 years ago

I use OpenHAB as a container on Ubuntu 16.04 with this command line call:

docker run --env USER_ID=999 --rm --name openhab --net=host \
  -v /etc/localtime:/etc/localtime:ro \
  -v /etc/timezone:/etc/timezone:ro \
  -v /opt/openhab/addons:/openhab/addons \
  -v /opt/openhab/conf:/openhab/conf \
  -v /opt/openhab/userdata:/openhab/userdata -ti \
  --device=/dev/ttyACM0 openhab/openhab:2.1.0-snapshot-amd64

I have activated the z-wave binding. This works nicely with three things so far, however, the third one, a dimmer, cannot be changed to bi-stable mode in PaperUI. (I attached a screenshot.) Every time I click on the “save” icon, an internal server error (500) is reported in the browser, and the log says:

11:54:04.056 [ERROR] [ome.io.rest.core.thing.ThingResource] - Exception during HTTP PUT request for update config at 'things/zwave:device:4976e56b:node10/config' for thing 'zwave:device:4976e56b:node10': For input string: "org.openhab.binding.zwave.internal.protocol.ZWaveAssociationGroup@5e704c1"

log:exception-display yields nothing.

openhab_issue

9037568 commented 7 years ago

Probably not an issue in the binding itself. What do you think, @cdjackson ?

bronger commented 7 years ago

I don't know what pointed me to this repo originally, but probably another repo is a better place for this bug report. I'm happy to move it, if it helps.

cdjackson commented 7 years ago

Probably not an issue in the binding itself. What do you think, @cdjackson ?

It's a little hard to say, but I would suggest to try HABmin to see if that works. I'm not sure that PaperUI works properly with association configuration lists and the error appears to be related to that.

However, given that this repo is the OH1 repo, and we're talking about OH2, then I would suggest this is not the right place and it probably should be opened in the OH2-addons repository for starters.