NodeJS Electron Based Dashboard and a Arudino Xbee Reader
- Config JS File
- Automatic COM Port searching
- Start and Install Scripts
- NodeJS
- Installed Depencidies
npm install
in the root directory
- Web Browser (Chrome)
- Access to running command line
- The Reciver Unit
- Plug in the reciver unit (small black box) into USB
- Download and extract the zip file (in release or "Download Zip" in GitHub) to a location you may access
- Run the
install.bat
if on Windows (if this does not exist, see the Manual Installation section - Profit.
- Once Installed run
run.bat
. This should start the server - If
run.bat
does not launch chrome, open a web browser and go tolocalhost:3000
- Download and extract the zip file (in release or "Download Zip" in GitHub) to a location you may access
- Open command promt (Windows Key + R, then type
cmd.exe
) - Navigate to the dashboard folder
cd [folder]
to "open" a foldercd ..
move up a folder (for exampleDocuments/Folder
->Documents/
)
- Run
npm install
- Open command promt (Windows Key + R, then type
cmd.exe
) - Navigate to the dashboard folder (see above)
- Run
npm start
(If this doesn't work,node server.js
) - Open a web browser and go to
localhost:3000
This means the assigned COM port inside the server isn't correct. The COM port defines where to talk to the reciver unit. We are working to have this be set automaticlly, but it may not be implemented or working correctly. If so we have to update it.
- Open
config.js
- Edit the line
comPort=
to be the correct COM Port. - Save and relaunch the server