Open sesame
Eagle C++ Arduino Perl C Shell
Latest commit 240fd30 Feb 14, 2017 Juerd Waalboer Add LICENSE
Failed to load latest commit information.
doorduino3 Folder rename Jun 22, 2016
ibuttons.acl.d Add example acl Jun 2, 2016
mksecret Secrets in iButtons Feb 10, 2014
scripts Script for flashing to ALL connected arduinos Jun 26, 2016
LICENSE systemd unit Jun 21, 2016 Be chatty on stdout/stderr only on terminals Jun 22, 2016
doorduino@.service systemd unit Jun 21, 2016
src Reorg tree for inotool usage. Add OneWire lib files Jun 25, 2015 Reverse logic: start by name, read dev from config Jun 21, 2016


Open sesame

Lees vooral ook de Wikipagina's: (Nieuwe hardware iteratie, exact als Doorduino2 maar dan mooier)

== Configuration

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/

== 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/