> 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/irrigation-point-controller/farm-id/upgrade-to-v5.md).

# Upgrade a site to Version 5 and Farm-ID

For installers. Upgrade a whole site of V3 IPCs to Version 5 firmware and set the Farm-ID, with an EP3 or IMS Connect.

This page takes a whole site from V3 to V5 firmware: apply for a Farm-ID, update the podlist, upgrade the EP3 and INC, upgrade each IPC, then set its channel, Farm-ID, time and schedule. It is technical in nature. Contact Water-Insight if you'd like help.

{% hint style="info" %}
**Applies to:** users and installers who are familiar with Water-Insight's IMS products and in particular have experience with using an IPC and EP3. This is best done when irrigation is not happening. For installers planning on operating mixed V3 and V5 sites there are some considerations to be made in terms of configuration of the site. Consult Water-Insight for more information.
{% endhint %}

### Before you start

* Read [Farm-ID and IPC firmware Version 5](https://help.qtech.co.nz/water-insight/sprinkler-control/irrigation-point-controller/farm-id.md).
* It is best to record which version (or versions, if you have added more IPCs over time) of firmware your site is running. This can quickly be obtained by checking the status of your IPCs, which always report the firmware version in the response.
* With the magnet method, allow about 2-3 minutes per unit to programme (roughly 25 units per hour). With the OTA method, allow about 1 minute per unit for programming time.
* Avoid programming a site with more than one EP3, they can interfere with one another.

### 1. Apply for a Farm-ID

Contact Water-Insight. See **How to get a Farm-ID** in [Farm-ID and IPC firmware Version 5](https://help.qtech.co.nz/water-insight/sprinkler-control/irrigation-point-controller/farm-id.md). The channel number is usually allocated by Water-Insight as is the FarmID identifier.

### 2. Update the podlist

Older configuration files do not have the last line (FarmID). The pod list can be edited with a text editor to add the last line (using the supplied FarmID number) to each IPC entry. Alternatively, if pod scheduling software is used for your farm (e.g. IPC Manager from QTech), then this software can be used to automatically regenerate the pod list with the FarmID included. Usually only the pod list needs to be regenerated but schedules files may also need to be regenerated if they currently do not include the `cycle_length` parameter. If in doubt check with Water-Insight or your scheduling software supplier.

It is best to have two podlists on hand: one with all the units but without the FarmID (old list) and one where all the units have the FarmID (new list).

### 3. Upgrade the EP3 and INC

| Device version     | What to do                                                                                                                                                                                            |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| EP3 V2.xx or V3.xx | Return Device to Water-Insight for upgrade before proceeding                                                                                                                                          |
| EP3 V4.xx          | Can be upgraded to version 5.00 using the SDcard based upgrade process. See [Upgrade the EP3 firmware](https://help.qtech.co.nz/water-insight/handheld-tools/ep3-programmer/upgrade-ep3-firmware.md). |
| INC V2.xx          | Return Device to Water-Insight for upgrade before proceeding                                                                                                                                          |
| INC V3.00          | Can be upgraded to version 5.00 using the SDcard based upgrade process. Load defaults during upgrade to reformat INC configuration memory                                                             |
| INC V3.01 or later | Can be upgraded to version 5.00 using the SDcard based upgrade process.                                                                                                                               |

If you use an EP4 SmartBridge and IMS Connect instead of an EP3, see **Upgrade legacy IPC firmware** in [Update firmware](https://help.qtech.co.nz/water-insight/handheld-tools/ims-connect/update-firmware.md).

### 4. Upgrade each IPC

Use this guide to determine the upgrade strategy:

| IPC firmware     | Upgrade                                                                                                                                                                    | Method                                                                                                                                                                       |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| V1.xx            | Consult QTech, these units will be near end of battery life.                                                                                                               | Apply magnet. Programme Metaloader. Programme Bootloader. Apply Magnet. Program Application. Configure with EP3.                                                             |
| V2.xx            | Upgrade bootloader to V1.09. Upgrade Application to V5.00. Re-programme radio channel if using any channel other than channel 3. Set Farm ID. Send timeset. Send schedule. | Apply magnet. Programme Metaloader. Programme Bootloader. Apply Magnet. Program Application. Configure with EP3.                                                             |
| V3.08 or earlier | Upgrade bootloader to V1.09. Upgrade Application to V5.00. Re-programme radio channel. Set Farm ID. Send timeset. Send schedule.                                           | Apply magnet. Programme Metaloader. Programme Bootloader. Apply Magnet. Program Application. Configure with EP3.                                                             |
| V3.09 to V3.12   | Upgrade bootloader to V1.09. Upgrade Application to V5.00. Set Farm ID. Send timeset. Send schedule.                                                                       | Apply magnet. Programme Metaloader. Programme Bootloader. Apply Magnet. Program Application. Configure with EP3.                                                             |
| V3.13 or later   | Upgrade Application to V5.00. Set Farm ID. Send timeset. Send schedule.                                                                                                    | Can be updated using the "Over the Air" (OTA) programming function on the EP3 which does not require visiting each IPC to put the device into bootloader mode with a magnet. |

You should update to at least the following firmware versions: Bootloader V1.09, Application V5.01 and use Metaloader V1.00. If later versions are available, please seek advice from Water-Insight (or techsupport) as to the best option for you.

The steps for each method are in [Upgrade IPC firmware](https://help.qtech.co.nz/water-insight/handheld-tools/ep3-programmer/upgrade-ipc-firmware.md).

### 5. Set the channel, Farm-ID, time and schedule

If you are upgrading the whole site use the new list. Select **use broadcast header** when using EP3 comms. Set the radio channel first (if it needs it), then farmid, then issue a timeset and the schedule. See [Set a new or replacement IPC to work](https://help.qtech.co.nz/water-insight/handheld-tools/ep3-programmer/new-ipc.md).

1. **Radio channel**. Do this first after upgrade, if the upgrade process requires it because no communications to the unit can be achieved until it has the radio channel assigned. Even if your normal radio channel is 3 the channel must be programmed.
2. **Farm-ID**.
3. **Time set**.
4. **Schedule**. Sending the schedule also elicits a status response from the IPC which can be used to verify that the unit is operating on the correct frequency, with correct firmware and the battery level is ok on the unit, so requesting the status of the unit is superfluous.

The INC can also be used to issue a timeset or schedule the time to be updated on a periodic basis. This is the preferred method for larger sites. For larger sites the schedule distribution can also be done using the INC which will automate the process of sending the schedules to all units.

### 6. Check the batteries

Take the time to check that the battery level on the IPC is ok. If the battery appears low (less than 40%) then check that the solar panel is clean and that there are no obvious signs of damage:

* Remove bird fouling and excessive dust with a damp cloth.
* Sometimes placing a dark cloth over the solar panel can cause the voltage to drop further (request the IPC status to get the voltage level), this is an indication of a possible solar panel fault if the voltage drop in 30s is dramatic.
* Occasionally batteries that are at the end of their useful life or are faulty will exhibit "bloating" where the casing on the battery swells. This can be difficult to spot because the battery normally fits into a narrow space.
* If in doubt, note the post position of the unit and the serial number of the IPC and the battery level (%) for a future maintenance round on the site. If the level does not recover of its own accord after a week, then it may require service attention. Contact your installer for advice.

Note that in winter months with low sunlight levels IPC battery levels can naturally fall but will recover in time. If it is a concern, try inhibiting the IPC so that it doesn't attempt to operate the sprinkler valve.

### Upgrade quick reference: old firmware, magnet method

For IPCs on IPC firmware V3.12 or older. With your EP3 loaded with a new podlist (containing FarmID) and schedules, and with a magnet on hand (and spare batteries) and a clipboard with the IPC list printed out (list of IPC names and serial numbers), follow these steps:

1. Tap **main** > **settings** > **comms**. Set the programming channel to 3, tick the box that says **use broadcast header**.
2. Tap **back** to get back to main menu.
3. Look at the IPC on the post and note the serial number.
4. Tap **upgrade**, scroll and select the "meta loader", tap **load**.
5. Apply magnet.
6. Tap **poll** > **flash** > **check** > **reset** (wait for each step to complete before tapping the next button in the sequence).
7. Tap **back**, scroll to select the "bootloader", tap **load**.
8. Tap **poll** > **flash** > **check** > **reset** (wait for each step to complete before tapping the next button in the sequence).
9. Apply magnet.
10. Tap **back**, scroll to select the "application" (V5), tap **load**.
11. Tap **poll** > **flash** > **check** > **reset** (wait for each step to complete before tapping the next button in the sequence).
12. Tap **back** to get back to the main menu.
13. Find the IPC in the IPC list **main** > **ipc list** > **jump** > (serial number).
14. Tap **view** > **comms**.
15. Select **channel** and tap **send**. This will set the radio channel correctly.
16. Select **FarmID** and tap **send**. This will set the FarmID.
17. Mark off the unit on your printout.
18. Move to the next unit and repeat from step 2.

Remember: take your time. Missing a step can mean a lengthy wait of a few minutes to get back to a point where you can start from the beginning.

| If this happens                                                            | Do this                                                                                                                                                                                                                                                           |
| -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| You forget to apply the magnet in step 9                                   | It will try to programme the application into the space reserved for the bootloader and will fail. The best thing is to wait until the IPC LED stops flashing after a minute or so and then apply the magnet to put it into bootloader and continue from step 10. |
| After step 8 instead of saying reset ok, you get the message "no response" | Just ignore it and go to step 9.                                                                                                                                                                                                                                  |
| At any stage you get the message no response when handshaking (poll)       | Turn the EP3 off then on again, wait 1-2 minutes for the LED to stop then start from step 1                                                                                                                                                                       |
| Setting the radio channel fails                                            | Check that step 1 has been done and try starting from step 9 (tap **upgrade** from the main menu first). If it still doesn't work then try another IPC. If that fails too, contact Water-Insight.                                                                 |

Don't leave units in the state with only the bootloader and metaloader programmed. This will run the batteries flat.
