Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieving Locally Cached Data from Gateway #376

Open
aesculus opened this issue Oct 18, 2023 · 1 comment
Open

Retrieving Locally Cached Data from Gateway #376

aesculus opened this issue Oct 18, 2023 · 1 comment

Comments

@aesculus
Copy link

I am aware of the cloud based retrieval discussed in #12 and also the excellent tool for cloud based data population.

But I am wondering how we can get data from the gateway directly that is cached for a short time (don't know the extent of time). On at least two occasions my communications to the PW, and once to my Tesla Solar Roof Nuerio box, were interrupted for a few hours. Most recently two days ago from 2AM to 5AM for example. The Tesla app showed no data and complained that I needed to connect the PW to WiFi etc. The problem was that a wireless access point of mine had locked up for some reason. A quick reboot of the AP had everything running immediately without any other intervention.

But my data was flatlined for both the Tesla app and the PW Dashboard during that period. But over the next day or so the Tesla app showed data during that time period. Somehow Tesla has a way to go back in time and sync up a cache that is stored within the gateway. I have never seen this documented anywhere and wonder how they do it.

How long this cache is persistent and to what time granularity is hard to say. For the Tesla app it shows the usual 5 minute periods but who knows what granularity that was fed from.

@jasonacox
Copy link
Owner

Hi @aesculus - Great question. I'm not aware of any way to get cached data from the Powerwall gateway. If it does exist, there is a strong probably that it is downsampled into the lower-resolution format that Tesla Cloud would want and then transmitted at some interval. That is pure speculation, however.

If anyone is able to find an API call to get access to that information, please let us know.

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

No branches or pull requests

2 participants