-
Notifications
You must be signed in to change notification settings - Fork 3
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 modbus support #5
base: main
Are you sure you want to change the base?
Conversation
75e7766
to
fc19080
Compare
9048776
to
58c4961
Compare
Hi @MichaelErmer, I can't apply this pull request as I created this repository for usage with CebroGX device and at least the changes in the install script "calling pip" would not work as the command is included in the version of CebroGX. As I see you have setup your own repo (https://github.com/MichaelErmer/dbus-solax-x-pvinverter) - would say it is best to add a link in the readme of this project if someone is interested in modbus-version (also still have not connected my X1 via modbus). Fine for you? |
Hi, |
This PR introduces modbus support to the dbus adapter, modbus should work for x1 and x3 devices, the original cloud connection still works as before if the modbus section is omited from the config.
I also changed the config syntax to support multiple phases, there is a config template in the repository, so users have to copy and adapt the settings for themselves.
This is probably the most stable and secure way to use the solax inverter, its also fully non.-cloud and has no dependencies besides 2 wires that can be of almost unlimited length.
This should also work for X1. You will get much faster update rates and can also read / log the power for each string.
Some of my findings can be found here, eg. how the modbus adapter is created from an rj45 cable: https://wiki.ermer.dev/en/ess/solax-x3-mic
Changes: