Skip to content

connect_to_network issues #36

@steve-burke

Description

@steve-burke

When attempting to use this function, the url is incorrectly resolved and a missing endpoint error is raised. Debug log gives:

Sending command to url: http://WiserHeatXXXXXX.localdomain/data/v2/domain/http://{}/data/v2/network//Station with parameters {'Enabled': True, 'SSID': 'MySSID', 'SecurityKey': 'MyPass'}

When I temporarily overwrote the code to get

Sending command to url: http://WiserHeatXXXXXX.localdomain/data/v2/network/Station with parameters {'Enabled': True, 'SSID': 'MySSID', 'SecurityKey': 'MyPass'}

no error was raised, but nothing happened either. The hub was already connected to a different SSID, so I am not sure whether the command is supposed to work in these circumstances.

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