Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.

Tesla Cloud API Delay?


Mar 15, 2019

When you use the tesla owners API to issue commands to powerwall / gateway as we do here:



Any idea how to avoid the 15-20 minute delay between calling command and having it take effect on the gateway?
When I used to code locally I would call a separate commit statement:


GET & POST /api/operation Change the Powerwall mode and Reserve Percentage

Note 1: Making changes to the Powerwalls via the Mobile application can take some time to go into effect. There's a rumor that states that the changes happen around 30 minutes past the hour. (Probably based on a cron job in Tesla's servers).

Note 2: Setting a value is not sufficient to make the change. You must "save" or "commit" the configuration to have it go into effect. See the Config Completed section below.

Note 3: Once a value is changed and committed it is immediately in effect

From what I recall I had to call a combination of::

GET /api/sitemaster/run UPDATE: You need to be authenticated for this command This starts the powerwalls & gateway. Use this after getting an authentication token to restart the powerwalls.

Request: curl --cacert cacert.pem https://powerwall/api/sitemaster/run

Returns HTTPS Status 202 if request is accepted

GET /api/config/completed UPDATE: You need to be authenticated for this command This applies configuration changes.

Request: curl --cacert cacert.pem https://powerwall/api/config/completed

Response: Returns HTTP Status 202 if input accepted


Moderator, Model 3, Tesla Energy Forums
Nov 28, 2018
Riverside Co. CA
I am not doing anything with the API etc, but I can tell you that my changes using the regular tesla app happen almost instantly. When I first got the powerwall in january,there was a delay of up to an hour, but it hasnt been that way for quite some time.

I can change from self powered to backup mode and it takes place on the gateway within a few seconds at most. Note, I have my powerwall on a wired ethernet connection on my network, not cellular or wifi.

Products we're discussing on TMC...

About Us

Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.

Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.