Open giphahne opened 7 years ago
installing from a requirements.txt would be excellent. For some reason I've consistently had difficulty getting python3, pip, and ansible to all play nicely together. If you've got some ansible stuff that can get a python3 venv set up with pip, that would be amazing.
I've just been testing against a clean install of raspbian running on a raspberrypi3 on my local network. This probably isn't necessary for all parts of the system, but right now I've been working on getting GPIO, SPI, I2C, etc. working for reading from the scanner, and operating a relay.
"is there a web interface?" That is an excellent question. The "minimum viable product" at this point right now would be essentially just a "stateless bridge" between the single RFID scanner, the wildapricot user data, and the single relay that operates the door. However this doesn't address how we would get the IDs of the RFID tags in the first place (i.e., presumably we need some way to actually see that you have card "1204", and I have card "1593", or whatever) A very simple web-interface is likely the best way to do this.
I've been pretty sloppy with my commits so far, just because I wanted to get some stuff out there to "get things moving". but there's nothing special about the way I've done it so far, if you've got some other/better ways to do things don't hesitate to push them.
A web interface is probably simple enough, but if there are any issues with that, maybe a simple "scan this card then the next card scanned is an ADD". Could have a simple scanner-only interface like that.
Or hold down the open button while scanning card will email the card ID to admin to assign in wild apricot
On Jun 13, 2017, at 11:04 AM, Trevor Gryffyn notifications@github.com<mailto:notifications@github.com> wrote:
A web interface is probably simple enough, but if there are any issues with that, maybe a simple "scan this card then the next card scanned is an ADD". Could have a simple scanner-only interface like that.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/AnnapolisMakerspace/accesscontrol/issues/2#issuecomment-308146589, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJffOJ48sNX4UyARoC-Lo02KPqFdcbB2ks5sDqUUgaJpZM4N2Lle.
Hey Dan ( @giphahne ),
I cloned the repo early yesterday and was going to add some things for setting up the venv. I saw that yesterday you had another commit later in the evening which had some of the things I was going to add so I just stashed my changes for now.
I was just curious about some of the things that need to get done with this had a few questions about what the end goal looks like.
Does the venv need to install python packages from a requirements.txt? I have done this before with Ansible and could probably add that in if its necessary.
Do you know the best way I should be testing this? I could possibly create a "pi" or "syscon" user on my local computer and try to run the playbook.
Is there a web interface intended for this? I see that in the schema diagram you have "internet gateway" to the Wildapricot API but im not sure we are building a GUI ourselves or not. If we are, could I start to add provisioning stuff like installation of apache2 and wsgi and things of that nature?
I'm excited to get started in on some of this stuff!
-Dylan