3. Running the server


Assuming the server is installed, let's take a look on how you can run it.

To run the server, simply call the main script by executing the command: sudo python /home/pi/rcPlugsServer/server/server.py.
Again, adjust the path here if you have copied the server to somewhere else!
NOTE: Depending on the used Raspberry Pi model, the server may take up to 30 seconds until it responds.

When the server is running, you can access the webinterface of the server in your browser on https://yourIp/ where yourIp is the local IP address from your Raspberry Pi.

You will have to trust the ssl certificate, but this is alright since it is your own (it will be created during the installation process).

The login-data for your first login are:
  • Username: admin
  • Password:  admin

There are two roles in this system: user and admin. Admin users have the additional permission to access the admin-area of the webinterface where they can create and remove users, install server updates, reset the database and set the server connection port (for advanced users).

For your own safety, I STRONGLY RECOMMEND you to create a new admin user, login with this one and delete the default admin user.


That's it! The server is running.
Let's take a look at the app now.