> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/water-insight/sprinkler-control/effluent-dispersal/wvcs.md).

# Manage WVCs, channels and repeaters

Load the WVC list, check WVC status, fix radio channels, set up repeaters and update firmware.

INC communications to a WVC are generally carried out using point to point (local) radio communications, occasionally via a repeater. This page covers the WVC list, status, radio channels, repeaters and firmware.

{% hint style="info" %}
**Applies to:** the Effluent Dispersal Management System (EDMS). From the EDMS User Guide Rev 01 (31 July 2018).
{% endhint %}

## Load the WVC list and schedules

1. From the main menu tap **settings**, then tap **Devices**. Make sure the SD card (with configuration files) is inserted into the SD card slot then tap **IPC Files**. At least one file with the suffix ".ini" must be listed. If not then check the contents of your SD card on a PC. Using the up/down buttons select the configuration file then tap **load**. The number of units on your site should be displayed. If not, then check the configuration file to ensure there is one device for every post/sprinkler/WVC in use. The folder name which holds the configuration file on the card must be called `pods`.
2. From the main menu tap **settings**, then tap **Devices**. Scroll to select the set of schedules to be imported then tap **load**. The display will show the number of schedules loaded. Typically, there is one schedule per WVC device.

Schedule files are not mandatory. Under normal circumstances each device operates for the duration specified in the EDMS settings "On duration". This can be overridden by a schedule file for the device. The duration of operation for each WVC can be specified in the configuration file. Only one method should be employed. The configuration is stored in non-volatile memory in the INC so it does not have to be re-loaded when the INC power is cycled.

## WVC list entries

A typical entry in a WVC list file looks like (example values):

```
[pod1]
name=WVC01
serial=1001
address=00:00:00:00:00:01
schedule=1
channel=1
mode=local
group=1
via=00:00:00:00:00:02
duration=28
```

