Month: November 2015

Hosting an Industrial Device Online

IOT (INTERNET OF THINGS) AND INDUSTRIAL DEVICES

The Internet of Things (IoT, sometimes Internet of Everything) is the network of physical objects or “things” embedded with electronics, software, sensors, and connectivity to enable objects to exchange data with the manufacturer, operator and/or other connected devices based on the infrastructure of International Telecommunication Union’s Global Standards Initiative.
The Internet of Things allows objects to be sensed and controlled remotely across existing network infrastructure, creating opportunities for more direct integration between the physical world and computer-based systems, and resulting in improved efficiency, accuracy and economic benefit.(Wikipedia)

BENEFITS OF IOT (INTERNET OF THINGS)

• Access Dashboard information from anywhere about a device
• Enhanced customer service
• Increased revenue from services and/or products
• Improved use of assets in the field
• More information to feed big data/analytics efforts
• Identifying Areas of development
• Remote asset management and/or asset tracking
• Security (e.g., 4G cameras)
• Energy data management
• Condition-based monitoring
• Fleet management

HOW TO BRING ANY DEVICE IN IOT (INTERNET OF THINGS)

As shown in the diagram a device can be enabled by first adding a native webserver so relevant its data can be made available in a dashboard and is searchable. This step may require adding a hardware component or native component and then hosting on a local web server. This is possible on embedded Linux OS for all other types of device it needs to be seen how the webserver can be hosted.

Online Device Block Diagram

As shown in the diagram a GSM based mobile device can ensure the connectivity to the internet. The socket communication can be done with the online device server and device once the device is brought online. The online device app will host the web server that will send the request to the socket server.

To prepare the solution we need to have
1. Socket Client – on the device
2. Socket Server – on the web
3. Reverse HTTP Protocol Relay Server – on the web
4. Hosting of the HTTP Server on AWS cloud or any other cloud provider

SAMPLE CODE

Source code for above solution is freely available and can be downloaded from:
https://github.com/pmunmesh/onlinedevices

Advertisements