openHAB 3.3 Release discussion

I’m the maintainer of the node-red-contrib-openhab3 package which is a plugin for Node-RED. This plugin can be used as an alternative to openHABs built-in rules module, which I personally use and prefer.
After the openHAB 3.3 RELEASE it was pointed out to me that there was an error with the plugin (still worked for openHAB 3.2). I had to change two things to get it working again:

  • For receiving updates the plugin makes use of the ServerSent Events connection. I had to change the url from /rest/events?topics=openhab/items to only /rest/events to keep receiving events.
  • For the interactions with the /rest/items endpoint, I wasn’t sending an Accept header. I modified my code to send the Accept: application/json header. That helped.

Maybe sharing this helps others who also rely upon the openHAB rest api.

4 Likes