Skip to content

ERROR Unknown error connecting to Powerwall at https:///api/operation: Invalid URL 'https:///api/operation': No host supplied #208

@jamski68

Description

@jamski68

Any ideas why this error occurs when trying to update the reserves at /control/reserves the PW_HOST variable is set and all other GET operations are working other than the control operations

08/31/2025 12:41:28 PM [pypowerwall.local.pypowerwall_local] [DEBUG] Tesla local mode enabled
08/31/2025 12:41:28 PM [pypowerwall.local.pypowerwall_local] [DEBUG] loaded auth from cache file .powerwall (cookie authmode)
08/31/2025 12:41:28 PM [proxy] [INFO] Control Mode Enabled: Cloud Mode (local) Connected
08/31/2025 12:41:48 PM [proxy] [DEBUG] 10.0.2.100 "GET /control/reserve HTTP/1.1" 200 -
08/31/2025 12:41:48 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/operation
08/31/2025 12:41:48 PM [pypowerwall.local.pypowerwall_local] [DEBUG] ERROR Unknown error connecting to Powerwall at https:///api/operation: Invalid URL 'https:///api/operation': No host supplied
08/31/2025 12:42:03 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/operation
08/31/2025 12:42:03 PM [pypowerwall.local.pypowerwall_local] [DEBUG] ERROR Unknown error connecting to Powerwall at https:///api/operation: Invalid URL 'https:///api/operation': No host supplied
08/31/2025 12:42:03 PM [pypowerwall] [DEBUG] Setting operation: {'backup_reserve_percent': 20, 'real_mode': None}
08/31/2025 12:42:03 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/status
08/31/2025 12:42:03 PM [pypowerwall.local.pypowerwall_local] [DEBUG] ERROR Unknown error connecting to Powerwall at https:///api/status: Invalid URL 'https:///api/status': No host supplied
08/31/2025 12:42:03 PM [pypowerwall.local.pypowerwall_local] [DEBUG] ERROR Unknown error connecting to Powerwall at https:///api/operation: Invalid URL 'https:///api/operation': No host supplied
08/31/2025 12:42:03 PM [proxy] [INFO] Control Command: Set Reserve to 20
08/31/2025 12:42:03 PM [proxy] [DEBUG] 10.0.2.100 "POST /control/reserve HTTP/1.1" 400 -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions