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

v4.3.1 - Add Control APIs #474

Merged
merged 1 commit into from
May 8, 2024
Merged

v4.3.1 - Add Control APIs #474

merged 1 commit into from
May 8, 2024

Conversation

jasonacox
Copy link
Owner

Updates

  • Upgrade to pyPowerwall v0.8.4 proxy t55
  • Fix /pod API to add time_remaining_hours and backup_reserve_percent for cloud mode.
  • Dashboard: Removed Powerwall temperature panel in default dashboard (data is no longer available with latest Firmware)
  • Added GET /control/mode and /control/reserve APIs to retrieve operating mode and back reserve settings
  • Added POST /control/mode and /control/reserve APIs to set operating mode and back reserve settings. Requires running setup and setting PW_CONTROL_SECRET for pypowerwall in pypowerwall.env. Use with caution.
# Setup cloud mode for pypowerwall container
docker exec -it pypowerwall python3 -m pypowerwall setup -email=example@example.com

MODE=self_consumption
RESERVE=20
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

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.

None yet

1 participant