Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!