-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for 2mppt #2
base: master
Are you sure you want to change the base?
Conversation
- rename some of the variables to make it clearer what they are for - Only read the second mppt if it is configure
Master fix 2mppt
This would actually be incredibly helpful if this were integrated into your repo. It would be great to monitor both MPPTs! |
I actually just added QPIGS2 2nd MPPT myself THEN afterwards found your fork in the "pull requests" .... However, I also had to make a change to the send() command because on the /dev/hiddraw interface it not only requires data to be chunked up to 8-bytes but also requires the last byte to be padded up to 8bytes (on my OS anyway) otherwise it simply fails to write the last 1 byte of the QPIGS2 command. This might be useful to others who when testing the QPIGS2 command on the command line it fails when using the hiddraw interface. while (remaining > 0) { ssize_t written = write(fd, &buf[bytes_sent], chunk_size);
} |
This PR adds support for a second MPPT Like the Kodak OG10 has two MPPTs.
example output: