Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find device in account #23

Open
bryanshihpeng opened this issue Jan 19, 2019 · 2 comments
Open

Can't find device in account #23

bryanshihpeng opened this issue Jan 19, 2019 · 2 comments

Comments

@bryanshihpeng
Copy link

Hi, Thanks for your API.
I Can't find my TP04 in my account which is already registered.
what can i do?
Thanks for your help!

@GeneralD
Copy link

GeneralD commented Feb 23, 2019

modify dyson.py v1 -> v2

def devices(self):
        """Return all devices linked to the account."""
        if self._logged:
            device_response = requests.get(
                "https://{0}/v2/provisioningservice/manifest".format(
                    DYSON_API_URL), verify=False, auth=self._auth)

and dyson_device.py
because 'Active' is not found in the response now

    def on_connect(client, userdata, flags, return_code):
        ...
#         self._active = json_body['Active']
        self._active = True

But in my case, program freezes after connect() or auto_connect().

@etheralm
Copy link

the current version of this library doesn't support those devices and I'm afraid that those changes aren't enough to get them working. but I already submitted a pr add support for them here:
#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants