# Apply a daily accumulation template

> For the complete documentation index, see [llms.txt](https://docs.oriondata.io/llms.txt)

Apply an existing accumulation-and-reset template and configure its sensor and reset window.

This is commonly used for measurements such as daily rainfall or flow totals. Before following the steps below, you must have already created the accumulation and reset calibration template in Orion Data. If you have not done this yet, refer to the related article on Saving a calibration as a template in Orion Data.

## Before you begin

Confirm that the following are in place before proceeding:

- The target device is accessible in Orion Data.
- The soft sensor you intend to use as the input for the accumulation has been configured on the device.
- The calibration template containing the **Accumulation** and **Reset** groups has been created and saved.

## Applying the template to a device

### Step 1: Open the device calibrations

1. Navigate to the target device in Orion Data.
2. Open the **Calibrations** tab for that device.

![Device Calibration tab with no calibration groups yet, next to a chart of pre-calibrated and calibrated values](https://docs.oriondata.io/images/portal/calibrations/examples/building-a-daily-accumulation-total-with-periodic-reset/device-calibration-tab-no-calibration-groups-yet-next-chart-pre-calibrated.png)

### Step 2: Create from template

1. Click **Create From Template**.
2. In the drop-down, search for and select the accumulation and reset template you created.

![Create From Template dropdown open on a soft sensor, with the 9am Rainfall Test template highlighted](https://docs.oriondata.io/images/portal/calibrations/examples/building-a-daily-accumulation-total-with-periodic-reset/create-from-template-dropdown-open-soft-sensor-9am-rainfall-test-template.png)

### Step 3: Configure the Accumulation group

Once the template loads, you will see two configuration groups. The first is labelled **Accumulation** (Group 1) and displays **NEEDS CONFIGURATION** in the status indicator.

1. Click **Configure** on the **Accumulation** group.
2. In the configuration pop-up, use the drop-down to select the soft sensor that will be used as the input for the accumulation calculation.
3. Click **Apply**.

![Template Setup Wizard Accumulation step with the soft sensor dropdown open and highlighted](https://docs.oriondata.io/images/portal/calibrations/examples/building-a-daily-accumulation-total-with-periodic-reset/template-setup-wizard-accumulation-step-soft-sensor-dropdown-open.png)

After clicking **Apply**, you will be returned to the template view. The **Accumulation** group status indicator will turn green, confirming the configuration is complete.

![Template Setup with the Accumulation group configured and the Reset group still needing configuration](https://docs.oriondata.io/images/portal/calibrations/examples/building-a-daily-accumulation-total-with-periodic-reset/template-setup-accumulation-group-configured-reset-group-still-needing.png)

### Step 4: Configure the Reset group

The second group is labelled **Reset** (Group 2) and displays **NEEDS CONFIGURATION**.

1. Click **Configure** on the **Reset** group.
2. Enter the start time and end time for the reset window in the fields provided.
3. Click **Next**.
4. On the following screen, no additional fields require input. Click **Apply**.

![Template Setup Wizard Reset step 1 of 2 with the time condition between 09 am and 09 am](https://docs.oriondata.io/images/portal/calibrations/examples/building-a-daily-accumulation-total-with-periodic-reset/template-setup-wizard-reset-step-1-2-time-condition-between-09-10-am-09-20-am.png)

![Template Setup Wizard Reset step 2 of 2: add 0 to Rainfall](https://docs.oriondata.io/images/portal/calibrations/examples/building-a-daily-accumulation-total-with-periodic-reset/template-setup-wizard-reset-step-2-2-add-0-rainfall.png)

After clicking **Apply**, the **Reset** group status indicator will turn green.

### Step 5: Apply the template

With both groups configured and showing green status indicators, click **Apply Template**.

![Template Setup with both groups configured and the Apply Template button highlighted](https://docs.oriondata.io/images/portal/calibrations/examples/building-a-daily-accumulation-total-with-periodic-reset/template-setup-both-groups-configured-apply-template-button.png)

Orion Data will process the template and return you to the device calibrations screen. The new accumulation calibration will appear in the list with **Edit** and **Delete** options available.

![Calibration Step Groups showing the new Accumulation and Reset groups, with their edit and delete buttons highlighted](https://docs.oriondata.io/images/portal/calibrations/examples/building-a-daily-accumulation-total-with-periodic-reset/calibration-step-groups-new-accumulation-reset-groups-their-edit-delete-buttons.png)

## Summary

This article walked through the process of applying a daily accumulation and periodic reset calibration template to a device in Orion Data. You configured the **Accumulation** group by selecting the target soft sensor, and the **Reset** group by defining the daily reset time window. Once both groups were configured, the template was applied to the device.

## Next Steps

- Verify the calibration is producing expected accumulation values by reviewing the sensor data in the **Data Editor**.
- Set up an alarm on the accumulation sensor if you need to be notified when a daily threshold is reached.
- Review the calibration template if adjustments to the reset window or input sensor are required.

## Related articles

- [Creating a calibration template in Orion Data](https://docs.oriondata.io/portal/calibrations/saving-a-calibration-as-a-template/)
- Understanding calibration groups and actions
- Setting up sensor alarms in Orion Data
- Using the Data Editor to verify sensor readings
