Skip to content

Fox Cloud API error fix#3981

Merged
springfall2008 merged 1 commit into
mainfrom
fix/fox_api
May 30, 2026
Merged

Fox Cloud API error fix#3981
springfall2008 merged 1 commit into
mainfrom
fix/fox_api

Conversation

@springfall2008
Copy link
Copy Markdown
Owner

No description provided.

@springfall2008 springfall2008 marked this pull request as ready for review May 30, 2026 15:13
Copilot AI review requested due to automatic review settings May 30, 2026 15:13
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

Bugfix for Fox Cloud API requests that were rejected with invalid-parameter errors. Removes the unsupported ExportLimitPower device setting and the unsupported feedin2 variable from the production report queries, bumps the version to v8.39.7, and updates the corresponding test expectations.

Changes:

  • Drop ExportLimitPower from FOX_SETTINGS and update the matching unit test.
  • Drop feedin2 from the year/month production report variable lists.
  • Bump THIS_VERSION to v8.39.7.

Reviewed changes

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

File Description
apps/predbat/fox.py Removes ExportLimitPower from FOX_SETTINGS and feedin2 from production year/month variables.
apps/predbat/tests/test_fox_api.py Adjusts setting-fetch test to expect 6 keys without ExportLimitPower.
apps/predbat/predbat.py Version bump to v8.39.7.

Comment thread apps/predbat/fox.py
year = datetime.now(self.local_tz).year
month = datetime.now(self.local_tz).month
variables = ["generation", "feedin", "feedin2", "gridConsumption", "chargeEnergyToTal", "dischargeEnergyToTal", "PVEnergyTotal"]
variables = ["generation", "feedin", "gridConsumption", "chargeEnergyToTal", "dischargeEnergyToTal", "PVEnergyTotal"]
@springfall2008 springfall2008 merged commit 88c193f into main May 30, 2026
2 checks passed
@springfall2008 springfall2008 deleted the fix/fox_api branch May 30, 2026 15:18
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