I got myself two z-wave fabrio RGBW controllers and I am trying to setup the device but everytime I hit save on the thing config I get
[ERROR] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No message body writer has been found for class java.util.Collections$UnmodifiableMap, ContentType: */*
Just wanted to see if this was a bug as I am sure I haven’t done anything wrong. Looking at other posts it seems it is because a default value isn’t going through.
I am using openhabian build 3.1.0 release build on a PI using an aeotec USB Z-wave dongle.
If with .thing file you can’t change configuration. You than have to include per ui first, than change configuration and than you can exclude and include per file again.
I added the device through the UI via a z-wave scan. So the thing was added via the ui not through file creation. I will increase the log output to see what setting it is having an issue with.
2021-08-25 10:56:17.526 [DEBUG] [onfig.core.ConfigDescriptionRegistry] - No config description found for 'thing:zwave:device:512:node22', using alias 'thing-type:zwave:fibaro_fgrgbw442_00_000' instead
2021-08-25 10:56:17.546 [DEBUG] [st.core.internal.thing.ThingResource] - Config description validation exception occurred for thingUID zwave:device:512:node22 - Messages: {config_154_4=The value must not be less than 0.}
2021-08-25 10:56:17.551 [ERROR] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No message body writer has been found for class java.util.Collections$UnmodifiableMap, ContentType: */*
The value in the webui is 127.
Fibaro:
This parameter defines value sent to devices in association groups.
The parameters consist of 4 bytes, each byte reserved for separate channel, from least significant (IN1) to most significant (IN4).
Applicable for Basic Set and Switch Multilevel Set commands.
Parameter size: 4B
Default value: 4294967295 (0xFF FF FF FF – 255 for all channels)
Available values:
For every byte: 0-99, 255
So I am beyond my understanding of how this works now to provide that error versus how this error is coming up.
Same problem occured here, thanks for the solution!
openHAB: 3.2.0.M2
osName: Mac OS X
osVersion: 10.15.7
osArchitecture: x86_64
browser: Safari 15.0
zwave binding: 3.2.0.M2
thing: FGRGBW-442 FIBARO RGBW Controller 2
I tried out the following thing before found your solution
When “Show advanced” is not checked:
no error displayed on MainUI
error in browser console:
error in openhab.log:
[ERROR] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No message body writer has been found for class java.util.Collections$UnmodifiableMap, ContentType: */*
removing line config_154_4: -1 in Code pane really solves the Save changes issue
But try to set value of 154 IN4 to 255 on Thing pane causes this, which seems to be bug:
[DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 16: Update CONFIGURATION 154/4 to -1
According to the device documentation all four bytes’ default value is 255 (0xFF)
With “Show advanced” checked:
error popup on UI:
error text on UI under advanced parameter 154 (wich contains all 4 bytes)
[ERROR] [st.core.internal.thing.ThingResource] - Exception during HTTP PUT request for update config at 'things/zwave:device:controller:node16/config'
java.lang.NullPointerException: null
you can put value 4294967295 (0xFFFFFFFF) into advanced parameter 154, this will update 154 IN4 to 255 also, but after coming back/refresh the value will be -1 and 154 IN4 127 again, so this is not a solution