Skip to content

can login but cannot list any devices #7

@petrum

Description

@petrum

Hi,

I got the wifi sengled light bulbs, and set them up w/o issues.
I can control them now using the mobile app and google home.

I was very excited to find your library as my goal is to control the ligths from Linux CLI.

I set it up, and I was able to connect using my username/password.
However this seems the end, as listing the devices doesn't seem to work.

Am I doing anything wrong, or this is not supposed to work anymore?

api = sengled.api(
    username="**************",
    password="************",
    session_path="/tmp/sengled.pickle",
    debug=True
)
devices = api.get_device_details()
print(devices)

produces this output:


request: device/getDeviceDetails.json, {}
response: {'messageCode': '200', 'info': 'OK', 'description': '正常', 'deviceInfos': [], 'success': True}
[]

Am I supoposed to see here the 4x available light bulbs as devices?

Please help,
Petru

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