Homepage

Mostrando las entradas con la etiqueta linux. Mostrar todas las entradas
Mostrando las entradas con la etiqueta linux. Mostrar todas las entradas

jueves, 27 de octubre de 2016

Installation Node Red dashboard




Node red Dashboard
Node red has dashboard to create and view dashboards to interact with the devices in the internet of things.
There was an earlier version call node-red-contrib-ui which was replaced by node-red-dashboard created by Dave Conway-Jones (dceejay) thanks for your great contribution.


In this case we will install this add to our Node-red, previously installed  Lubuntu (Ubuntu) in next tutorials integrate devices already used previously as Arduino and ESP8266.

Previous tutorials
Tutorial 1 : Install Lubuntu (Ubuntu)
Tutorial 2 : Installation node red platform

Github
github.com/node-red/node-red-dashboard

Dashboard installation for developers

Enter a folder / node-red
 cd ~\.node-red\node_modules 

Copy from github repositories
git clone https://github.com/node-red/node-red-dashboard.git

Enter folder node-red-dashboard
cd node-red-dashboard

Build application
npm install

Back to Folder node-red
cd ..

Run node red
node red 




Dashboard widgets available


Example
Organization and Design Dashboards

The dashboard tab  to organize our dashboard by tabs  and groups since it does not have a tool own design, but consider this way very practical to design without worrying about compatibility design screens different resolutions on devices like smartphones tablets and  pc.


Visualization from PC

Visualization from Tablet  7"


Visualization from Smartphone 4"


Video Complete



Ready to have fun ...

References
Tutorial 1 : Install Lubuntu (Ubuntu)
Tutorial 2 : Installation node red platform
node-red-dashboard
Nodered.org
github.com/node-red
Nodejs.org

More Information:

Youtube Channel:



miércoles, 26 de octubre de 2016

Installation node Modbus TCP Node Red

In the search for attachable communication protocols Node-Red I found thanks to the collaborative development a library or nodes for communication Modbus TCP IP, the following tutorial is indicated as installing the nodes in lubuntu (Ubuntu).

Previous tutorials Recommended
Tutorial 1 : Install Lubuntu (Ubuntu)
Tutorial 2 : Installation node red platform
Tutorial  3 :  Installation Node Red Dashboard




This library   node-red-contrib-modbustcp  was created by  Jason D. Harper  was based on the jsmodbus library, this library allows our Node-Red server is configured as master Modbus TCP, it contains 2 nodes one reading and one writing .

 - your user linux -  /node-red/node_modules/
npm install node-red-contrib-modbustcp

Reading from Master (Node Red) to Slave

Writing from Master (Node Red) to Slave



Complete Video  Install Modbus TCP IP in Node Red


                                              Complete Video  Test Modbus TCP IP in Node Red


Ready to have fun ...


lunes, 17 de octubre de 2016

Installation Node red Platform


Installing Node-Red Platform

Longtime had wanted to try this platform called Node-red created by IBM, was developed in nodejs, Node red is developed by Nick O'Leary and Dave Conway-Jones thanks for their contributions.
But that is Node-red ?
It is an open source graphical tool based connection nodes containing API'S and / or services for communication and / or connecting devices to the Internet
of things, has a friendly web interface contains a variety of basic and complex functions IoT, there is also an online version of node red called IBM bluemix.
There are many tutorials to install Node-red on a local server, but these tutorials although very complete I did not work properly, I decided collect the steps to install Node-red in Linux, in this case Lubuntu (Ubuntu) I hope you will his liking this guide.
Applications
No need to be a great programmer to use Node-red, although his native language is javascript with a few tutorials will be very easy to make applications Arduino or ESP8266 or other platforms.
Currently installed Node red on Raspberry pi, excellent, although effected, since testing I decided to install it on Lubuntu (Linux) by hardware capacity.
Tutorial Install lubuntu


For testing I have previously installed a virtual machine with lubuntu, through the SSH client PuTTY equivalent to a command terminal.

Let's start with the nodejs and Node-red installation

Repository Update
sudo apt-get update

Install nodejs.
sudo apt-get install node.js -y
sudo apt-get install nodejs-legacy

Install git
sudo apt-get install git -y

Clone repository with source code on github Node-red
git clone https://github.com/node-red/node-red.git

Enter node red  folder
cd node-red

Install npm
sudo apt-get install npm -y

Install dependencies Node-red
npm install

Top folder
cd ..

Install grunt-cli globally
sudo npm install -g grunt-cli

Enter node red  folder
cd node-red

build and run Node-red application
grunt build 
 node red 


Ready to have fun .....

Video Complete

Install lubuntu (Ubuntu) from Scratch


I decided to create my desktop a virtual machine in VirtualBox with Lubuntu (Linux) combination LXDE and Ubuntu, the purpose of this virtual machine is testing the Platform IoT Node-Red Interconnect devices like Arduino and ESP8266 among others .
Official Pages lubuntu.net & lubuntu.me


VirtualBox is installed on Windows, download the latest version of lubuntu in this case lubuntu-14.04.5-desktop-i386.iso for later installation.
Architecture


Clarifying that current and commonly Node-Red is installed on the platform Raspberry pi, a very practical and excellent use for this great device, but I decided to virtualize Lubuntu Linux for practicality, lightness and stability of hardware, there are also other current platforms excellent virtualization as docker among others, I hope this tutorial is taken as an introduction to those who do not conecen linux and a reminder to those already familiar with this powerful operating system and .. have fun.


Complete video 


Advantages in this case
-Restoration fast image copies virtualbox in case of errors.
-Size Image virtualbox approx 4GB
-Hardware -stability

References

More Information

Youtube channel
PDAControl