Giter VIP home page Giter VIP logo

Comments (9)

eiddor avatar eiddor commented on July 19, 2024

I know there's some stuff going on with auth and that sometimes you have to open the mobile app, logout, login, and then restart HA again.

I'm still trying to figure out how to get my credentials.

EDIT: Figured out how to get them, but running into auth issues like everyone else has been.

from ha-dyson.

shenxn avatar shenxn commented on July 19, 2024

First try restart your device. If that does not work, enable debug log by adding the following lines into your configuration.yaml to see if you can get anything useful.

logger:
  default: info
  logs:
    libdyson: debug
    custom_components.dyson_local: debug
    custom_components.dyson_cloud: debug

from ha-dyson.

dsumin avatar dsumin commented on July 19, 2024

Here are the log files, let me know if there might be a way to obtain more information:

2021-03-07 11:31:27 INFO (MainThread) [libdyson.dyson_device] Connected to device PT4-EU-JKA0043A
2021-03-07 11:31:47 DEBUG (Thread-345) [libdyson.dyson_device] Disconnected with result code 0
2021-03-07 11:31:47 DEBUG (MainThread) [custom_components.dyson_local.config_flow] Failed to connect to device: 

from ha-dyson.

shenxn avatar shenxn commented on July 19, 2024

To me, it seems that the library timed out during getting status data from your device. What is the model of your device? Also, is it previously working with the official integration?

from ha-dyson.

dsumin avatar dsumin commented on July 19, 2024

The model is Dyson Pure Cool Link
The device was working fine with the official integration before Dyson made changes to the API endpoint. Still works with the official iOS Dyson app.

from ha-dyson.

shenxn avatar shenxn commented on July 19, 2024

Thanks for the info. I'll look into this.

from ha-dyson.

shenxn avatar shenxn commented on July 19, 2024

Note that if you set up Dyson Local manually, the model option is actually very important. If you choose a wrong model, it can cause a problem like this. I don't have a PT4 device, it seems that this is a Pure Cool Link Desk device.

from ha-dyson.

dsumin avatar dsumin commented on July 19, 2024

@shenxn updating to the latest version resolved the issue, thanks.

It appears that some of the changes you made in the last 4 days got this resolved.

from ha-dyson.

dsumin avatar dsumin commented on July 19, 2024

Thank you so much for the integration. I was really frustrated with the official Dyson component, as there were regular connection issues.

from ha-dyson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.