0.8.1 • Published 4 months ago

node-red-contrib-dyson-purelink v0.8.1

Weekly downloads
84
License
MIT
Repository
github
Last release
4 months ago

Node RED dyson pure link

This Node RED module can control dyson purifier. (tested with dyson hot&cool pure link)

Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways.

:question: Get Help

I'm always open for bug reports and feature requests, please open issues.

:cloud: Installation

First of all install Node-RED

$ sudo npm install -g node-red
# Then open  the user data directory  `~/.node-red`  and install the package
$ cd ~/.node-red
$ npm install node-red-contrib-dyson-purelink

Or search for dyson-purelink in the manage palette menu

Then run

node-red

:yum: How to contribute

Have an idea? Found a bug? See how to contribute.

git clone https://github.com/pbrunier/node-red-contrib-dyson-purelink.git
cd node-red-contrib-dyson-purelink
npm install
gulp
cd ~/.node-red 
npm install /path/to/node-red-contrib-dyson-purelink

:memo: Documentation

Configuration:

  • E-Mail: dyson E-Mail
  • Password: dyson Password
  • Country: Country-Code (US,DE,AT,GB,...)

IMPORTANT: Deploy the node, before searching for devices.

node explanation:

INFO: IF you know the IP address of the device, it better to use this. Instead bonjour auto-discovery will be used. Sometimes this is magically not working correctly.

The action can be defined in the node properties or can be in the msg.payload.action.

Possible values are:

  • getTemperature
  • getAirQuality
  • getRelativeHumidity
  • getFanStatus
  • getFanSpeed
  • getTemperatureTarget
  • getJetFocus
  • getNightModeStatus
  • getRotationStatus
  • getAutoOnStatus
  • setRotation - rotation (true/false) {"action":"setRotation", "rotation": true}
  • setRotationAngle - min_angle (5-355 degrees), max_angle (5-355 degrees) {"action":"setRotationAngle", "min_angle": 90, "max_angle": 270}
  • setFanSpeed - speed in percent
    { "action": "setFanSpeed","speed": "100" }
  • BETA: setTemperatureTarget - Temperature target in degrees celcius (1-37 degrees) { "action": "setTemperatureTarget","temperatureTarget": "20" }
  • setJetFocusOn
  • setJetFocusOff
  • setNightModeOn
  • setNightModeOf
  • setHeatOn
  • setHeatOff
  • turnOn
  • turnOff
  • getDeviceInfo (for support)

For the following actions some additonal parameters are mandatory:

  • setRotation: msg.payload.rotation
  • setRotationAngle: msg.payload.min_angle, msg.payload.max_angle
  • setFanSpeed: msg.payload.speed
  • BETA: setTemperatureTarget: msg.payload.temperatureTarget

ExampleFlow:

example

Download and import to NodeRED - flow.json

:scroll: The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0.8.1

4 months ago

0.8.0

4 months ago

0.7.0

4 months ago

0.6.1

10 months ago

0.6.0

10 months ago

0.5.0

2 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.4.2

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago