-
Notifications
You must be signed in to change notification settings - Fork 146
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
performance optimization #52
base: master
Are you sure you want to change the base?
Conversation
them for each call.
- reduce unnecessary wrapper processes
…s and removes the need to provide qpiri/qpiws/qmod/qpigs reply sizes in the config. - also fixed some compiler warnings.
…s and removes the need to provide qpiri/qpiws/qmod/qpigs reply sizes in the config. - also fixed some compiler warnings.
…s and removes the need to provide qpiri/qpiws/qmod/qpigs reply sizes in the config. - also fixed some compiler warnings.
convert json output from the poller directly into a bash hash, so that it can be iterated upon.
added publishing the poller's reply into mqtt.
anymore with default HA install of Mosquitto broker using persistence.
retry up to 3 times total if the reply is anything under than "ACK"
@kchiem could you re merge this with the latest from master and i'll get this merged into prod! |
I've actually optimized it to run even faster. I'll re-do the PR. |
don't accept "NAK" results for QMOD, QPIGS, QPIRI, QPIWS queries on polling. clean up debug output a little.
Hi Ned, So I took a look at the new master and the pull request you merged in and have a question: The HA mosquitto broker addon now requires a client id, The pull request you merged in handles this by defining a new field in the mqtt.json file and having all the related scripts pull that field to pass. Are there any other plans for using a specific client id like this? Otherwise, all that effort seems excessive. There's two other ways I can think of to handle this:
Thus, if you want to stay on the current debian image, the scripts could also be modified to call the mosquitto clients with My preference is obviously with option 1, or option 2 at worse. Why handle a specific client id as in your merge? Thoughts? |
I'm happy to change it over to Stretch if you've tested it? - I won't have time to test with a real inverter for another 1-2 weeks - what inverter are you running? |
Sorry mixup - I meant to say move it over to bullseye. |
Yeah, I've been running my container based off debian:bullseye for at least 2 weeks now. |
I'm running the MPP Solar 2024LV-MK. |
Hello, first of all, thank you for sharing your projects. I tried hard to implement this project, but to no avail. I did not get any information from my device. I am a beginner in this field. Can you help? I wish there was a video explaining how to work. my solar inverter axpert vmiii 3500W |
move constant declarations outside the function calls, no need to re-run them for each call.