Skip to content

feecat/electron-node-red

 
 

Repository files navigation

Electron Node-RED

This is an Electron template to embed Node-RED with an existing Node-RED project to create a native application.

This Repositories forked from: dceejay/electron-node-red .
I have post a issues if you want to see: Feature request: Save .node-red on current folder and others suggesting

The Target is Easy-To-Use Industrial Automation HMI.


For EndUser or System Integrator

Please visit Releases to download package.
Just unzip and run. You will see it like this:

I'm suggest to use TCP/UDP to create program communication with plcs or others.
But Sometimes we need specific protocol like beckhoff ads, I had work a little time for this, so i publish it, You can found it in Releases:




For Developer:

Please make sure you have installed node.js and yarn.
After Clone or Download and unzip this repositories, use cmd to act folder.
Use yarn to automatic download packages.
Use yarn start to start program.
Use yarn dist -w to compile and compress electron app, use RunME_AfterBuild.bat to copy config and flow.
Zip ./dist/win-unpacked and send it to use.

Tips of install nodes on node-red:
before zip win-unpacked folder, run Node-RED Electron.exe once, it will create .node-red folder automaticly.
cd ./node-red, use npm install packagename to install package, like here node-red-dashboard

Tips of config.json:
You can change listenPort to other port if you want.
Change width and height to change default window size.
Change fullscreen or hidetotray to change default start action.
For others option i'm suggesting you can change the sources code if you want.


Thanks dceejay/electron-node-red

About

Electron Node-RED template

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 90.4%
  • HTML 9.0%
  • Batchfile 0.6%