Open sesame
Eagle C++ Arduino Perl C Shell
Latest commit 240fd30 Feb 14, 2017 Juerd Waalboer Add LICENSE
Permalink
Failed to load latest commit information.
doc
doorduino3 Folder rename Jun 22, 2016
ibuttons.acl.d Add example acl Jun 2, 2016
lib
mksecret Secrets in iButtons Feb 10, 2014
scripts Script for flashing to ALL connected arduinos Jun 26, 2016
LICENSE
README.md systemd unit Jun 21, 2016
doorduino.pl 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
the-door.conf.pl Reverse logic: start by name, read dev from config Jun 21, 2016

README.md

doorduino

Open sesame

Lees vooral ook de Wikipagina's:

https://revspace.nl/Doorduino3 (Nieuwe hardware iteratie, exact als Doorduino2 maar dan mooier) https://revspace.nl/Doorduino2

== 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/frontdoor.conf.pl
echo "dev => '/dev/ttyUSB1'" > /home/pi/backdoor.conf.pl

== Starting manually, in the foreground ==

./doorduino.pl 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/restartloop.sh