pschmitt / pynello

Python library for nello.io intercoms

Home Page:https://pypi.python.org/pypi/pynello

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🚮 Archived!

If you're interested in maintaining this package please get in touch with me at:

https://github.com/pschmitt/contact/issues/new

pynello

Public API

This is new prefered way of interacting with Nello devices.

Get started

Shoot an email to hello@nello.io and ask them to generate a client_id for you.

Code sample

from pynello.public import Nello
n = Nello(client_id='you-need-to-ask-nello-for-this', username='me@example.com', password='somethingLong')

# Get available locations
n.locations

# Open the door ("main" ie. first available location)
n.main_location.open_door()

# Setup a webhook for new events
n.main_location.set_webook('https://example.com/nello/event')

Upstream documentation

Private API

This API is deprecated

A huge thanks to Oskar Neumann for his original work on the FHEM integration.

Code sample

from pynello.private import Nello
n = Nello(username='me@example.com', password='somethingLong')

# Get available locations
n.locations

# Open the door ("main" ie. first available location)
n.main_location.open_door()

# Get the recent activity
n.main_location.activity

About

Python library for nello.io intercoms

https://pypi.python.org/pypi/pynello


Languages

Language:Python 100.0%