DysonPythonHack


NameDysonPythonHack JSON
Version 0.0.2 PyPI version JSON
download
home_pageNone
SummaryControlling Dyson Fan. For more information check out my website:https://pypi.org/project/DysonPythonHack/ and my github: https://github.com/Kill0geR/DysonPythonHack
upload_time2024-08-21 11:46:43
maintainerNone
docs_urlNone
authorFawaz Bashiru
requires_pythonNone
licenseMIT
keywords keylogger
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DysonPythonHack

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

---
# How does DysonPythonHack work?

Just install the library and you are good to go
````angular2html
pip install DysonPythonHack
````

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

````python
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

````python
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)

print(f"Dyson IP: {DYSON_IP}")
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

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "DysonPythonHack",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "Keylogger",
    "author": "Fawaz Bashiru",
    "author_email": "fawazbashiru@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/20/b3/13c2ee1d213f97dd5dabe8f6d80d6c56e047b8935c840bb43bc61f07f93d/DysonPythonHack-0.0.2.tar.gz",
    "platform": null,
    "description": "# DysonPythonHack\r\n\r\nDysonPythonHack is a library which allows users to control their dyson fans.\r\n\r\n---\r\n# How does DysonPythonHack work?\r\n\r\nJust install the library and you are good to go\r\n````angular2html\r\npip install DysonPythonHack\r\n````\r\n\r\n---\r\nThis how you use the Library when you now the IP-Address of your dyson\r\n\r\n````python\r\nfrom DysonPythonHack import DysonDevice\r\n\r\nDYSON_IP = \"192.168.1.1\"\r\nDYSON_SSID = \"NN2-EU-########\"\r\nDYSON_PASSWORD = \"#######\"\r\n\r\nconnect_dyson = DysonDevice(DYSON_IP, DYSON_SSID, DYSON_PASSWORD)\r\nconnect_dyson.start(speed=5, rotation=True, night_mode=False, fan_mode=True)\r\n````\r\n\r\n---\r\nThis how you use the Library when you **DON'T** now the IP-Address of your dyson\r\n\r\n````python\r\nfrom DysonPythonHack import DysonDevice\r\nfrom DysonPythonHack import DysonIP\r\nimport os\r\n\r\nDYSON_IP = DysonIP().auto_ip_addr_dyson()\r\nDYSON_SSID = \"NN2-EU-########\"\r\nDYSON_PASSWORD = \"#######\"\r\n\r\nif not DYSON_IP:\r\n    print(\"Failed to find Dyson IP\")\r\n    os._exit(0)\r\n\r\nprint(f\"Dyson IP: {DYSON_IP}\")\r\nconnect_dyson = DysonDevice(DYSON_IP, DYSON_SSID, DYSON_PASSWORD)\r\nconnect_dyson.start(speed=5, rotation=True, night_mode=False, fan_mode=True)\r\n````\r\n\r\n---\r\n# Parameter meanings\r\n* speed: You can set the speed between 1 and 10\r\n* rotation: If you set rotation to True your Fan will rotate\r\n* night_mode: If you set night_mode to True your Fan will enter the Night mode \r\n* fan_mod: If you set fan_mode to True your Fan will turn on\r\n\r\n\r\nChange Log\r\n==========\r\n\r\n0.0.1 (20/08/2024)\r\n-----------------\r\n- First Release\r\n\r\n0.0.2 (21/08/2024)\r\n-----------------\r\n- Linux automatic dyson ip finder fix\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Controlling Dyson Fan. For more information check out my website:https://pypi.org/project/DysonPythonHack/ and my github: https://github.com/Kill0geR/DysonPythonHack",
    "version": "0.0.2",
    "project_urls": null,
    "split_keywords": [
        "keylogger"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "20b313c2ee1d213f97dd5dabe8f6d80d6c56e047b8935c840bb43bc61f07f93d",
                "md5": "50109466a5c0f26b4fe90f6a826c41d7",
                "sha256": "668ac6a278c8840ff41095dadc9f06ab99de1d8a76129103954c37ab2b724f0b"
            },
            "downloads": -1,
            "filename": "DysonPythonHack-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "50109466a5c0f26b4fe90f6a826c41d7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4840326,
            "upload_time": "2024-08-21T11:46:43",
            "upload_time_iso_8601": "2024-08-21T11:46:43.454747Z",
            "url": "https://files.pythonhosted.org/packages/20/b3/13c2ee1d213f97dd5dabe8f6d80d6c56e047b8935c840bb43bc61f07f93d/DysonPythonHack-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-21 11:46:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "dysonpythonhack"
}
        
Elapsed time: 0.53540s