Closed
Conversation
…sword) Replace the pysolarcloud OAuth2 dependency with a built-in API client that uses the iSolarCloud OpenAPI v1 endpoints (login, getPowerStationList, getDeviceList, getDeviceRealTimeData) with username/password authentication. Key changes: - Add isolarcloud_api.py: self-contained async API client for v1 endpoints - Simplify config_flow to single-step (credentials + login validation) - Remove OAuth callback view and HTTP dependency from __init__.py - Remove pysolarcloud from manifest.json requirements - Update all tests (45 passing) https://claude.ai/code/session_01XqnmcD4knwew4rrePfen9D
- manifest.json name: "Sungrow iSolarCloud (API v1)" - Config flow title: "Connect to iSolarCloud (API v1)" - Entry title: "Sungrow v1 <username>" https://claude.ai/code/session_01XqnmcD4knwew4rrePfen9D
- Rewrite README to document v1 authentication flow (username/password) - Document API endpoints used (login, getPowerStationList, etc.) - Update setup instructions for V1 non-OAuth app creation - Update .env.example with username/password fields https://claude.ai/code/session_01XqnmcD4knwew4rrePfen9D
Rename the integration domain and directory to avoid conflicts with the original sungrow integration. https://claude.ai/code/session_01XqnmcD4knwew4rrePfen9D
feat: migrate from iSolarCloud API v2 (OAuth) to API v1 (username/pas…
The getPowerStationList and getDeviceList endpoints require curPage and size parameters. Without them the API returns er_missing_parameter. https://claude.ai/code/session_01XqnmcD4knwew4rrePfen9D
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.