To create a sensor data report and schedule it to be sent to a series of emails, you must first go to the "My Reports" section within the "Reports" menu as shown in the image below.
Once inside we must click on the "Create report" button.
This will open a window where we can give a name to the report, select the sensors from which we want data in the report, select a time range for the data to obtain, select when the report should be sent, add recipients, specify what information the report must have and the visibility permissions related to the report itself.
Note that the range of data from these sensors will be obtained with respect to the moment of execution specified in the scheduled shipment, that is, if the scheduled shipment is data from the last 7 days and starts on Monday at 00:00, data will be obtained from that initial moment until last Monday at 00:00.
To add sensors to the report, we choose the name of the sensor in the drop-down menu and click on the "Add sensor" button, located to its right, and we must do this for all the sensors we want in the report. This process is shown in the following image.
Then we must select when the report will be sent, if we choose "Send the report now", we must choose the time range of the data, the recipients, the information of the report and finally click on the "Send the report now" button:
Note that depending on the amount of data to be obtained, the report may take more or less time to generate and send. For large amounts of data, it can take up to 10 minutes.
If, on the other hand, we want to schedule a periodic data sending for the report, we must change the option of the drop-down menu from "Send the report now" to "Daily" or "Weekly".
We must also define the range of data, recipients, permissions of the report and the information to include in the report. Finally we must press the "Save report" button to save the report.
Once a report is created, it can be edited by the user who created it. To do this, we just have to click on the pencil to the right of the report in the table.
We can also send ourselves the report at any time by clicking on the blue paper airplane to the left of the pencil in the table.
