hackeriet / door

System for controlling our main entrance door (hackeriet-door.haus.hackeriet.no / 10.10.3.15)
1 stars 1 forks source link

nfcreader does not read DEBUG env var #18

Open stigok opened 6 years ago

stigok commented 6 years ago

Logs are flooded with:

Oct 28 23:52:46 dev-pi-1 doord.py[1918]: # no card found.
Oct 28 23:52:46 dev-pi-1 doord.py[1918]: # polling ...
Oct 28 23:52:47 dev-pi-1 doord.py[1918]: # no card found.
Oct 28 23:52:47 dev-pi-1 doord.py[1918]: # polling ...
Oct 28 23:52:48 dev-pi-1 doord.py[1918]: # no card found.
Oct 28 23:52:48 dev-pi-1 doord.py[1918]: # polling ...

That problem will be gone when fixing this, as DEBUG is set in the systemd service file.

But I think it's nice to get an indication that the reader is in fact working, but I wonder if there is a better way. Suggestions?