Code Monkey home page Code Monkey logo

homebridge-dyson-nu's Introduction

homebridge-dyson

HomeBridge interface to Dyson Link smart purifiers.

This HomeBridge plugin is experimental and not affiliated with, or endorsed by Dyson.

Configuration

Connection to the Dyson Link smart accessory requires a username and password, both of which you can derive from your front sticker or user manual.

The username is your device serial ID - you can derive this from your product SSID by removing DYSON- from the start and -475 from the end. It is also shown on the Dyson Link app.

The password is a base-64 encoded SHA-512 hash of the password shown on your front sticker or user manual. You can use this online tool to help derive your encoded hash.

Example HomeBridge config.json entry

"accessories": [
  {
    "accessory": "dyson-coollink",
    "name": "Purifier Cool Tower",
    "ip": "10.0.1.x",
    "username": "...",
    "password": "..."
  }
],

homebridge-dyson-nu's People

Contributors

simonrice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebridge-dyson-nu's Issues

Hot+Cool Link (heat mode) characteristic (Dyson hmod) + Night Mode characteristic (Dyson nmod) + Current/Target Heat Mode Temperature get/set characteristic??

Hello,

Thanks for writing this plugin.

I have two requests regarding integration with Dyson Hot+Cool Link:

  1. Please add control for Dyson hmod = value ? "HEAT" : "COOL"
    perhaps you could use this Hap-NodeJS characteristic for this:
    /**
  • Characteristic "Current Heating Cooling State" ** + Characteristic "Target Heating Cooling State"
    */

Characteristic.CurrentHeatingCoolingState = function() {
Characteristic.call(this, 'Current Heating Cooling State', '0000000F-0000-1000-8000-0026BB765291');
this.setProps({
format: Characteristic.Formats.UINT8,
perms: [Characteristic.Perms.READ, Characteristic.Perms.NOTIFY]
});
this.value = this.getDefaultValue();
};

inherits(Characteristic.CurrentHeatingCoolingState, Characteristic);

Characteristic.CurrentHeatingCoolingState.UUID = '0000000F-0000-1000-8000-0026BB765291';

// The value property of CurrentHeatingCoolingState must be one of the following:
Characteristic.CurrentHeatingCoolingState.OFF = 0;
Characteristic.CurrentHeatingCoolingState.HEAT = 1;
Characteristic.CurrentHeatingCoolingState.COOL = 2;

  1. Add Temperature control characteristic get/set for Dyson HotCoolLink Heat Temperature setting.

  2. Also it would be great if you can add control for Dyson "nmod" (NightMode) On/OFF. Dyson nmod is BOOL
    as simple switch characteristic.on would suffice, but you could also use Characteristic.NightVision
    which is reserved for the Camera service, but I believe HomeKit to be agnostic regarding adding any Characteristic available in HomeKitTypes.js to any HomeKit Service, the new characteristic will work and show up in Eve.app and perhaps even controlled via Siri Voice Commands.

Thanks again for the plugin. I hope you find the time to make the additions I have suggested :)
I'd be happy to do it myself if I was more familiar with the Dyson Link api...

Add to npm

Can you please add the plugin to npm?

dyson-coollink no registered plugin

So im trying to get this to install via npm, which is really not working. I have also tried to put the files in the respective directory myself but dont seem to be having much luck, what is the intended way to use this package?

Whenever i run homebridge i just get:

`/usr/local/lib/node_modules/homebridge/lib/api.js:60
throw new Error("The requested accessory '" + name + "' was not registered by any plugin.");
^

Error: The requested accessory 'dyson-coollink' was not registered by any plugin.
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:60:13)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:254:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:81:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
`

Any help would be great! :)

Password

Hi Can you please give me some more details of how to install this and get the password?

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.