Skip to content

Conversation

@LasseBang
Copy link

Added get_mix_inverter_settings to retrive data such at time for discharge/charge

Added get_mix_inverter_settings to retrive data such at time for discharge/charge
@muppet3000
Copy link
Contributor

muppet3000 commented Mar 13, 2023

Please can you update the readme.md file to add information about the new function and how to use it (we have this for all of the other functions)?

@LasseBang
Copy link
Author

Please can you update the readme.md file to add information about the new function and how to use it (we have this for all of the other functions)?

Done :-)

@AnonTester
Copy link

Please merge this. Very useful PR.

@LasseBang
Copy link
Author

indeed!

Copy link
Owner

@indykoning indykoning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to merge this in but just want to check one small thing if the indenting is correct here

return self.update_inverter_setting(serial_number, setting_type,
default_parameters, parameters)

def get_mix_inverter_settings(self, serial_number):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indenting looks off, so a sanity check. Isn't this the right indenting?

Suggested change
def get_mix_inverter_settings(self, serial_number):
def get_mix_inverter_settings(self, serial_number):

'serialNum': serial_number,
'kind': 0
}
settings_params = {**default_params}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this is not used, probably a leftover

Suggested change
settings_params = {**default_params}

@LasseBang
Copy link
Author

LasseBang commented Aug 13, 2023 via email

@simonrankine
Copy link

simonrankine commented Dec 27, 2024

Hi all, I'm quite interested in the functionality this PR introduces, and it seems a shame to let it languish. If the PR has been abandoned I'd happily adopt it to get it over the line if required. Any thoughts @LasseBang @indykoning @muppet3000 ?

@simonrankine
Copy link

simonrankine commented Jan 5, 2025

In order to unblock what I'm working on with this, I've forked this repo here https://github.com/simonrankine/GrowattServer and published the library with these changes included as growattServerSR on PyPI for now if anyone finds this in future and wants this functionality.

I've also opened #90 here, which includes the fixes requested above, in the hope that it will one day get merged and my fork will no longer be needed.

@indykoning
Copy link
Owner

Closing in favor of #90

@indykoning indykoning closed this Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants