-
Notifications
You must be signed in to change notification settings - Fork 48
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 ability to Control Inverter #398
base: master
Are you sure you want to change the base?
Conversation
Getting control functionality in this integration would be great! I've been wanted to automate more of my battery scheduling, but the modbus option has just looked more time/effort than its been worth. Just looking at the readme, is there an option to toggle the The management UI i see for my inverter in the solis app, presents the workmode (e.g. self use), allow grid charging, time of use and battery reserve as separate toggles, although unsure if that's actually how they are held under the hood). If possible, it would be great if you could maybe expand the readme notes a little just to cover a quick mapping of which "solis management ui value" each of the fields relates to. Either way, seems like an awesome addition to this HA integration. |
Energy Control Switch handles all the various modes
…On 9 Dec 2024 at 13:33 +0000, Carl Saggs ***@***.***>, wrote:
Getting control functionality in this integration would be great! I've been wanted to automate more of my battery scheduling, but the modbus option has just looked more time/effort than its been worth.
Just looking at the readme, is there an option to toggle the Time of use switch? (or is this wrapped up in one of the "Energy Storage Control Switch" options?
The management UI i see for my inverter in the solis app, presents the workmode (e.g. self use), allow grid charging, time of use and battery reserve as separate toggles, although unsure if that's actually how they are held under the hood). If possible, it would be great if you could maybe expand the readme notes a little just to cover a quick mapping of which "solis management ui value" each of the fields relates to.
Either way, seems like an awesome addition to this HA integration.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
It is done bit-wise:
Bit 0: (1)unused (always 1)
Bit 1: (2) Time of Use
Bit 2: (4) Off Grid Mode
Bit 3: (8) Battery Wake-Up
Bit 4: (16) Backup
Bit 5: (32) Grid Charging
Bit 6: (64) Feed in Priority
So normally mine is 35: grid+timed+1
…On 9 Dec 2024 at 15:19 +0000, Francis Boundy ***@***.***>, wrote:
Energy Control Switch handles all the various modes
On 9 Dec 2024 at 13:33 +0000, Carl Saggs ***@***.***>, wrote:
> Getting control functionality in this integration would be great! I've been wanted to automate more of my battery scheduling, but the modbus option has just looked more time/effort than its been worth.
> Just looking at the readme, is there an option to toggle the Time of use switch? (or is this wrapped up in one of the "Energy Storage Control Switch" options?
> The management UI i see for my inverter in the solis app, presents the workmode (e.g. self use), allow grid charging, time of use and battery reserve as separate toggles, although unsure if that's actually how they are held under the hood). If possible, it would be great if you could maybe expand the readme notes a little just to cover a quick mapping of which "solis management ui value" each of the fields relates to.
> Either way, seems like an awesome addition to this HA integration.
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Ah, i see. I'd confused myself as i was looking at the older firmware's Re: Bit 0 always being 1, I noticed the "Feed-in priority" modes in the config appear to have it as 0 (unless I'm being dumb) as its value is set to 64?
|
You might be right. It doesn’t seem to be used and, with the latest f/w there are certain options that you cannot set through the API. As always with Solis it’s more than a little opaque…
…On 9 Dec 2024 at 15:49 +0000, Carl Saggs ***@***.***>, wrote:
Ah, i see. I'd confused myself as i was looking at the older firmware's energy_storage_control_switch option_dict which has less options. Cheers for confirming!
Re: Bit 0 always being 1, I noticed the "Feed-in priority" modes in the config appear to have it as 0 (unless I'm being dumb) as its value is set to 64?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
If you want to manually install from my fork and help test that would be very helpful. Just download and copy the contents of custom_components/solis
…On 9 Dec 2024 at 15:58 +0000, Francis Boundy ***@***.***>, wrote:
You might be right. It doesn’t seem to be used and, with the latest f/w there are certain options that you cannot set through the API. As always with Solis it’s more than a little opaque…
On 9 Dec 2024 at 15:49 +0000, Carl Saggs ***@***.***>, wrote:
> Ah, i see. I'd confused myself as i was looking at the older firmware's energy_storage_control_switch option_dict which has less options. Cheers for confirming!
> Re: Bit 0 always being 1, I noticed the "Feed-in priority" modes in the config appear to have it as 0 (unless I'm being dumb) as its value is set to 64?
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi All! Bit new here :) What would be a easy way to copy and paste the repo content? (copied file by file) now the intergrations is corrupt :( |
Do a git clone of the fork you wish to test and copy the entire Solis folder from custom_components folder to the custom_components folder in your home assistant install directory. |
This PR adds the ability to control the inverter's Work Mode and Timed Charging/Discharging Slots