Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pschmitt/pynuki
Python bindings for nuki.io bridges
https://github.com/pschmitt/pynuki
iot nuki-io smart-lock
Last synced: 7 days ago
JSON representation
Python bindings for nuki.io bridges
- Host: GitHub
- URL: https://github.com/pschmitt/pynuki
- Owner: pschmitt
- License: gpl-3.0
- Created: 2017-02-02T07:09:34.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-02-24T20:03:03.000Z (10 months ago)
- Last Synced: 2024-11-24T08:04:47.368Z (29 days ago)
- Topics: iot, nuki-io, smart-lock
- Language: Python
- Homepage: https://pypi.org/project/pynuki/
- Size: 173 KB
- Stars: 20
- Watchers: 6
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pynuki
![PyPI](https://img.shields.io/pypi/v/pynuki)
![PyPI - Downloads](https://img.shields.io/pypi/dm/pynuki)
![PyPI - License](https://img.shields.io/pypi/l/pynuki)
[![CI](https://github.com/pschmitt/pynuki/workflows/CI/badge.svg)](https://github.com/pschmitt/pynuki/actions?query=workflow%3A%22CI%22)Python library for interacting with Nuki locks and openers
## Installation
```bash
pip install -U pynuki
```## Usage
```python
from pynuki import NukiBridgebridges = NukiBridge.discover()
br = bridges[0]
br.token = "YOUR_TOKEN"# Locks
br.locks[0].lock()
br.locks[0].unlock()# Openers
br.openers[0].activate_rto()
br.openers[0].deactivate_rto()
```