Skip to content

Conversation

@CpuID
Copy link
Contributor

@CpuID CpuID commented Jul 10, 2025

An AI generated attempt at fixing #68

Initially targets SunSpec only, but may be possible to extend to other inverters in future

I suspect this won't be 100% there, but maybe it provides a good foundation to solving this problem? :)

This was done using Claude 4 with Github Copilot, in Visual Studio Code in Agent Mode, with an extensive prompt explaining the problem + multiple interactive conversations of what the configuration syntax should look like.

@CpuID
Copy link
Contributor Author

CpuID commented Jul 10, 2025

cc @longzheng - thoughts direction wise...?

CpuID and others added 13 commits September 6, 2025 20:25
…808a0d3b7c11

Fix missing battery fields in InverterControlLimit test objects and setpoints
- Add missing StorCtl_Mod.OFF enum value for battery storage control mode
- Add all required nullable properties to StorageModel test objects
- Update imports to include StorCtl_Mod enum
- Replace literal values with proper enum values in test expectations
- Addresses all TypeScript compilation errors from CI build

Co-authored-by: CpuID <[email protected]>
…2f739918e0b8

Add comprehensive unit tests for battery control functionality
@CpuID
Copy link
Contributor Author

CpuID commented Sep 6, 2025

I'll look at the build failure next, looks fairly small.

Also I want to check on the syntax for StorCtl_Mod and the way it handles the bitfield16, something I spotted as the tests we're being produced (by Copilot hah)

This all still needs a thorough review, that will also be next on my list to grasp that its doing what it's meant to...

@CpuID
Copy link
Contributor Author

CpuID commented Nov 30, 2025

Closing in favour of #98

@CpuID CpuID closed this Nov 30, 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.

1 participant