Skip to content

patrickvaler/neeo-driver-dyson

Repository files navigation

neeo-driver-dyson

npm version Build Status Dependency Status semantic-release Greenkeeper badge

⚠️This driver gets extended during the next couple of days/weeks

Supported Models

  • Dyson Pure Cool Tower TP04 (2018)
  • Dyson Pure Cool Desk DP04 (2018)

More Dyson Link devices are coming soon. You're Dyson Link device is missing? Please open an Issue to get it supported faster.

Supported Components

Buttons

  • POWER ON
  • POWER OFF
  • AUTO ON
  • AUTO OFF
  • CHANNEL UP - Increase Fan Speed
  • CHANNEL DOWN - Decrease Fan Speed
  • NIGHT MODE ON
  • NIGHT MODE OFF

Switches

  • POWER SWITCH
  • AUTO SWITCH
  • NIGHT MODE SWITCH

Widgets

  • CHANNEL ZAPPER - Increase/Decrease Fan Speed

More components are coming soon.

How to install

Drivers for NEEO can be manged with @neeo/cli:

npm install -g @neeo/cli

Create a directory for your NEEO drivers. One directory can contain multiple drivers. The @neeo/cli utility will automatically find the installed drivers and start them.

mkdir my-neeo-drivers
cd my-neeo-drivers
npm init -y

Configuration options like the IP address of the NEEO Brain will be configured in the package.json file in the created drivers directory.

{
  [...]
  "neeoSdkOptions": {
    "serverName": "neeo-server",
    "serverPort": 6336,
    "brainHost": ""
  }
}

You can find more info about the neeeo-cli utility at: https://github.com/NEEOInc/neeo-sdk-toolkit/tree/master/cli

Install this driver into the new NEEO drivers directory:

npm install --save neeo-driver-dyson

Start the installed drivers using the neeo-cli utility with:

neeo-cli start

Configuration

IMPORTANT: At the moment this driver supports just one device and the password for the device has been set as DYSON_FAN_PASSWORD environment variable. You can use dyson-cloud library to get the local credentials of your Dyson device.

It is planned to get rid of this limitation as soon as possible.