Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There should be a better way of adding people to the doorbots #166

Open
amcewen opened this issue Jun 16, 2015 · 7 comments
Open

There should be a better way of adding people to the doorbots #166

amcewen opened this issue Jun 16, 2015 · 7 comments

Comments

@amcewen
Copy link
Member

amcewen commented Jun 16, 2015

Currently we have to ssh into one of the doorbots and manually modify a config file. This isn't ideal because:

  1. It means only a few of us know how to add people to the doors
  2. The definitive list of keys is only held in a couple of locations and not properly backed up.

An ideal version would hook into a member database, which is blocked on issue #45. In the meantime, just adding things in the git repository on bitbucket and having a way to (slightly more) easily deploy that to the doorbots would be good.

This is needed for us to implement a fix to DoESLiverpool/doorbot-setup#11

@DefProc
Copy link

DefProc commented Sep 21, 2015

I've ordered an NFC shield to be able to put on a Leonardo to act as a keyboard, so then at least filling in the config file in git should be more steamlined for inputting card numbers.

@DefProc
Copy link

DefProc commented Sep 23, 2015

The leonardo and shield are now programmed and around for use (source at: https://git.defproc.co.uk/DefProc/rfid-keyboard). There are top and bottom plates to laser cut next, so it's all a bit more practical.

@johnmckerrell
Copy link
Member

It occurred to me that we could use a special RFID card as a way to trigger a refresh, that way you would just edit the config on gitlab and then scan the card, no ssh required. Of course a 1 minute or 5 minute cron job would be even simpler (tho not instant).

@ajlennon
Copy link
Contributor

ajlennon commented Jan 6, 2017

@johnmckerrell or maybe any organiser class card automatically triggering a refresh?

@DoESsean
Copy link
Contributor

We're still in the 'Seán does the config file, then asks John/Adrian to SSH' mode of doing things.

What are the chances of a solution being put in place that would make that more streamlined? It's not a huge hardship right now, although I guess anything that makes things easier is good.

@amcewen
Copy link
Member Author

amcewen commented Jul 11, 2019

We're still intending to improve this as part of the work going on for #670 and that a few of us are chipping away at in the monthly "Hack the Space" evenings. It's taking a while for that to get out of the starting-up weeds and so not the easiest thing for us to delegate more tasks on just yet, but longer term more eyes/hands on that system would be good, so anyone interested in helping out should watch #670 and come along on the evening of a first Tuesday of the month

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants