Open davoau opened 1 year ago
Hi David. FWIW, I had the same problem and locally patched Mosquitto. See https://juju.nz/michaelh/post/2021/solax/
Hi, What options/build dependences did you use.. I have just done a new install of piOS and home assistant over he weekend (I had forgot all about this problems until I got you comment) and complied it. The new mosquitto binary is 1.8MB against the originals 297k on the piOS 2023.03 - new build is version 2.0.15, original is 2.0.12. It is working fine but just curious to know why the binary file is so big now, and if I can get it smaller. Thanks David
I have recently upgraded from mosquitto version 1.5.7 to 2.0.11 - went from piOS buster to bullseye. I stopped getting mqtt messages from my SolaX inverter, with the mosquitto log file showing the following entries.
After spending a few days trying to work out what the issue is and alot of google searching I have found that it is due to the Solax inverter setting the packet identifier to zero.
I have managed to get it to work with by commenting out the following in handle_publish.c and compiling my own binary.
I am wondering if it is possible to put an option in mosquitto.conf to not reject packet identifiers set to zero, as my invert wifi dongle with never get a firmware update and there must be others out there that are using mqtt clients with this issue.
Thanks David