Skip to content

pixelbar/doorduino

 
 

Repository files navigation

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 [email protected] /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

Releases

No releases published

Packages

No packages published

Languages

  • C++ 84.0%
  • Perl 10.0%
  • C 3.5%
  • Shell 2.5%