-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Solis HMI Firmware FB00 #1143
Solis HMI Firmware FB00 #1143
Conversation
I have charge/discharge slot on/off switches in address 43707. Bits 0-5 charge 1-6 and bits 6-11 for discharge 1-6 I tried this pull. I didn't get how to enable/disable my time slots? My inverter: RHI-3P8K-HVES-5G |
I hadn’t managed to find those registers. I had to enable manually on the inverter. I’ll update and push a commit.
…On 18 Dec 2024 at 15:25 +0000, Teemu Pohjalainen ***@***.***>, wrote:
I have charge/discharge slot on/off switches in address 43707. Bits 0-5 charge 1-6 and bits 6-11 for discharge 1-6
I tried this pull. I didn't get how to enable/disable my time slots?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Now updated to add switches. This is quite a big PR as the SWITCHES platform wasn't previously used. I have added SWITCH_TYPES to the solis_fb00 plugin and empty lists to all the other plugins. |
Need to relook into #948 (comment) to prevent all of these huge file diff's due to people having different formatting settings. It's making it impossible to know what's actually changed. Same with #1173 @litinoveweedle @fboundy @PatrikTrestik any idea on the best approach / guide on how to set something up? |
I use Black in VS Code with --linelength=119 but I think what @litinoveweedle is suggesting would run Black at the server level and solve this. I'd be keen to understand how to implement this on my repos too |
On a separate note, I'm note sure whether it is best to keep this as a separate plugin or to try to merge it with |
ChatGPT says it's easy. I will have a try on one of my repos. To deploy a GitHub CI workflow that runs the Black formatter on all commits, you can use GitHub Actions. Here's how to set it up: Create a .github/workflows directory in your repository if it doesn’t already exist. Add a new YAML file for the workflow: Write the workflow:
|
I was thinking of adding GEN to older Firmware's and then adding in GEN2 for the newer. I have just been too busy over the past few weeks to look at the various PR's on here / do any development. |
Hello, I am using for my project automatic formatters hooked to the CI (GitHub actions). It works as supposed - runs on PR merge/push so code is always reformatted before merging - therefore you avoid this commits mess. I can try to help, although I am not an expert and my actions are mostly copy paste of existing examples. :-) |
I have added in pyproject.toml with black and line-length 119 Also added in workflow for black as well with the same line-length |
I’ve got it set up now on my pvopt repo if you have a look in .github/workflows/black.yaml
…On 23 Dec 2024 at 11:18 +0000, wills106 ***@***.***>, wrote:
I have added in pyproject.toml with black and line-length 119
Is it possible to force VS Code to have black as a dependency in the pyproject.toml file? I'm quite new to this.
Also added in workflow for black as well with the same line-length
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Add support for Solis HMI firmware which:
Note that on the inverter and in the SolisCloud API interface each slot also has an On/Off switch. I have not found a ModBus register for this so this will need to be set "ON" once on the inverter or through SolisCloud. It is also not clear what the Voltage target on each slot does.