Skip to content

Enhance pypowerwall API Call Tracking and Debugging #229

@jasonacox

Description

@jasonacox

Possible Improvements to pypowerwall
Add per-endpoint tracking to more calls

Wrap critical API calls with safe_endpoint_call()
Track config vs status endpoints separately
Add specific TEDAPI endpoint health checks

Separate counters for get_config() vs get_status()
Expose in /health endpoint
Log rate limit events more prominently

Current cooldown messages are at ERROR level
Could track rate limit events separately
Add TEDAPI-specific debugging endpoint

/tedapi/health showing config/status call success rates
Cache hit/miss ratios
Last successful call timestamps per endpoint

See #191

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions