Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started