Script to automatically switch mode and reserve #661
Replies: 4 comments 10 replies
-
Nice job @goodoldme ! Thanks for sharing. With a bit more setup instructions, this may be a good candidate for our tools section. Feel free to submit a PR if you are interested. |
Beta Was this translation helpful? Give feedback.
-
Hi @jasonacox Been sorting out wi-fi issues the past few days. Unfortunately, set reserve and set mode seems to have stopped working for me since yesterday. I get the following response -
However, I noticed in the Tesla app that the reserve is getting set correctly but the mode isnt. Not sure if something has changed in the backend API. Could you advise how best I can troubleshoot this, please? |
Beta Was this translation helpful? Give feedback.
-
Others have seen this behavior and have a work around at least for the Tesla Custom Home Assistant integration. |
Beta Was this translation helpful? Give feedback.
-
Seems this is pending a TeslaPy patch as per jasonacox/pypowerwall#197. Will need to wait for the fix to trickle down to pypowerwall and Powerwall-Dashboard |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First off, thanks @jasonacox for creating Powerwall-Dashboard. I am new to most of the stack and its been quite an interesting learning experience so far. I was initially using NetZero app to automate exports based on timing but given NetZero app has gone the subscription way, I started looking at other options. The following script leveragesAPIs and tools that are already part of pypowerwall/Powerwall-Dashboard. I have been running this for over a month now and it's been working really well for me. Thought I'd share it here for others to use. The script is quite rudimentary as I'm still learning my ropes in zsh. I plan to add a bit more error handling to make it a bit more robust. All suggestions/feedback are welcome.
I have set the script to run between 5-6pm (peak) to set the Powerwall to export
/etc/crontab
* 17-18 * * * <user> /<path_to_script>/switch_mode.sh
switch_mode.conf
switch_mode.sh
Beta Was this translation helpful? Give feedback.
All reactions