Skip to content

Aggressive TEDAPI usage can cause TACO errors/failures #697

@brontide

Description

@brontide

Backstory:

Got the system installed in April, started monitoring in May with PowerwallDashboard. System is 2x PW + 2x Expansion.

Over the last 3 months I have been fighting with outages and failures in various parts of the system. I installed ethernet into the powerwalls which reduced the issues for a while but they kept coming back. Rebooting the powerwalls seemed to resolve it for a while.

Over the last 3 months it's been crazy, I've gotten virtually every error code you can think of ( see attached screenshot ). Support was unable to assist, offering to "update firmware" with no change in behavior.

On a lark I shutdown pypowerwall and the system reverted to normal operation within an hour and has been operating normally for 12 ( second screenshot ). Monitoring the system can break the system < insert Anakin meme >.

I only restarted pypowerwall after making the following changes.

  1. Updated the default interval in the agent to 45 seconds and the timeout for both http sections to 10s
  2. Increased the pypowerwall caching/graceful degradation PW_GRACEFUL_DEGRADATION=yes PW_POOL_MAXSIZE=3 PW_CACHE_EXPIRE=30 PW_BROWSER_CACHE=60 PW_CACHE_TTL=60
  3. I have set my network proxy to 192.168.92.1 to shutdown for 5 minutes overnight and reboot to give the system time to reset.
Image Image

It would seem that the TACO is extremely under powered and can be overwhelmed with API calls to the point of throwing error codes and taking whole units offline. I suggest that the default polling intervals be increased and the graceful degradation be enabled by default to reduce the strain on the system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions