Hi OpenHab Community,
I’m currently struggeling a bit with the http-Binding (version 1.14.0) to get a proper response from my raumserver (hosted on the same rasperry pi)
My setup
RaspberryPi 4 2GB Memory
Kernel: Linux 5.4.51-v7l+
OpenHab Version: 2.5.8-1
http-Binding: Version 1.14.0
JSONPath Transformation: Version 2.5.8
Raumfeld Server (Node Version)
The most recent change that was executed was the update to OpenHab 2.5.8-1.
Before the Update everything was fine.
Since then I get the following details in the events.log file:
> 2020-09-18 08:38:10.348 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread HTTP Refresh Service
> java.lang.NullPointerException: null
> at org.openhab.transform.jsonpath.internal.JSonPathTransformationService.flattenList(JSonPathTransformationService.java:81) ~[?:?]
> at org.openhab.transform.jsonpath.internal.JSonPathTransformationService.transform(JSonPathTransformationService.java:68) ~[?:?]
> at org.openhab.core.transform.TransformationHelper$TransformationServiceDelegate.transform(TransformationHelper.java:69) ~[bundleFile:?]
> at org.openhab.binding.http.internal.HttpBinding.execute(HttpBinding.java:218) ~[?:?]
> at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:146) ~[bundleFile:?]
> at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:169) [bundleFile:?]
Execution of Play or Stop commands via Raumfeld Server is fine.
Also I get the proper JSON Details when I go to the HTTP URL of the Raumserver.
http Binding config:
item_all_raumfeld_http_cache.url=http://ip:8080/raumserver/data/getRendererState?id=Wohnzimmer
item_all_raumfeld_http_cache.updateInterval=2500
Openhab has been redirected on Port 8081 and is working fine on this way
Did also a troubleshooting by uninstalling the http binding. Log went silent.
After reinstalling of http binding (even without) details the issues above started again to fill the log.
In case this topic has been opened in the wrong channel, feel free to guide me to move it to the proper place.
Thanks for any help on this topic.