Skip to content

JanJaapKo/DysonPureLink

Repository files navigation

Dyson Pure Link - Domoticz Python plugin

Domoticz plugin to integrate the Dyson PureLink devices

Upgrade notes:

As of plugin version 5, it is using the Extended Plugin framework. As a result, new devices will be created . If you want to preserve history, timers etc, you have to merge them with the old ones. Follow the below steps:

  1. upgrade plugin following instructions below
  2. follow instructions on Replacing Devices.

Prerequisites

  • Requires Domoticz version V4.10548 or later (due to password hashing).
  • Follow the Domoticz guide on Using Python Plugins to enable the plugin framework.
  • Requires a Dyson account to fetch login details for your machine from (created during registration of the machine) on My Dyson

The following Python modules installed

sudo apt-get update
sudo apt-get install python3-requests
sudo pip3 install pycryptodome

per Debian 12 Bookworm:
sudo apt install python3-pycryptodome

Installation

  1. Clone repository into your domoticz plugins folder
cd domoticz/plugins
git clone https://github.com/JanJaapKo/DysonPureLink

to update:

cd domoticz/plugins/DysonPureLink
git pull https://github.com/JanJaapKo/DysonPureLink
  1. Restart domoticz
  2. Go to "Hardware" page and add new item with type "DysonPureLink"
  3. Set your MQTT server address and port to plugin settings

Configuration

At first setup, the plugin needs to connect to the Dyson cloud provider to get the credentials to acces the machine. Since early 2021 a 2-factor authentication is needed, which leads to a 2 step setup according the steps below.

  1. make sure to login to your cloud account via the Dyson app (this enables the plugin to log in as well).

  2. fill in the following parameters:
    a. machine IP adress
    b. Port number (normally 1883)
    c. Cloud account email adress
    d. Cloud account password
    e. hit 'update' or 'add' (initial setup) button

  3. As a result an email with a verification code (aka OTP code) will be sent to the mail adress specified at c. Fill in the following fields:
    e. fill in the verification code in email verification code
    f. specify the machine's name (as you did when registering the machine) if you have more than 1 Dyson device in Machine name (cloud account)
    g. hit 'update' button

See the Wiki page for extended configuration information.

Known issues/limitation

  • Due to the connection (ip adress) only 1 machine can be connected to 1 instance of the plugin. When you own more than 1 device, create a plugin instance per machine and use the name filtering to select the device.
  • Dyson is regularly updating its cloud API leading to the following error on restart of the plugin/Domoticz: Login to Dyson account failed: '401, Unauthorized'. According to etheralm/issue37 the solution for now (March 2021) is to log in with the Dyson mobile app first

Credits

based on info from the following sources:

About

Handles Dyson Pure Link in Domoticz as plugin

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages