Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.51 KB

File metadata and controls

21 lines (16 loc) · 1.51 KB

Motor Control Client

This client is to be used with the MotorControlServer. It allows the user to sign in by pin to a running server.

PWA

This is a PWA-ready app, which means that when root is run on the server that meets minimum requirements, the user will be able to install the app in their browser.

GitHub Pages

This repository is published to https://kottochii.github.io/MotorControlClient/

Setup (input the server data)

When the app is opened the first time, it cannot function without a setup process. This involves:

  1. Going to settings by clicking a respective icon in top-right corner.
  2. Adding hostname with port (e.g. localhost:5555) of the server on the first line
  3. Selecting a radio HTTP or HTTPS
  4. Setting App ID and App Hash as per database.
  5. Testing the values, using respective button.
  6. Submitting the form, using respective button.

Logging and other constraints of browser-based applications

On most widely used browsers, the Network tab shows all of the network requests/responses. Also, failed requests are directly thrown in the console. The way around it is to discourage the user from running a browser with this features, such as by running the app in kiosk mode of the browser (widely available in Firefox), especially on Linux- or Android-based development boards (e.g. RPi, Orange Pi etc.).