Open an electric door using Nuki smartlock status
Project description
Nuki Sesami
Open an electric door equipped with an Nuki 3.0 Pro smart lock.
Requirements
The following components are required when using this package:
- Nuki 3.0 Pro smart lock (or similar)
- ERREKA Smart Evolution Pro electric door controller (or similar)
- Raspberry Pi (or similar) with Raspbian BullsEye (or later) installed
- Waveshare RPi relay board (or similar)
- mqtt broker mosquitto, running on the same Raspberry Pi board
- Pushbutton connected to the relay board
Installation and setup
The package can be installed on the Raspberry PI board as per usual:
pip3 install nuki-sesami
Installation and configuration of the mosquitto broker:
sudo apt update
sudo apt install mosquitto
sudo systemctl enable mosquitto
mosquitto_passwd /etc/mosquitto/passwd nuki <secret1>
mosquitto_passwd /etc/mosquitto/passwd sesami <secret2>
Ensure mqtt is enabled and running on the Nuki Smart Lock using the smartphone app. Use the same credentials as above for the nuki user.
Activate nuki-sesami as systemd service:
nuki-sesami-setup --install-systemd
In the BATS programming menu of the ERREKA door controller ensure the external switch for manual changing the operating mode is activated:
- Function FC01 == OFF, the door will be in open/close mode when switch is in position I
- Function FC07 == ON, the door will be in open and hold mode when switch is in position II
Use wiring connection as depicted in the diagram below:
Usage
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nuki_sesami-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc7531b16fc593d1dce98ee2d8f1149e12e6de385005d55f5893c81b6524ff53 |
|
MD5 | b20ea9784c24e46c57d8700de856886d |
|
BLAKE2b-256 | 3d87578da6fe295b72e9c341c3d43ebf68e4b5e353fecf52af72b153493d331f |