The only lines to edit below now:
Lines 32-35.
The files are pretty much identical but the back up file has reserve for 100%
and time of use has reserve at 5% which is closest you can get to 0%
You should be able to use the code as is.
Steps to running the code:
- Install Python
- Add python to PATH: https://superuser.com/questions/143119/how-do-i-add-python-to-the-windows-path?fbclid=IwAR2_x4WU-7KsU0g3ZsBm57QOfl3GXS1MQLMbPX7nm_CAqhKlp3iQZswRKhw
- The code must be run in administrator mode when using PowerShell.
- Install PIP by going to here: https://bootstrap.pypa.io/get-pip.py, you can save this file locally and run it as : python get-pip.py
- You may receive errors like module ‘requests’ no found you need to pip install
- pip install requests (One you install pip above)
- Windows Task Scheduler should Start a program: PowerShell (refer to video)
- It should have an action like python powerwallBackUp.py
- Test the Task scheduler by running it locally
For Specific instructions you can refer to our you tube video: