Provide a screenshot from your slack channel

Assignment Help Computer Engineering
Reference no: EM132962323

Internet of Things

IoT Device

2.1 Description of supplied Node-RED flow

(a) The supplied Node-RED flow in Appendix A of the Technology Specification document contains a Node-RED function node with the code shown below. Please explain all aspects of the function code, from receiving a message until returning.

// Array of simulated temperatures
var temp1 = [15, 17, 18.5, 20, 21.5, 23, 24, 22.2, 19, 1];

// Array of simulated relative humidities
var humidity1 = [50, 55, 61, 68, 65, 60, 80, 70, 62, 53];

var counter1 = context.get('counter1') || 0;
counter1 = counter1 + 1;
if (counter1 > 9)
counter1 = 0;
context.set('counter1', counter1);

msg = {
payload:
{
d: {
"temperature": temp1[counter1],
"humidity": humidity1[counter1]
}
}
};
return msg;

(a) Provide a screenshot of the entire deployed IoT Device flow on PC (or Mac). This screenshot should show all elements of the flow and should also show that that the Watson IoT node and MQTT node are connected.

(b) Provide the complete exported flow code for the IoT Device.
2.2 Watson IoT Service.

(a) Describe the creation of the Watson IoT Service device entry, including the creation of the device-type.

(b) Show the credentials that are returned for the creation of device: ‘CW2Dev1'. Explain why (on first creating these) you should store these credentials securely. Please provide a text version of these credentials - not a screenshot.

(c) After sending several data entries to the Watson IoT Service, provide a screenshot of the CW2 Board, showing all three Cards.

2.3 Execution of the IoT Device Application

(a) Take a screenshot of the IoT Device Node-RED Debug panel output for the case where the temperature value is > 23 and the panel shows a copy of the object sent. Please expand the object on the panel so that all fields can be seen. The date-time of the Debug output should also be visible.

(b) Take a screenshot of the IoT Device Node-RED Debug panel for the data received by the MQTT input (from IBM Cloud) in response to this ‘high-temperature' situation in part (a) directly above. Please expand the object on the panel so that all fields can be seen. The date-time of the Debug output should also be visible.

IBM Cloud Node-RED Application

(a) Provide a screenshot of the Dashboard chart showing a history of at least 10 pairs of values for temperature and humidity.

(b) Provide a screenshot of a Debug output that shows a copy of the incoming message received from the IoT Device, that triggers your flow to send to your Slack channel. Please expand the object on the panel so that all fields can be seen. The date-time of the Debug output should also be visible.

(c) Provide a screenshot of a Debug output that shows a copy of a message sent to your Slack channel. Please expand the object on the panel so that all fields can be seen. The date-time of the Debug output should also be visible.

(d) Provide a screenshot from your Slack channel, showing the message received via the message sent in part (c) above.

(e) Provide a screenshot of a Debug output that shows a copy of the incoming message received from the IoT Device, that triggers your flow to write to the Cloudant database. Please expand the object on the panel so that all fields can be seen. The date-time of the Debug output should also be visible.

(f) Provide a screenshot (from the Cloudant database service) of the contents of the specific document inserted into the database in response to the example data in part (e) above.

(c) Provide a screenshot of the entire deployed Node-RED IBM Cloud flow. This screenshot should show all elements of the flow and should show that the IBM IoT node and MQTT node are connected.

(g) Provide the complete exported flow code for the IBM Cloud Node-RED application.

Attachment:- Internet of Things.rar

Reference no: EM132962323

Questions Cloud

Advantages and disadvantages of peer evaluations : If the instructor discarded the established evaluation methods in this class and used peer evaluations instead, would you get a higher or a lower grade? Why?
Appropriate strategy for conflict resolution : What is the most appropriate strategy for conflict resolution? Please justify your selection.
How to engage in cross-cultural negotiations : How to engage in cross-cultural negotiations? What problems did you encounter and what strategies did you find effective in these situations?
Major purposes of managing performance : Identify and briefly explain the four major purposes of managing performance.
Provide a screenshot from your slack channel : Provide a screenshot of the entire deployed Node-RED IBM Cloud flow. This screenshot should show all elements of the flow and should show that the IBM IoT node
Transition strategy for brad to take over sportco : John Hoskins was meeting with his son Brad this morning to begin planning a transition strategy for Brad to take over Sportco, the family's golf club manufactur
Examples on taking disciplinary action in the company : Explain 3 challenges and examples on taking disciplinary action in the company.
Evolutionary and revolutionary organizational change : -Difference between evolutionary and revolutionary organizational change. Then explain the role of change management in relation to evolutionary and revolutiona
Implications of the government basing policy : State and explain the 4 paradigms or resources availability and evaluate the implications of the government basing policy or strategy on one of them.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd