Open sesame
Branch: master
Clone or download
Juerd Waalboer
Latest commit 284ad9d Feb 14, 2019



Create a configuration file for every door, in which 'dev' points to the serial device of the associated Arduino.

echo "dev => '/dev/ttyUSB0'" > /home/pi/
echo "dev => '/dev/ttyUSB1'" > /home/pi/

Add keys to files in ibuttons.acl.d, and optionally add executable scripts to granted.d and denied.d.

Starting manually, in the foreground

./ frontdoor  # or another config file

Starting automatically using the systemd unit

cp doorduino@.service /etc/systemd/system

systemctl enable doorduino@frontdoor
systemctl enable doorduino@backdoor

systemctl status doorduino@frontdoor

Starting automatically with cron

See doc/crontab.example and scripts/

See also