jasonacox / pypowerwall

Python API for Tesla Powerwall and Solar Power Data
MIT License
134 stars 24 forks source link

V0.8.3 - Control APIs #83

Closed jasonacox closed 5 months ago

jasonacox commented 5 months ago
# Set Mode
curl http://localhost:8675/control/mode?token=$PW_CONTROL_SECRET&value=self_consumption

# Set Reserve
curl http://localhost:8675/control/reserve?token=$PW_CONTROL_SECRET&value=20

# Omit Value to Read Settings
curl http://localhost:8675/control/mode?token=$PW_CONTROL_SECRET
curl http://localhost:8675/control/reserve?token=$PW_CONTROL_SECRET
jasonacox commented 5 months ago
04/14/2024 09:32:27 AM [proxy] [INFO] pyPowerwall [0.8.3] Proxy Server [t54] - HTTP Port 8675
04/14/2024 09:32:27 AM [proxy] [INFO] pyPowerwall Proxy Started
04/14/2024 09:32:27 AM [proxy] [INFO] pyPowerwall Proxy Server - Local Mode
04/14/2024 09:32:28 AM [proxy] [INFO] Connected to Energy Gateway x (Tesla Energy Gateway)
04/14/2024 09:32:28 AM [proxy] [INFO] Control Commands Activating - WARNING: Use with caution!
04/14/2024 09:32:29 AM [proxy] [INFO] Control Mode Enabled: Cloud Mode Connected
04/14/2024 09:32:30 AM [pypowerwall.local.pypowerwall_local] [ERROR] 404 Powerwall API not found at https://x/api/devices/vitals
04/14/2024 09:32:30 AM [pypowerwall.local.pypowerwall_local] [ERROR] 404 Powerwall API not found at https://x/api/devices/vitals
04/14/2024 09:32:30 AM [pypowerwall.local.pypowerwall_local] [ERROR] 404 Powerwall API not found at https://x/api/devices/vitals
04/14/2024 09:32:30 AM [pypowerwall.local.pypowerwall_local] [ERROR] 404 Powerwall API not found at https://x/api/devices/vitals
04/14/2024 09:32:30 AM [pypowerwall.local.pypowerwall_local] [ERROR] Firmware 240400 detected - Does not support vitals API - disabling.
04/14/2024 09:32:30 AM [pypowerwall.local.pypowerwall_local] [ERROR] Firmware 240400 detected - Does not support vitals API - disabling.
04/14/2024 09:32:30 AM [pypowerwall.local.pypowerwall_local] [ERROR] Firmware 240400 detected - Does not support vitals API - disabling.
04/14/2024 09:32:30 AM [pypowerwall.local.pypowerwall_local] [ERROR] Firmware 240400 detected - Does not support vitals API - disabling.
04/14/2024 09:33:18 AM [proxy] [INFO] Control Command: Set Reserve to 20