I have dusted off and upgraded my development environment and found several topics that need attention:
- There are outstanding pull requests on the master branch that address issues that multiple users encounter.
- Key not found issues.
- Incorrect values when inverter goes to sleep at night.
- The detection of meters and batteries in the meters branch may not work for all inverters.
- The meters branch requires the user to enter if they only have an inverter or if there are also batteries or meters attached. This is a result of a false response from the solaredge_modbus library for my own inverter.
- The meters branch needs merging into master resulting in a release of version 2 of the plugin.
- Upgrading from v1 to v2 will result in error messages as a result of changes in parameters. There's not a lot that can be done from a plugin perspective - needs to be documented as part of the upgrade instructions.
- The solaredge_modbus library has been archived and needs attention.
- The solaredge_modbus library does not verify the response of the inverter when reading batteries and meters. As a result, my plugin may "see" a non-existent battery or meter and collect random data from the inverter.
- The solaredge_modbus library depends on another library: pymodbus. Since pymodbus has introduced changes in their API, the solaredge_modbus library will not work with the latests versions of pymodbus.
- Domoticz has introduced a new plugin framework named "Extended Framework" and the framework used by my plugin is based on what is now named the "Legacy Framework".
- Although there are no reported issues with my plugin using the Legacy Framework, it makes sense to migrate to the Extended Framework at some point.
I need testers who (although they may not have meters or batteries attached to their inverter) start upgrading their v1 plugin to v2 (meters branch) and report issues (here in the Domoticz forum please - not on GitHub).
Next to that, I would like to get in touch with users that do have one or more batteries or meters attached to their inverter. I have found a potential solution for the detection of batteries and meters that should work. It needs testing. To do that, I have created a standalone python script which has nothing to do with Domoticz.
I am looking for users that know (without my help) how to create a virtual environment, install specific versions of pymodbus and run a python script.
Once v2 has become mainstream and it is clear how to correctly detect batteries and meters, I would like to focus on replacing the solaredge_modbus library in order to keep up with newer releases of pymodbus.
There are clones of my plugin that introduced additional functionality. I have not yet looked into that topic and first want to make sure the plugin works and can be installed and maintained properly.
That's the plan. Do share your thoughts - provide feedback and let me know if you can help out with the 2 above mentioned tasks.