Skip to main content

Controlling Dyson Fan. For more information check out my website:https://pypi.org/project/DysonPythonHack/ and my github: https://github.com/Kill0geR/DysonPythonHack

Project description

DysonPythonHack

DysonPythonHack is a library which allows users to control their dyson fans.


How does DysonPythonHack work?

This how you use the Library when you now the IP-Address of your dyson

from DysonPythonHack import DysonDevice

DYSON_IP = "192.168.1.1"
DYSON_SSID = "NN2-EU-########"
DYSON_PASSWORD = "#######"

connect_dyson = DysonDevice(DYSON_IP, DYSON_SSID, DYSON_PASSWORD)
connect_dyson.start(speed=5, rotation=True, night_mode=False, fan_mode=True)

This how you use the Library when you DON'T now the IP-Address of your dyson

from DysonPythonHack import DysonDevice
from DysonPythonHack import DysonIP
import os

DYSON_IP = DysonIP().auto_ip_addr_dyson()
DYSON_SSID = "NN2-EU-########"
DYSON_PASSWORD = "#######"

if not DYSON_IP:
    print("Failed to find Dyson IP")
    os._exit(0)

connect_dyson = DysonDevice(DYSON_IP, DYSON_SSID, DYSON_PASSWORD)
connect_dyson.start(speed=5, rotation=True, night_mode=False, fan_mode=True)

Parameter meanings

  • speed: You can set the speed between 1 and 10
  • rotation: If you set rotation to True your Fan will rotate
  • night_mode: If you set night_mode to True your Fan will enter the Night mode
  • fan_mod: If you set fan_mode to True your Fan will turn on

Change Log

0.0.1 (20/08/2024)

  • First Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DysonPythonHack-0.0.1.tar.gz (4.8 MB view details)

Uploaded Source

File details

Details for the file DysonPythonHack-0.0.1.tar.gz.

File metadata

  • Download URL: DysonPythonHack-0.0.1.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for DysonPythonHack-0.0.1.tar.gz
Algorithm Hash digest
SHA256 71530cd5a84a3b15cb59f7a58a6842b772ae44bc584d70a73384760aebb586ac
MD5 e99a80fec9d294a712df6ea9247c4ff8
BLAKE2b-256 926364f2e653d31bfc0d5bd6aa2974e27d8d6c0683bff96f51bdebbc1b314cfb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page