netzero-labs / netzero

Netzero for Tesla: Optimize your solar/battery system
https://www.netzeroapp.io
14 stars 1 forks source link

Polling interval #20

Open FynnGolfer opened 6 days ago

FynnGolfer commented 6 days ago

Have been trying your link to Powerwall but frequently get no change of status. Is there a minimum interval between change requests, like 5 minutes or something? Thanks

zigam commented 6 days ago

Thanks for the report, can you provide some more details? Which link to Powerwall are you using and what do you mean by "no change of status"?

FynnGolfer commented 6 days ago

I’m am using an API via Netzero to change Powerwall settings like ‘Backup Reserve’ and ‘Operational Mode’. Sometimes the request is actioned immediately on others it can take several minutes or I get fed up with waiting. I was wondering if there is a limit too the rate of requests either through Netzero or by Powerwall.Sent from my iPadOn 3 Jul 2024, at 19:41, Ziga Mahkovec @.***> wrote: Thanks for the report, can you provide some more details? Which link to Powerwall are you using and what do you mean by "no change of status"?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

zigam commented 6 days ago

There are two possible issues here:

  1. Configuration changes can sometimes take a few minutes to take effect -- they have to be sent to the Tesla Gateway. You can confirm this by manually changing a configuration option in the Tesla app.
  2. Tesla doesn't always reliably apply the configuration changes. Netzero automations work around this by retrying configuration changes when they are not applied successfully. I have not added those retries to the API endpoints yet.
FynnGolfer commented 5 days ago

Thanks, I will keep trying various options and see if I can solve my problem.Sent from my iPadOn 3 Jul 2024, at 22:51, Ziga Mahkovec @.***> wrote: There are two possible issues here:

Configuration changes can sometimes take a few minutes to take effect -- they have to be sent to the Tesla Gateway. You can confirm this by manually changing a configuration option in the Tesla app. Tesla doesn't always reliably apply the configuration changes. Netzero automations work around this by retrying configuration changes when they are not applied successfully. I have not added those retries to the API endpoints yet.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>