docker-voltronic-homeassistant icon indicating copy to clipboard operation
docker-voltronic-homeassistant copied to clipboard

Buffer sizes in config file

Open RenierDev opened this issue 3 years ago • 1 comments

Hi,

This is such a great solution and I would love to just get some help in figuring out this tiny bit (excuse the pun) that I think is holding me back. Buffer sizes for my particular model inverter. Is there a way for me to determine the correct values?

I've tried every suggested value I've stumbled upon for QPIRI, QMOD etc, in different programs to read the data, from the one compiled in this docker image, to the one it was derived from (skymax), compiled on a Pi as well as on a standard Ubuntu installation. I've tried other similar CLI based tools, one called ISV and the other MPP-Solar. All seem to be giving me the same issue, which is complaining about the wrong buffer sizes.

I'm using it via USB, on /dev/ttyUSB0, and the driver that the Linux kernel loads on its own is CH341, which, from what I can tell is just an updated version of the suggested CH340. Could that be the issue?

Basically, all I'm asking for at this stage is some insight as to how to go about figuring out how else to get values from this inverter. It would do anything to get that beautiful JSON response when running the CLI, instead of the "QMOD reply too short (0 bytes)" reply. Other people on this Issue list seem to at least be getting a reply, whereas mine is always 0 bytes.

The inverter just works on Windows with the Solar Monitor application that the inverter ships with, so the connection is there. I'm a Linux guy and would hate to resort to Windows just so that I can talk to this inverter. On Windows it seems to be using a baud rate of 9600 to communicate, although I've seen it being 2400 over here, that's something I'm not 100% familiar with, as in why there would be a difference in baud rate.

This is the inverter. Any help at all will be GREATLY appreciated!

RenierDev avatar Nov 07 '20 06:11 RenierDev

Hello,

Did you resolve this issue? I have almost the same inverter, and the exact same problem.

Thank you for any help!

hegi25 avatar Sep 08 '22 06:09 hegi25