{ "info": { "author": "Erlendeikeland", "author_email": "Erlend132@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# pymillheat\n\n\nPython3 wrapper for interacting with millheat api. \n\n**Features:**\n- Temperature readings.\n- Ability to change set temperature.\n- Turn the device on/off.\n- Device ID, room ID, user ID.\n\n# Install\n```\npip3 install pymillheat\n```\n\n# Example\n```py\nimport pymillheat\n\nmill = pymillheat.Mill(\n access_key=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n secret_token=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n username=\"example@email.com\",\n password=\"password123\"\n)\n\nmill.open_connection()\n\nmill.access_token\nmill.authorization_code\nmill.refresh_token\n\nmill.update_access_token()\n\nmill.get_home_list()\nmill.homes_information\n\nmill.get_room_by_home(home_id)\nmill.rooms_information\n\nmill.get_device_by_room(room_id)\nmill.devices_information\n\nmill.get_independent_devices(home_id)\nmill.independent_devices_information\n\nmill.switch_control_device(device_id, status, retry=1)\nmill.temperature_control_device(device_id, status, hold_temp=None, retry=1)\n\nmill.close_connection()\n```\n\nThanks to https://github.com/Danielhiversen for inspiration code-wise.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Erlendeikeland/pymillheat", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pymillheat", "package_url": "https://pypi.org/project/pymillheat/", "platform": "", "project_url": "https://pypi.org/project/pymillheat/", "project_urls": { "Homepage": "https://github.com/Erlendeikeland/pymillheat" }, "release_url": "https://pypi.org/project/pymillheat/1.0.2/", "requires_dist": [ "aiohttp", "async-timeout", "urllib3" ], "requires_python": ">=3.5.3", "summary": "Library for interacting with millheat api", "version": "1.0.2" }, "last_serial": 5908838, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "6a87931dc08dbaab9d6f1eb2e26d03a3", "sha256": "c0025fbb5f5c1d01685b976405e426db8550014a20339c023ca53cce26610e27" }, "downloads": -1, "filename": "pymillheat-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6a87931dc08dbaab9d6f1eb2e26d03a3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 4960, "upload_time": "2019-09-30T20:35:00", "url": "https://files.pythonhosted.org/packages/44/7a/f86dcfebf2a54b7b37771c39d46056a75442806b98dfeb15de63a0bb51a9/pymillheat-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1332122269c1826f3360639491c694a", "sha256": "40f6f9409f1c325a9f40fc3ab9771ee1e9bf1195cf83625a1e899bd6d03a0e27" }, "downloads": -1, "filename": "pymillheat-1.0.2.tar.gz", "has_sig": false, "md5_digest": "f1332122269c1826f3360639491c694a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 3904, "upload_time": "2019-09-30T20:35:01", "url": "https://files.pythonhosted.org/packages/ab/4d/77094b7209d1e893fb350b4b702011c6a93e54d966fd1164c9c3d470b7fb/pymillheat-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6a87931dc08dbaab9d6f1eb2e26d03a3", "sha256": "c0025fbb5f5c1d01685b976405e426db8550014a20339c023ca53cce26610e27" }, "downloads": -1, "filename": "pymillheat-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6a87931dc08dbaab9d6f1eb2e26d03a3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 4960, "upload_time": "2019-09-30T20:35:00", "url": "https://files.pythonhosted.org/packages/44/7a/f86dcfebf2a54b7b37771c39d46056a75442806b98dfeb15de63a0bb51a9/pymillheat-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1332122269c1826f3360639491c694a", "sha256": "40f6f9409f1c325a9f40fc3ab9771ee1e9bf1195cf83625a1e899bd6d03a0e27" }, "downloads": -1, "filename": "pymillheat-1.0.2.tar.gz", "has_sig": false, "md5_digest": "f1332122269c1826f3360639491c694a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 3904, "upload_time": "2019-09-30T20:35:01", "url": "https://files.pythonhosted.org/packages/ab/4d/77094b7209d1e893fb350b4b702011c6a93e54d966fd1164c9c3d470b7fb/pymillheat-1.0.2.tar.gz" } ] }