Skip to content

kottochii/MotorControlClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.).

About

Client for accessing data from MotorControlServer, installable as a PWA and runnable on Pi-like devices.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors