Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.8.4 #86

Merged
merged 7 commits into from
May 5, 2024
Merged

v0.8.4 #86

merged 7 commits into from
May 5, 2024

Conversation

jasonacox
Copy link
Owner

@jasonacox jasonacox commented Apr 16, 2024

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 and reserve setting changes.
Closes #87

  • Fix /pod API to add time_remaining_hours and backup_reserve_percent for cloud mode.
  • Replaced t54 - Move control to POST see Changing Battery Configuration State Via GET #87
  • Added GET APIs to retrieve backup reserve and operating mode settings
  • Added POST command APIs to set backup reserve and operating mode settings. Requires setting PW_CONTROL_SECRET for the proxy. Use with caution.
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

@jasonacox
Copy link
Owner Author

Note from #85 - Setting to zero still not working.

@jasonacox
Copy link
Owner Author

Testing jasonacox/pypowerwall:0.8.4t55-beta before merge...

@jasonacox jasonacox merged commit 12ebece into main May 5, 2024
24 checks passed
@jasonacox jasonacox deleted the v0.8.4 branch May 5, 2024 03:48
@jasonacox
Copy link
Owner Author

https://pypi.org/project/pypowerwall/0.8.4/

jasonacox/pypowerwall:0.8.4t55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing Battery Configuration State Via GET Cannot set reserve lower than 5%
1 participant