Skip to content

Latest commit

 

History

History
42 lines (20 loc) · 1013 Bytes

README.md

File metadata and controls

42 lines (20 loc) · 1013 Bytes

Using the repository

Setup Node-RED

Installation

git clone https://github.com/Marius998/PP-NodeRED-Fitech4.0.git

sudo npm install -g --unsafe-perm node-red

Docker docker run -it -p 1880:1880 --name mynodered nodered/node-red

Snap sudo snap install node-red

Navigate to node-red installation directory

Run npm install /path-to-/PP-NodeRED-Fitech4.0/custom_nodes ( folder inside this repository )

Running the application

Start application with node-red

Import flows from PP-NodeRED-Fitech4.0/flows/flows.js ( Inside Node-RED -> Menu in top right corner -> Import )

Navigate to the configuration nodes ( Inside Node-RED -> Settings Icon in top right corner )

Double click LocalBroker and set fields ( Server is IP of the Vacuum-Gripper Controller, Port should be 1883 )

Setup Factory

Power the factory

Start all controllers

Make sure time and date is synched on all controllers

Begin by starting the Vacuum-Gripper program

Start all other controllers programs