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

  Build a logistic regression classifier

CAP5610 Machine Learning Assignment, University of Central Florida, USA. Build a logistic regression classifier and apply it to sentiment classification

  Task 1you are required in your new role as an enterprise

task 1you are required in your new role as an enterprise architect ea to do a swot analysis of a current ict servicein

  How input from an html5 form is retrieved in a php program

Describe how input from an HTML5 form is retrieved in a PHP program.

  Display the seating chart of a theater

Write a program that can be used by a small theater to sell tickets for performances.Display the seating chart of a theater.

  Describe a work breakdown structure

Summarize project requirements and other assumptions (i.e., budget, human resources, workload, environmental dependencies, etc.). Define a work breakdown structure and describe the methodology behind constructing one.

  Classify each team member into one of the four matrix areas

You have been recently promoted to lead a new division of Company XYZ. This company is known for its team-oriented atmosphere, and your boss has raved about.

  Display the sum and average of the numbers

Write a Java program that inserts 25 random integers ranging from 0 to 100 into an ArrayList in ascending order.

  What would be the approximate effect on average count

If you modified binary search so that it divided the list not essentially. What would be the approximate effect on its average count of comparisons?

  Critically discuss the expectation of internet customers

Analysis and use of an integrated information system capable of supporting operations at different levels within different functional areas and plan an e-commerce implementation for an e-commerce business

  Asks the user to input a non-negative integer value in base

Asks the user to input a non-negative integer value in base 10. Asks the user to input a base to which the base 10 value should be converted.

  What do you mean by pseudocode and case subroutine call

What do you mean by pseudocode and case Subroutine call

  About the encryption and decryption

Encryption and decryption Fill in the missing code in the main function of the provided skeleton code

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