R
R
R.2017-10-24 10:40:09
Django
R., 2017-10-24 10:40:09

How to implement server communication with djanga and Raspberry PI device?

The bottom line is this: there is a django project, one of the applications of which is door control (+ there will be an api for mobile applications) and there is a Raspberry PI that will directly control this door (open / close). How to establish a connection between the server and raspberry? An unauthorized user should not be able to open the door

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2017-10-24
@fox_12

Well, start the client server on the rapsberry side. It is possible on the same Django, or a more lightweight framework.
When authorized by your server with Django - pull yourself the necessary GPIO pins.
Encrypt connections between your server and client on raspberry via ssl for example.
What exactly are the difficulties?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question