Comments (10)
Everyone! I found a solution, buried in this thread: shenxn/libdyson#32 (comment) @javemp wrote it, I followed it and now it's working: to get this working:
- fully uninstall existing integration and restart ha
- reinstall the integration from hacs (do not restart ha yet) and modify your manifest.json file to change:
“requirements”: [“libdyson==0.8.11”]
to:
“requirements": ["git+https://github.com/jezzab/libdyson.git@main#libdyson==0.9.0"],
- restart ha and install integration as per normal, you should now see purifier cool in the list of devices
huge thanks to @jezzab for his work
Yes that hack works. But you don't need to uninstall and reinstall. You just need to change that line in manifest.json and restart HA.
from ha-dyson.
Sorry for the late answer.
The new fork completely solve this and other issues. great job @dotvezz.
from ha-dyson.
Thx @lucaquerella - can you let me know how the hack works (e.g. where to insert etc)? Again, thanks!
from ha-dyson.
I've recently got a new Purifier Humidify Cool Formaldehyde, it doesn't work out of the box with this integration. I played around a little bit and discovered that it's due to the fact that the device
device_type
is358K
.With the following hack, everything works great in HA.
def get_device(serial: str, credential: str, device_type: str): return DysonPurifierHumidifyCoolFormaldehyde(serial, credential, "358K")
I wanted to let you know. Thanks for sharing this integration.
I´m also interested in this hack but didn´t found the way to add the lines of code you shared. Please share the destination, thank you in forward!
from ha-dyson.
I'm having the same issue with device_type 438K (which is also not supported). Would love guidance on how to implement this hack.
from ha-dyson.
Yeah same here, interestingly 438E paired fine, but 438K did not.
from ha-dyson.
I think he inserted/changed it somewhere in /config/custom_components/dyson_local
But I cannot find the same code as written above. There is something similar in config_flow.py starting in Line 207:
I tried to change CONST_DEVICE_TYPE in const.py to 358K and 358E (the 358E was reported by my Homebridge instance, tried this value aswell), but both were not working. @lucaquerella it would be aswesome if you could share some more details where we can find this code :)
from ha-dyson.
Everyone! I found a solution, buried in this thread:
shenxn/libdyson#32 (comment)
@javemp wrote it, I followed it and now it's working:
to get this working:
- fully uninstall existing integration and restart ha
- reinstall the integration from hacs (do not restart ha yet) and modify your manifest.json file to change:
“requirements”: [“libdyson==0.8.11”]
to:
“requirements": ["git+https://github.com/jezzab/libdyson.git@main#libdyson==0.9.0"],
- restart ha and install integration as per normal, you should now see purifier cool in the list of devices
huge thanks to @jezzab for his work
from ha-dyson.
I also have the Dyson Purifier Humidify Cool Formaldehyde (358K) and can't connect it with this change either.
from ha-dyson.
Unfortunately this integration is no longer maintained, but I've created a new fork and am actively working on the new Formaldehyde models. Have a look at #185 for more information, and let me know if you have any questions.
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'
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.