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

Setup of new devices #188

Open
semafor opened this issue Mar 16, 2017 · 0 comments
Open

Setup of new devices #188

semafor opened this issue Mar 16, 2017 · 0 comments

Comments

@semafor
Copy link
Contributor

semafor commented Mar 16, 2017

I want to set up a new device, but I want to be inconvenienced as little as possible.

I have a rasperry-pi with a FriskbyImage installed, such that I only need to change one configuration file for “everything to work”.

Suggested solution:

  1. I go to friskby.no, and there's a menu item called "setup new device".
  2. I am taken to a registration page where I enter my email and password.
  3. I am logged in, and see a three step wizard labeled "setup new device".
  4. I enter name.
  5. I enter coordinates (captured from placing a needle on a map?).
  6. A configuration file is presented, which I am to install at /etc/friskby/<device name>.ini.
  7. I click "Register" and I am then taken to a “device page” where I can in some way confirm that my device is now successfully registered, and sending data to friskby.

Notes:

  • Writing the configuration file can be done either by SSH or by using the rasbian GUI, both can be documented.
  • Requires user registration in django, which isn't trivial. How to guard against spam/attacks?
  • New users are non-superusers, and they should only be allowed to view and manage their own sensors.

Would this be sufficient for setting up a new device (and sensors) and have its data logged correctly?

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

No branches or pull requests

1 participant