Sunday, January 30, 2022

What is Internet of things or IoT simple explanation | From Dilsecodie

 



The future of the Internet of things(Open source technology) as its a leading technology around the world, It is also one of the trending advancements in artificial intelligence and machine learning that have made automation of IoT devices.


basically, we can say that AL and ML technology is combined with IoT devices.

For Future scope can say that IoT technologies can be used in healthcare, automotive, manufacturing

industries, Traffic systems and electric meter automation.


but remaining that the Internet of things is a technology, not a programming language.

infants if you have good basics on embedded systems or networks with programming 

then only you can easily understand IoT architecture.


IoT domain you also need experience with 

Python 

Microprocessors and controllers

OSI based model

Wireless communication network

All network protocol


IoT architecture need major understanding on 

The device-side 

The cloud internet side


Let's see Cloud Internet side programming with node modules 

Some important modules which provide by node package 

azure-arm-authorization  for accessing the azure PAS. 

azure-arm-network for managing virtual network also network interface.

azure-asm-compute for managed cloud service. 

azure-asm-network manage reserved IP.

azure-asm-trafficmanager for the network traffic manager


you are using

To enable cloud service at your end 

need to make file having some parameters

COOKIE_SECRET - cloud step key variable 

CLOUDINARY_URL  - variable for Cloudinary 


to manage these services need Simulate config options file to use these steps in

your custom application backend 

custom engine: handlerbars.create using for using predefine default templates.


For application controller you need at 

const Event_File = require('events');

var yourKeystone = require('keystone');

var valThresholdValue = yourKeystone.list(valThresholdvalue);

var oneSignal = require('onesignal') and pass key value to get direct signal from cloud


Node js npm provides a library of keystone js it provides components that help for fast

development and send data for your application.


 these modules also help in monitoring data system

like 

keystone.init({'auto update': true ,session : true,auth : true '}); - some default event 

to manage data asyn


lets see keystone get device data required to set device values in it .

keystone.set('nav', {

enquiry: 'enquiries',

    usersdata: 'users',

    clientsdata: 'clients',

    usercontrollers:'controllers',

    sensors:'sensors',

    clientUsers:'Clientusers',

    clientControllers:'ClientControllers',

    clientControllerSensors:'Clientcontrollersensors',

    sensorParameters:'Sensorparameters',

    sensorParameterGroups:'SensorParameterGroups',

sensorParameterValues:'Sensorparametervalues',

         SensorThreshold:'ParamThresholdValue',

refresh:'Refresh'

});


these variable values need to be set in a keystone which provides values in the application

keystone.start(); method to start keystone whole process.


To fetch data from all sensor when its start

var moment_timezone = require('moment-timezone');

var async = require('async');

async.forEach(subtype_arr.sensor, function (item, callback){

async.forEach(subtype_arr.sensor, function (item, callback){


if any error 

if (err) {

callback(err, 0, '');

} else {}

Iot packages


1 comment:

  1. Thank you for sharing this informative and valuable content here.
    Get the awesome coding snippets at
    source code
    Visit for more Education repositories

    ReplyDelete