desktop-controller

0.2.3 • Public • Published

Build Status

Desktop controller

Demo - click the image to try it

Installation

  1. Install NodeJS on your raspberry.
  2. install the application by running sudo npm install -g desktop-controller or sudo yarn global add desktop-controller if you use yarn.

Usage

to run the server simply run sudo desktop-controller [options].
Here are the options -

Flag Is required Default Description
-power ✖️ Gpio pin number for power relay.
-reset ✖️ Gpio pin number for reset relay.
-wifi ✖️ Gpio pin number for wifi relay.
-uv ✖️ Gpio pin number for uv light relay.
-led ✖️ Gpio pin numbers (seperated by ,, for example -led 4,5,6) for led mosfets.
-m ✖️ Use this flag if you want to mock gpio calls (won't actually do anything other than logs).
-primary-color ✖️ #000 (black) Change primary color of the application (can be text, hex or rgb).
-secondary-color ✖️ #0F0 (green) Change secondary color of the application (can be text, hex or rgb).

/desktop-controller/

    Package Sidebar

    Install

    npm i desktop-controller

    Weekly Downloads

    14

    Version

    0.2.3

    License

    MIT

    Last publish

    Collaborators

    • unimonkiez