bdraco / aioruuvigateway

An asyncio-native library for requesting data from a Ruuvi Gateway.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aioruuvigateway

An asyncio-native library for requesting data from a Ruuvi Gateway.

PyPI - Version PyPI - Python Version


Installation

Requires Python 3.7 or newer.

pip install aioruuvigateway

Usage

Ensure you have set up bearer token authentication in your Ruuvi Gateway (and that you know the token).

API

Documentation can be found in test_library.py for now, sorry.

Command line interface

You can use the command line interface to test the library.

python -m aioruuvigateway --host 192.168.1.249 --token bearbear --parse --json

will output data from the gateway in JSON format, printing changed information every 10 seconds.

License

aioruuvigateway is distributed under the terms of the MIT license.

About

An asyncio-native library for requesting data from a Ruuvi Gateway.

License:MIT License


Languages

Language:Python 100.0%