{ "info": { "author": "Swen Kooij", "author_email": "swenkooij@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": ".. image:: https://img.shields.io/:license-mit-blue.svg\n :target: http://doge.mit-license.org\n\n.. image:: https://badge.fury.io/py/py-momit-cool-remote\n :target: https://pypi.python.org/pypi/py-momit-cool-remote\n\n``py-momit-cool-remote`` is a Python 3 library for remotely controlling your air conditioning unit through the use of the Momit Cool.\n\nThe Momit Cool is a small device that can be attached to your AC, allowing you to control it from your smart phone. In order to accomplish remote control from anywhere, commands are sent to their central server, which then sends them to your Momit Gateway device. There are two problems with this:\n\n1. If Momit goes bankrupt and shuts down their servers, everything will stop working.\n2. It is extremely unsecure, all the traffic goes unencrypted over the wire.\n\n``py-momit-cool-remote`` communicates directly with the Momit Gateway, completely circumventing Momit's servers.\n\nNote: Python 3.5 and newer only.\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ pip install py-momit-cool-remote\n\nExample usage\n-------------\n\n.. code-block:: python\n\n from momitcool import MomitCool\n\n cool = MomitCool('192.168.3.164')\n cool.on()\n cool.off()\n\n.. code-block:: bash\n\n $ momit-cool --host 192.168.3.164 --action on\n $ momit-cool --host 192.168.3.164 --action off\n\nDetails\n-------\nThe Momit Cool is a commercial, closed source product that does not have any documentation on how communication is performed. All of the information provided in this repository was found by reverse engineering the protocol. I uncovered most of the information by ARP poisoning and intercepting the traffic between the Momit Gateway and the Momit servers. The Momit Gateway communicates over the CoAP protocol.\n\n**Turning on**\n\n.. code-block::\n\n PUT /10242/0/0\n Content-Format: 1541\n cm=cool,t=1335,sp=210\n\n**Turning off**\n\n.. code-block::\n\n PUT /10242/0/0\n Content-Format: 1541\n cm=cool,t=0,sp=off\n\nReferences\n----------\n\n* https://www.momit.com/en-us/products/cool\n* https://github.com/smikims/arpspoof\n* http://coap.technology/", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Photonios/py-momit-cool-remote", "keywords": "momit,cool,remote,control", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "py-momit-cool-remote", "package_url": "https://pypi.org/project/py-momit-cool-remote/", "platform": "", "project_url": "https://pypi.org/project/py-momit-cool-remote/", "project_urls": { "Homepage": "https://github.com/Photonios/py-momit-cool-remote" }, "release_url": "https://pypi.org/project/py-momit-cool-remote/1.0/", "requires_dist": null, "requires_python": "", "summary": "Library for remotely interfacing with the Momit Cool air conditioning controller.", "version": "1.0" }, "last_serial": 3010275, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "472561eb91f93ad54f45f978f8bd1677", "sha256": "6f04beb04607b557dfd6d278bfe6f753559fc2bfef74d5a5afdc877e63ac4633" }, "downloads": -1, "filename": "py-momit-cool-remote-1.0.tar.gz", "has_sig": false, "md5_digest": "472561eb91f93ad54f45f978f8bd1677", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4540, "upload_time": "2017-07-09T17:27:55", "url": "https://files.pythonhosted.org/packages/72/3b/635b4d6cb5e9b876e059c6091c04ce07ca0caa63320ff3eeb80713cc7701/py-momit-cool-remote-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "472561eb91f93ad54f45f978f8bd1677", "sha256": "6f04beb04607b557dfd6d278bfe6f753559fc2bfef74d5a5afdc877e63ac4633" }, "downloads": -1, "filename": "py-momit-cool-remote-1.0.tar.gz", "has_sig": false, "md5_digest": "472561eb91f93ad54f45f978f8bd1677", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4540, "upload_time": "2017-07-09T17:27:55", "url": "https://files.pythonhosted.org/packages/72/3b/635b4d6cb5e9b876e059c6091c04ce07ca0caa63320ff3eeb80713cc7701/py-momit-cool-remote-1.0.tar.gz" } ] }