Skip to content

Support external PV for fox cloud#3980

Merged
springfall2008 merged 3 commits into
mainfrom
fix/fox_external_pv
May 30, 2026
Merged

Support external PV for fox cloud#3980
springfall2008 merged 3 commits into
mainfrom
fix/fox_external_pv

Conversation

@springfall2008
Copy link
Copy Markdown
Owner

No description provided.

@springfall2008 springfall2008 marked this pull request as ready for review May 30, 2026 13:30
Copilot AI review requested due to automatic review settings May 30, 2026 13:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Fox Cloud automatic configuration support for external/third-party PV measured via CT2, alongside a version bump and test coverage for third-party PV scenarios.

Changes:

  • Requests feedin2 production data from Fox Cloud and includes it in published energy metadata.
  • Extends Fox automatic_config() to include CT2 power/energy sensors when thirdPartyGen is enabled.
  • Adds Fox API tests for third-party PV, battery-only, and hybrid PV configurations.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
apps/predbat/fox.py Adds feedin2 and meterpower2 handling for Fox third-party PV automatic config.
apps/predbat/tests/test_fox_api.py Adds tests for Fox third-party PV automatic configuration paths.
apps/predbat/predbat.py Bumps Predbat version to v8.39.6.

Comment thread apps/predbat/fox.py
Comment thread apps/predbat/fox.py
Comment thread apps/predbat/fox.py
@springfall2008 springfall2008 merged commit 4df5adc into main May 30, 2026
1 check passed
@springfall2008 springfall2008 deleted the fix/fox_external_pv branch May 30, 2026 14:06
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.

2 participants