{ "info": { "author": "Sergiy Maysak", "author_email": "sergey.maysak@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Home Automation" ], "description": "# WirelessSensorTags [![Build Status](https://travis-ci.org/sergeymaysak/wirelesstagpy.svg?branch=master)](https://travis-ci.org/sergeymaysak/wirelesstagpy) [![Coverage Status](https://coveralls.io/repos/github/sergeymaysak/wirelesstagpy/badge.svg?branch=master)](https://coveralls.io/github/sergeymaysak/wirelesstagpy?branch=master) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wirelesstagpy.svg)\n\nA simple python wrapper library for Wireless Sensor Tag platform (`http://wirelesstag.net`).\n\nSupports getting data for registered by end user sensor tags.\nmytaglist.com account credentials are needed to use this lib.\nEnabling tags sharing is not required.\n\nVerified with:\n\n- 13-bit motion/temperature/humidity tags (type 13)\n- Water/Moisture tags (type 32)\n- ALS Pro tag (type 26)\n- PIR Kumo sensor (type 72)\n\n## Installation\n\n```shell\npip3 install wirelesstagpy\n```\n\n## Development notes\n\nSee [apidoc.html](http://wirelesstag.net/apidoc.html) for API details.\n\n## Usage\n\n### Fetch all tags\n\n```python\n\nimport wirelesstagpy\n\napi = wirelesstagpy.WirelessTags(username='login_email', password='your_password')\nsensors = api.load_tags()\nfor (uuid, tag) in sensors.items():\n print('Loaded sensor: {}, temp: {}, humidity: {} probe taken: {}'.format(\n tag.name, tag.temperature,\n tag.humidity, tag.time_since_last_update))\n\n```\n\n## Install custom push notifications\n\nWireless Sensor Tags platforms allows to setup custom url calls for set of specific events.\n\n```python\n\n\nimport wirelesstagpy\n\napi = wirelesstagpy.WirelessTags(username='login_email', password='your_password')\nnotifications = [\n NotificationConfig('update', {\n 'url': 'http://some_local_ip/update_tags',\n 'verb': 'POST'\n 'disabled': False,\n 'nat': True\n })\n]\n\n# install notification for tag with id=1 only\n# use it you have only one tag manager\nsucceed = api.install_push_notification(1, notifications, False)\n\n# if you have multiple tag managers you need specify its 'mac' stored in each tag as following\nsucceed = api.install_push_notification(sensor.tag_id, notifications, False,\n sensor.tag_manager_mac)\n```\n\n## Arm/Disarm sensor monitoring for specific event\n\nSupported events include: motion, temperature, humidity, light\n\n```python\n\nimport wirelesstagpy\n\napi = wirelesstagpy.WirelessTags(username='login_email', password='your_password')\n\n# arm humidity monitoring for tag with id 1,\n# returned instance is updated SensorTag\nsensor = api.arm_humidity(1)\n\n# Disarm it\nsensor = api.disarm_humidity(1)\n\n# Specify tag manager if you have multiple tag managers\nsensor = api.arm_humidity(sensor.tag_id, sensor.tag_manager_mac)\n\n```\n\n## Disclaimer\n\n\"Wireless Sensor Tags\", \"KumoSensor\" and \"Kumostat\" are trademarks of Cao Gadgets LLC,\nsee www.wirelesstag.net for more information.\n\nI am in no way affiliated with Cao Gadgets LLC.\n\n## Copyright\n\nSee [LICENSE](LICENSE)\n\n# Changelog\n\n3/11/2018 Initial commit\n3/19/2018 Added support for arm/disarm logic for motion/temp/humidity/light\n8/4/2018 Added support for multiple tag managers. Python 3.7 added to list of supported.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sergeymaysak/wirelesstagpy/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wirelesstagpy", "package_url": "https://pypi.org/project/wirelesstagpy/", "platform": "any", "project_url": "https://pypi.org/project/wirelesstagpy/", "project_urls": { "Homepage": "https://github.com/sergeymaysak/wirelesstagpy/" }, "release_url": "https://pypi.org/project/wirelesstagpy/0.4.0/", "requires_dist": [ "colorlog (==3.0.1)", "requests (>=2.18.4)", "unittest; extra == 'testing'" ], "requires_python": ">=3", "summary": "Simple python wrapper over wirelesstags REST API", "version": "0.4.0" }, "last_serial": 4227617, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "93e9e58383784f03df3c10105a7b13c3", "sha256": "945c81ca87c8113516017d2ca0575e728845afc690dfb90cb1b2a35fd97610bd" }, "downloads": -1, "filename": "wirelesstagpy-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "93e9e58383784f03df3c10105a7b13c3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 8126, "upload_time": "2018-03-12T20:02:54", "url": "https://files.pythonhosted.org/packages/0c/c1/27a19428c40f2420fcf5fe390499af9447b24882d7684b950fb724ad0a96/wirelesstagpy-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "20e875dbad51529a8b49b81dbbab0c4b", "sha256": "db6401f13088260b341764bd13f65879d3ca4f72107907cff3fb98c6788c77b4" }, "downloads": -1, "filename": "wirelesstagpy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "20e875dbad51529a8b49b81dbbab0c4b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5835, "upload_time": "2018-03-12T20:02:56", "url": "https://files.pythonhosted.org/packages/a6/66/461802eb89373655027d9f172f4fbba3cebdfd84f8681775c57f732fdf86/wirelesstagpy-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "dd439816dc18f2cdc7db496226573ef2", "sha256": "6a8a12ad79ba2784bceaa8e7b0c4f6d86876ac495e53593b8db798aa932ee738" }, "downloads": -1, "filename": "wirelesstagpy-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "dd439816dc18f2cdc7db496226573ef2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9134, "upload_time": "2018-03-18T23:46:08", "url": "https://files.pythonhosted.org/packages/6a/6a/355dd788a09acfafdd3d82376c2434a599cf4afbc9661c27dbd3d5286adc/wirelesstagpy-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d55a0b84006e66a76e80f15b803bffb9", "sha256": "d796cdd13fb0c8a7cc55ef12741ec0ae519970fa5c85809db6fcbc31a59810ff" }, "downloads": -1, "filename": "wirelesstagpy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d55a0b84006e66a76e80f15b803bffb9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 6983, "upload_time": "2018-03-18T23:46:09", "url": "https://files.pythonhosted.org/packages/9a/c8/7cc789e862851d23952c4ecec2e67ab674b7fef6336ad24f30a790001f23/wirelesstagpy-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "bb3ef76b33941c4a2de284abb43f3e75", "sha256": "fa292c920b366ca62d103f55570f364487f5e6de19454c0959dd19393c7846d0" }, "downloads": -1, "filename": "wirelesstagpy-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "bb3ef76b33941c4a2de284abb43f3e75", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 11531, "upload_time": "2018-03-25T17:05:05", "url": "https://files.pythonhosted.org/packages/5b/2c/537fe1f01072317d0b2aa23906ca8b1e3e315ab84761b32fa2b601f8fe26/wirelesstagpy-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bf7aef8f7bf20672fc25d562b53c2c8a", "sha256": "4583f4941318e2393cdc64cbd318b0867e3ca83f2a5ec293156955f576ecbfdb" }, "downloads": -1, "filename": "wirelesstagpy-0.3.0.tar.gz", "has_sig": false, "md5_digest": "bf7aef8f7bf20672fc25d562b53c2c8a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 9354, "upload_time": "2018-03-25T17:05:06", "url": "https://files.pythonhosted.org/packages/66/ac/a3bd7eb2dc0c57788e75ee4d297dd8c023c89489569a0602d577a426e077/wirelesstagpy-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "e7728ea5dc54a6c63b2522931f124f91", "sha256": "6d625c0df3ca8e14a0321f92a64d3acba82c792ac871e366888d962ed1a042bd" }, "downloads": -1, "filename": "wirelesstagpy-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e7728ea5dc54a6c63b2522931f124f91", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 16631, "upload_time": "2018-08-31T21:00:02", "url": "https://files.pythonhosted.org/packages/75/39/2a4426012dd226e6f8ac793ef4ce4990912923b5d559595543cf11f1778e/wirelesstagpy-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd2a670b04897c732999697e5d46fb9a", "sha256": "a99bfbd27da9443a86eacdfac231694c5d6962d9a9d50044c0f564a44cefd581" }, "downloads": -1, "filename": "wirelesstagpy-0.4.0.tar.gz", "has_sig": false, "md5_digest": "bd2a670b04897c732999697e5d46fb9a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 13641, "upload_time": "2018-08-31T21:00:04", "url": "https://files.pythonhosted.org/packages/b0/c0/72926cd151523a1062db3cdce530805b344601cd6caa252903fa4b62ca31/wirelesstagpy-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e7728ea5dc54a6c63b2522931f124f91", "sha256": "6d625c0df3ca8e14a0321f92a64d3acba82c792ac871e366888d962ed1a042bd" }, "downloads": -1, "filename": "wirelesstagpy-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e7728ea5dc54a6c63b2522931f124f91", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 16631, "upload_time": "2018-08-31T21:00:02", "url": "https://files.pythonhosted.org/packages/75/39/2a4426012dd226e6f8ac793ef4ce4990912923b5d559595543cf11f1778e/wirelesstagpy-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd2a670b04897c732999697e5d46fb9a", "sha256": "a99bfbd27da9443a86eacdfac231694c5d6962d9a9d50044c0f564a44cefd581" }, "downloads": -1, "filename": "wirelesstagpy-0.4.0.tar.gz", "has_sig": false, "md5_digest": "bd2a670b04897c732999697e5d46fb9a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 13641, "upload_time": "2018-08-31T21:00:04", "url": "https://files.pythonhosted.org/packages/b0/c0/72926cd151523a1062db3cdce530805b344601cd6caa252903fa4b62ca31/wirelesstagpy-0.4.0.tar.gz" } ] }