Okay so i am developing an application which receives some real time sensor readings from a device and stores it in a table inside the database. According to the use case the device will remain active for at least 8 hours each day and after a specified interval (lets say 1 minute ) will transmit its sensor readings to the server which will then be saved inside the database table as previously stated. Now, one of the features that this application provides is that it allows you to briefly analyze the historical sensor data of a particular device in the system, which may span well over a year or two depending upon when the device was activated. For example if a device was activated on Aug 10, 2016, then it has been transmitting data since then by an interval of 1 minute for at least 8 hours each day to the current point in time.
How can i create such dummy data to simulate this scenario ? ( As i need it to test the feature that i am working on ).
I have tried using the DateTime methods of the Faker library but none of them seem to fit my needs.
Any help would be appreciated. Thanx
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2pDa5G7
via IFTTT
Aucun commentaire:
Enregistrer un commentaire