Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a wxPython application that will allow the user to select from a menu selection to generate artificial IoT data. Generate the following data. 1000

Develop a wxPython application that will allow the user to select from a menu selection to generate artificial IoT data. Generate the following data.

1000 User records of ---> Firstname, Lastname, age, gender, username, address, email now for each User records generate 1000 sensor recordsconsisting of these values

1000 Sensor records per User record -> Date, Time, Outside Temperature, Outside Humidity,Room Temperature This assignment requires the, Room Humidity

The Date and Time correspond starting Date is Jan 1, 2015 until now, Time is sampled every 6 hours.

The outside temperature is to range from 70 to 95 and the room temperature must be less then the outside temperature by a random number between 0-10 degrees.

The outside humidity is to range from 50 to 95 and the room humidity must be less then the outside humidity by a random number between 0-10 degrees.

Once the fake data is generated, provide the user the ability to save the file as a JSON or CSV file, request a file name from the user to save the file.

So, in the File menu you will have selections GenerateIoT, Save JSON, Save CSV

The other menu selection Statistics with have as entries descriptive, Plot A, Plot B and Plot C

Descriptive produces a dialog with the statistics on the IoT sensor data

Plot A shows a graph of the histogram of the of the outside temperature for the sampled times (every 6 hours)

Plot B show a line graph of the outside vs the room temperature

Plot C show a histogram of all of the room and outside temperature and humidity for the 1000 samples across all users

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

3. What does hyperbolic discounting lead consumers to prefer?

Answered: 1 week ago

Question

What do you mean by 'make or buy decision ' ?

Answered: 1 week ago