Zwave JS Error in Openhab Gateway

Hello, I’m getting an error in the Zwave JS Gateway in Openhab. Gateway won’t run, so all my Zwave devices are errored out.

COMMUNICATION_ERROR
Connection closed: 1009, Text message size [2391399] exceeds maximum size [2097152]

I have 60+ devices, but didn’t get the error until I added a kwikset lock that is unknown. Zwave js added many generic channels for the lock which I assume takes up space. I removed the lock and it brought me back under the threshold. The lock works with openhab and I have three of them. I added the devices and tried to increased the buffer size in the yaml file.

environment:

  • SOCKETIO_MAX_HTTP_BUFFER_SIZE=10000000

This seemed to work very temporarily. It didn’t persist for some reason and I’m back to the zwave js gateway error in Openhab.

I’m running zwave js in docker on the same Pi as Openhab.

Is there a way to permanently increase the buffer size? Or is there something else I should be doing?

Thanks

Hey had the same issue. Go into your Zwave JS gateway thing and click on advanced and increase the Maximum Message Size. Zwave JS sends all the zwave data in one giant message sometimes it exceeds as you add more devices.. i have 50+ items now and the below value is plenty.

That looks easy. I was trying to fix it from zwave js ui and from the docker container. ChatGPT and Grok failed me….

Thanks, I will give it a try.