Today, the dashboard stopped working. Usually the animation briefly displays Xs over everything for a single update interval, then goes back to normal, but it never returned to service. The logs reported a timeout error, but I was able to get a response from https://owner-api.teslamotors.com. I pulled the latest pypowerwall image and brought the container back up, and now I'm getting:
[pypowerwall.cloud.pypowerwall_cloud] [ERROR] Failed to retrieve ENERGY_SITE_BACKUP_TIME_REMAINING - HTTPError('408 Client Error: https://powergate.prd.sn.tesla.services:443/api/v4/energy_site/backup_time_remaining => {:Message=>"Error incomplete data", :Status=>408} for url: https://owner-api.teslamotors.com/api/1/energy_sites/XXXXXXXXXXXXXXXXXX/backup_time_remaining?language=en')
So I ran the upgrade script, since I've been using the old versions of everything except pypowerwall for quite some time. Now I get a different error in the logs:
[pypowerwall.cloud.pypowerwall_cloud] [ERROR] Failed to retrieve SITE_DATA - HTTPError('429 Client Error: https://powergate.prd.sn.tesla.services:443/api/v4/energy_site/live_status => Too Many Requests for url: https://owner-api.teslamotors.com/api/1/energy_sites/XXXXXXXXXXXXX/live_status?counter=6&language=en')
...followed by the original timeout error:
[pypowerwall.cloud.pypowerwall_cloud] [ERROR] Failed to retrieve SITE_DATA - ReadTimeout(ReadTimeoutError("HTTPSConnectionPool(host='owner-api.teslamotors.com', port=443): Read timed out. (read timeout=5)"))
Not quite sure how to address this.
Today, the dashboard stopped working. Usually the animation briefly displays Xs over everything for a single update interval, then goes back to normal, but it never returned to service. The logs reported a timeout error, but I was able to get a response from https://owner-api.teslamotors.com. I pulled the latest pypowerwall image and brought the container back up, and now I'm getting:
[pypowerwall.cloud.pypowerwall_cloud] [ERROR] Failed to retrieve ENERGY_SITE_BACKUP_TIME_REMAINING - HTTPError('408 Client Error: https://powergate.prd.sn.tesla.services:443/api/v4/energy_site/backup_time_remaining => {:Message=>"Error incomplete data", :Status=>408} for url: https://owner-api.teslamotors.com/api/1/energy_sites/XXXXXXXXXXXXXXXXXX/backup_time_remaining?language=en')
So I ran the upgrade script, since I've been using the old versions of everything except pypowerwall for quite some time. Now I get a different error in the logs:
[pypowerwall.cloud.pypowerwall_cloud] [ERROR] Failed to retrieve SITE_DATA - HTTPError('429 Client Error: https://powergate.prd.sn.tesla.services:443/api/v4/energy_site/live_status => Too Many Requests for url: https://owner-api.teslamotors.com/api/1/energy_sites/XXXXXXXXXXXXX/live_status?counter=6&language=en')
...followed by the original timeout error:
[pypowerwall.cloud.pypowerwall_cloud] [ERROR] Failed to retrieve SITE_DATA - ReadTimeout(ReadTimeoutError("HTTPSConnectionPool(host='owner-api.teslamotors.com', port=443): Read timed out. (read timeout=5)"))
Not quite sure how to address this.