https://github.com/pschmitt/pynuki
Python bindings for nuki.io bridges
https://github.com/pschmitt/pynuki
iot nuki-io smart-lock
Last synced: 30 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 (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-02-24T20:03:03.000Z (about 1 year ago)
- Last Synced: 2025-03-30T08:08:38.947Z (about 1 month 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



[](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()
```