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. Use the faker package to

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

1000 User records of ---> Firstname, Lastname, age, gender, username, address, email

now for each User records generate 1000 sensor records consisting of these values

1000 Sensor records per User record -> Date, Time, Outside Temperature, Outside Humidity, Room Temperature, 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 Generate IoT, 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

Submit the wxpython application and a README file describing how to run the application

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

Step: 3

blur-text-image

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

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago