Comments (9)
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.
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.
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.
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.
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.
Thanks for the info. I'll look into this.
from ha-dyson.
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.
@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.
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)
- Dyson Cloud never worked, using Dyson Local only now HOT 7
- Type 438K Fails to Connect HOT 3
- Stopped working? HOT 20
- Core 2022.2.0: Sensor has device class temperature, state class measurement and unit °C with non-numeric value: off
- Support Request - Add Device - Dyson HP07 Purifier Hot and Cool - Device Type 527k HOT 12
- No Formaldehyde Value HOT 2
- New device type Dyson purifier cool formaldehyde HOT 4
- New actively maintained integration! Collaborators welcome! Details inside. HOT 8
- Wifi-less "Dyson Pure Humidity+Cool" is not supported
- state class measurement and unit °C thus indicating it has a numeric value; however, it has the non-numeric value: off HOT 4
- Failed to find the device using discovery
- Not working on Home Assistant v2023.6 HOT 1
- ha-dyson failing with "cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson'" HOT 3
- Oscillation/angle setting
- Deactivate preset mode, or preset mode none
- Planned deprecation of direction, oscillate, preset_mode and set_speed HOT 1
- Local integration stopped working in HA 2024.1 HOT 4
- Depreciation warning in logs HOT 1
- ValueError: invalid literal for int() with base 10: 'off'
- async_forward_entry_setup for integration dyson_local during setup without awaiting async_forward_entry_setup to be depereciated in 2025.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-dyson.