Skip to content

Conversation

@27ascii
Copy link

@27ascii 27ascii commented Jan 28, 2024

The library has been extended to allow writing of settings to the inverter. An example of how it can be used to control battery state is included.

type SettingsDataValues structmatches the response structure of the GET /settings

type SettingsDataValues struct {

However it is lacking the valuefield required for writing. Therefor I created ModuleSettings suitable for the updates.
https://github.com/27ascii/golrackpi/blob/8e66f85887f14f082a50b14027045251009f2bab/settings.go#L186

@27ascii
Copy link
Author

27ascii commented Mar 29, 2024

@geschke Let me know if you need further information on this PR.

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.

1 participant