Skip to main content

DysonPythonHack

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


How does DysonPythonHack work?

First of all you have to clone the Project.

Type this in your terminal:

git clone https://github.com/Kill0geR/DysonPythonHack

Then change Directory:

cd DysonPythonHack

Install all requirements:

pip install -r requirements.txt

Now you are ready to use DysonPythonHack


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

0.0.2 (21/08/2024)

  • Linux automatic dyson ip finder fix

0.0.3 (27/06/2025)

  • automatic dyson ip on windows fix

0.0.3.1 (27/06/2025)

  • Installation add on

0.0.3.2 (27/06/2025)

  • Animation added

Metadata

Release files for DysonPythonHack 0.0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DysonPythonHack 0.0.3.2
File Size Uploaded Provenance Actions
DysonPythonHack-0.0.3.2.tar.gz 4.8 MB Without provenance Details for DysonPythonHack-0.0.3.2.tar.gz

Release files / DysonPythonHack-0.0.3.2.tar.gz

Download URL DysonPythonHack-0.0.3.2.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
1e42e187eabf2800a23060da73a5b37003cf833aa638700d9fc6d6df924f5fba
BLAKE2b-256 checksum
How to use checksums
43b8a2803253b96afb5f31c934b72a85a6cefed6cba12903209984eb30d165d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.7

Security for DysonPythonHack 0.0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page