Simple python wrapper over wirelesstags REST API
Project 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)
A simple python wrapper library for Wireless Sensor Tag platform (http://wirelesstag.net).
Supports getting data for registered by end user sensor tags.
mytaglist.com account credentials are needed to use this lib.
Enabling tags sharing is not required.
Verified with 13-bit motion/temperature/humidity tags.
# Installation
```shell
pip3 install wirelesstagpy
```
# Development notes
See http://wirelesstag.net/apidoc.html for API details.
# Usage
```python
import wirelesstagpy
api = wirelesstagpy.WirelessTags(username='login_email', password='your_password')
sensors = api.load_tags()
for (uuid, tag) in sensors.items():
print('Loaded sensor: {}, temp: {}, humidity: {} probe taken: {}'.format(
tag.name, tag.temperature,
tag.humidity, tag.time_since_last_update))
```
# Disclaimer
"Wireless Sensor Tags", "KumoSensor" and "Kumostat" are trademarks of Cao Gadgets LLC,
see www.wirelesstag.net for more information.
I am in no way affiliated with Cao Gadgets LLC.
# Copyright
See [LICENSE](LICENSE)
# Changelog
3/11/2018 Initial commit
3/19/2018 Added support for arm/disarm logic for motion/temp/humidity/light
A simple python wrapper library for Wireless Sensor Tag platform (http://wirelesstag.net).
Supports getting data for registered by end user sensor tags.
mytaglist.com account credentials are needed to use this lib.
Enabling tags sharing is not required.
Verified with 13-bit motion/temperature/humidity tags.
# Installation
```shell
pip3 install wirelesstagpy
```
# Development notes
See http://wirelesstag.net/apidoc.html for API details.
# Usage
```python
import wirelesstagpy
api = wirelesstagpy.WirelessTags(username='login_email', password='your_password')
sensors = api.load_tags()
for (uuid, tag) in sensors.items():
print('Loaded sensor: {}, temp: {}, humidity: {} probe taken: {}'.format(
tag.name, tag.temperature,
tag.humidity, tag.time_since_last_update))
```
# Disclaimer
"Wireless Sensor Tags", "KumoSensor" and "Kumostat" are trademarks of Cao Gadgets LLC,
see www.wirelesstag.net for more information.
I am in no way affiliated with Cao Gadgets LLC.
# Copyright
See [LICENSE](LICENSE)
# Changelog
3/11/2018 Initial commit
3/19/2018 Added support for arm/disarm logic for motion/temp/humidity/light
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wirelesstagpy-0.2.0.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for wirelesstagpy-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a8a12ad79ba2784bceaa8e7b0c4f6d86876ac495e53593b8db798aa932ee738 |
|
MD5 | dd439816dc18f2cdc7db496226573ef2 |
|
BLAKE2b-256 | 6a6a355dd788a09acfafdd3d82376c2434a599cf4afbc9661c27dbd3d5286adc |