Closed jasonacox closed 2 months ago
Update set_reserve(level) logic to handle levels from 0 to 100 Closes #85
Update API to use POST method for mode and reserve setting changes. Closes #87
mode
reserve
/pod
time_remaining_hours
backup_reserve_percent
PW_CONTROL_SECRET
export MODE=self_consumption export RESERVE=20 export PW_CONTROL_SECRET=mySecretKey # Set Mode curl -X POST -d "value=$MODE&token=$PW_CONTROL_SECRET" http://localhost:8675/control/mode # Set Reserve curl -X POST -d "value=$RESERVE&token=$PW_CONTROL_SECRET" http://localhost:8675/control/reserve # Read Settings curl http://localhost:8675/control/mode curl http://localhost:8675/control/reserve
Note from #85 - Setting to zero still not working.
Testing jasonacox/pypowerwall:0.8.4t55-beta before merge...
https://pypi.org/project/pypowerwall/0.8.4/
jasonacox/pypowerwall:0.8.4t55
Library Update for v0.8.4
Update set_reserve(level) logic to handle levels from 0 to 100 Closes #85
Proxy Update for t55
Update API to use POST method for
mode
andreserve
setting changes. Closes #87/pod
API to addtime_remaining_hours
andbackup_reserve_percent
for cloud mode.PW_CONTROL_SECRET
for the proxy. Use with caution.