| Entry      | Meaning                                                                                                                                                                                                                                  |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name`     | WVC friendly name, listed in the WVC list in an INC, limited to 5 alphanumeric characters                                                                                                                                                |
| `serial`   | Unique manufacturing serial number for the WVC printed on a label inside the WVC and visible through the transparent device case                                                                                                         |
| `address`  | Radio MAC address in EUI-48 format, all configurations must include this value and a WVC name.                                                                                                                                           |
| `schedule` | Identity number of the schedule file in the schedules folder for the schedule associated with this WVC.                                                                                                                                  |
| `channel`  | Radio channel the WVC operates on. Generally, the same for each WVC on the farm. Assigned to the WVC by the manufacturer during production but can be reassigned if required.                                                            |
| `mode`     | Operating mode of the radio, only one mode supported: local – for short range direct line of site operation. Use the via command to communicate via a repeater                                                                           |
| `group`    | Specifies the logical group of WVC units to be controlled. Must be a number other than 0. If the device is designated as a repeater then the group number should be set to 0.                                                            |
| `via`      | Specifies the radio mac address of the repeater. If this field is present then all comms to the WVC will be via the repeater. Omit this field if the device does not use a repeater or set the address to all zeros (00:00:00:00:00:00). |
| `duration` | Optional - this entry can be used to specify the operating duration of the WVC. Alternatively, for backwards compatibility a schedule file can be used. Only one method should be employed.                                              |

Schedule files are based on the QTech Irrigation Management System IPC equivalent for backwards compatibility but only a few fields are interpreted by the EDMS application. In EDMS systems the `cycle_length`, `n_times`, `CRC`, `[time1]`, `day` and `start` parameters can be present but are ignored. In EDMS systems `n_times` should be set to 1.

## Check a WVC

From the Main Menu tap **settings** then **devices** then **IPC List** to display a list of all the WVCs in the INC memory. To access a specific WVC select it by using the Up and Down buttons and tap the **View** button. The **Comms** button opens an interface that can be used to manually trigger the INC to communicate with the selected WVC.

| Command            | What it does                                                                                                                                                                                                                                                                                      |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Status Request** | The INC will send a message to the selected WVC requesting its status information, and then wait for it to reply with a status response message. Tap status request then tap send.                                                                                                                |
| **Valve Control**  | The INC will send a message to the selected WVC, instructing it to open or close the solenoid valve connected to that WVC (which will turn the sprinkler on or off). Tap on or off and select the valve control checkbox before tapping send.                                                     |
| **Clear Stats**    | The WVC maintains statistics of the number of active operations it has performed to assist in calculating the distribution of effluent over a site. Issuing the clear stats command resets the individual WVC counter to zero. The statistics function is not supported in Firmware version 4.00. |
| **Change Channel** | This command is used to set the operating radio channel of the WVC to the one specified in the configuration file. The programming channel must first be set to the current WVC radio channel.                                                                                                    |

| Status      | Meaning                                                                                                                                                                                                                                                                                          |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Valve**   | Current sprinkler expected valve state (on or off). Use this to check if water is flowing to the sprinkler as expected                                                                                                                                                                           |
| **Voltage** | Current WVC battery voltage. If this drops below about 3.7 volts for extended periods then the battery capacity may be exhausted and the battery requires replacement.                                                                                                                           |
| **RSSI**    | Received signal strength of the radio communications at the WVC. As the number becomes a larger negative number then the signal strength is weakening. If the strength is consistently weak and the unit struggles to respond to status requests then consider using a repeater with the device. |
| **Version** | Indicates the current firmware version of the WVC.                                                                                                                                                                                                                                               |

This list can be filtered to show only a defined subset of the WVCs. Tap **Filter** in the IPC list to select criteria to display a subset of the full list. Select on or off under Valve to show the list of devices that match the filter criteria. Select ok or bad under Comms. Bad communications will list the devices that are currently in comms failure mode, meaning that the device failed to respond to the last radio message sent to it by the INC. Comms failure mode can be a temporary condition based on the weather and other interference.

## Find and fix a WVC's radio channel

WVC devices are programmed in the factory to operate on a specific radio channel configured for the site.

1. If a WVC will not respond to radio communications and there is a suspicion it is on the wrong radio channel, tap **Radio** from the settings menu and tap to select the **scan channels** checkbox.
2. Tap **back** then tap **devices** followed by **IPC list** to list the units on the site. Scroll to select the device that will not communicate then tap **view**. Tap **comms** to select a command to issue to the device then tap to select the **status request** checkbox. This will be used to contact the device. Tap **send** to issue the status request. Now the INC will try each channel (from 1 to 25) in the radio band to try to contact the WVC. If the WVC responds note the channel that it responded on.
3. From the radio settings menu deselect the **scan channels** checkbox. Enter the channel that the WVC is currently operating on into the **Prog. Channel**.
4. Tap **back** then tap **devices** followed by **IPC list** to list the units on the site. Scroll to select the device that will not communicate then tap **view**. Tap **comms** to select a command to issue to the device then tap to select the **change channel** checkbox. This will be used to programme the device. Tap **send** to issue the command. This command is used to set the operating radio channel of the WVC to the one specified in the configuration file.
5. Verify the channel by sending a status request to the WVC.

If attempts to obtain status request using scan channels or change the radio channel are unsuccessful it may be due to the following:

1. Line of site communications to the unit may be impaired, consider communicating to the WVC via a repeater.
2. The WVC may not be correctly programmed with the proper application. Consult QTech and update the firmware on the WVC with an EP3 device.
3. Consider the antenna placement of the INC to increase its height and improve line of site communications.
4. Ensure that the group number is correctly configured.

## Repeaters

A repeater is mounted within radio range of the INC and in a high position likely to maximise the probability of successful communications with WVCs in the block. Multiple repeaters are supported by the system but a WVC can only talk to one. Therefore, some optimisation of a site may be required to select the appropriate repeater for a given WVC.

* The WP2P "repeater" should be included in the IPC list just as the WVCs are but assigned to a different group (e.g. group zero).
* In order to use a repeater, the configuration entry in the configuration file for each WVC must be modified to specify the repeater name to be used when communicating to the WVC. `via` - If this line is included then the INC will use 2 hop comms via the device with this address.

```
[pod80]
name=RPTR
serial=1002
address=00:00:00:00:00:02
channel=3
group=0
```

## Firmware

* **INC:** The INC application firmware can be upgraded without needing any additional software or hardware devices. This is done by placing a firmware file (supplied by QTech) onto the SD Card and plugging it into the INC. The file must be named `INC-App.bin` and located in the `/firmware` folder. Once the card has been inserted navigate to the INC Settings screen and tap the **Version** button. Next tap the **Upgrade** button then **OK**. Reload the configuration and schedules after a firmware upgrade. See [Update the INC firmware](https://help.qtech.co.nz/water-insight/sprinkler-control/irrigation-network-controller/update-firmware.md).
* **WVC:** Firmware on the WVC cannot be upgraded using the INC. WVC firmware can be upgraded using the QTech EP3 handheld programmer. The process is the same as for upgrading IPC units for water irrigation systems and requires firmware to be supplied by QTech. See [IPC firmware versions and upgrades](https://help.qtech.co.nz/water-insight/sprinkler-control/irrigation-point-controller/firmware.md).
* **WVC-R repeater:** Firmware on the WVC-R (Repeater) cannot be upgraded by either the INC or an EP3. Should a WVC-R become faulty or require new firmware please contact QTech for support and instructions on how to return the unit to QTech for service.
