Skip to content

hsanjuan/yubinuki

Repository files navigation

YubiNuki

Build Status

This program allows to use NFC Yubikeys to open Nuki smart locks.

Requirements

You will need:

This program runs fine on a Raspberry Pi Zero W.

Installation

After installing Go, in order to run yubinuki in your system:

  • Download and compile the yubinuki program
  • Copy the executable to /usr/local/bin
  • Copy the configuration file to /etc/yubinuki.json and set it up
  • Install and yubinuki.service file and enable the service

In other words, from the repository folder, run:

go get github.com/hsanjuan/yubinuki
cd $GOPATH/src/github.com/hsanjuan/yubinuki
cp yubinuki.template.json yubinuki.json

At this point, EDIT yubinuki.json with the right configuration values. Then:

sudo cp $GOPATH/bin/yubinuki /usr/local/bin/yubinuki
sudo mv yubinuki.json /etc/yubinuki.json
sudo chown root:root /etc/yubinuki.json
sudo chmod 0600 /etc/yubinuki.json
sudo cp yubinuki.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable yubinuki
sudo systemctl start yubinuki

About

Open Nuki locks using a Yubikey and an NFC reader.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages