Skip to content

v0.8.4 - Set Reserve

Compare
Choose a tag to compare
@jasonacox jasonacox released this 05 May 04:02
· 163 commits to main since this release

What's Changed

  • v0.8.4 by @jasonacox in #86
  • Updated set_reserve(level) logic to handle levels from 0 to 100. Identified by @spoonwzd in #85

Proxy t55 (4 May 2024)

  • Fix /pod API to add time_remaining_hours and backup_reserve_percent for cloud mode.
  • Replaced t54 - Move control to POST per @KevM in #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.
# Set Mode
export MODE=self_consumption
export RESERVE=20
export PW_CONTROL_SECRET=mySecretKey

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

Full Changelog: v0.8.3...v0.8.4