Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 NukiBridge

bridges = 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()
```