Giter VIP home page Giter VIP logo

Comments (10)

mattdevo1 avatar mattdevo1 commented on July 22, 2024 1

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:

  1. fully uninstall existing integration and restart ha
  2. 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"],
  3. 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.

lucaquerella avatar lucaquerella commented on July 22, 2024 1

Sorry for the late answer.
The new fork completely solve this and other issues. great job @dotvezz.

from ha-dyson.

MarcusKapun avatar MarcusKapun commented on July 22, 2024

Thx @lucaquerella - can you let me know how the hack works (e.g. where to insert etc)? Again, thanks!

from ha-dyson.

BerlinBased avatar BerlinBased commented on July 22, 2024

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 is 358K.

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.

mattdevo1 avatar mattdevo1 commented on July 22, 2024

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.

niemtec avatar niemtec commented on July 22, 2024

Yeah same here, interestingly 438E paired fine, but 438K did not.

from ha-dyson.

Trabbi1999 avatar Trabbi1999 commented on July 22, 2024

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:

grafik

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.

AlxSZP avatar AlxSZP commented on July 22, 2024

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:

  1. fully uninstall existing integration and restart ha
  2. 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"],
  3. 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.

gonzolino69 avatar gonzolino69 commented on July 22, 2024

I also have the Dyson Purifier Humidify Cool Formaldehyde (358K) and can't connect it with this change either.

from ha-dyson.

dotvezz avatar dotvezz commented on July 22, 2024

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)

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.