> 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/status-light.md).

# Status light, modes and hibernation

What the IPC's status light means, its four operating modes, how hibernation works, and how battery charge changes what it does.

The IPC LED is used to indicate status information. This page lists the patterns, the operating modes, and how the battery charge changes the IPC's behaviour.

{% hint style="info" %}
**Applies to:** IPCs on firmware V3.03 or later. From the QIMS IPC and EP3 User Guide V4.1 and application notes AN53 (Rev 01) and AN18 (Rev 01). Older hardware units use a red LED which can be difficult to see in bright sunlight. You may need to shield the unit with your hand to see the indicator properly.
{% endhint %}

## Status light

| Light                          | Meaning                                                                                                                                                                                                                                                 |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Off                            | All Good - Application running                                                                                                                                                                                                                          |
| Brief blink                    | The IPC will briefly blink its LED when it transmits a message using its radio.                                                                                                                                                                         |
| On                             | No bootloader                                                                                                                                                                                                                                           |
| Fast flash                     | Bootloader Active. Bootloader Active indicator is a normal indication that says the IPC is ready to receive new firmware. The device will remain in bootloader mode for about 1 minute if there are no further communications from the EP3 forthcoming. |
| 1 flash every 5 seconds        | Reed switch closed. The reed switch closed indicator is a transient condition that can occur briefly when the magnet is applied to confirm that the magnet has been applied correctly. It does not indicate an error.                                   |
| 2 flashes every 5 seconds      | Firmware blank error                                                                                                                                                                                                                                    |
| 3 flashes every 5 seconds      | Firmware size wrong error                                                                                                                                                                                                                               |
| 4 flashes every 5 seconds      | Firmware CRC wrong error                                                                                                                                                                                                                                |
| 5 flashes every 5 seconds      | Radio fault                                                                                                                                                                                                                                             |
| 1 brief flash every 10 seconds | Device has a low battery and is in hibernation mode.                                                                                                                                                                                                    |

Note different error flashes can occur together e.g. Firmware blank followed by Radio Fault.

## What to do about an error code

* **Firmware errors:** firmware errors will require the device to be reprogrammed with valid firmware. See [IPC firmware versions and upgrades](https://help.qtech.co.nz/water-insight/sprinkler-control/irrigation-point-controller/firmware.md). If the problem persists, the unit should be returned for service.
* **Radio fault:** devices with radio faults will either not communicate at all or communicate with an EP3 only over very short distances. They should be returned for service after first contacting Water-Insight for advice.
* **No bootloader:** devices with the no bootloader error should have the battery disconnected (if a replaceable battery is in use) and be returned for service.

## Operating modes

| Mode                    | What it means                                                                                                                                                                                                                                                                              | Light                          |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
| Application active      | This is the normal operating mode of the IPC. When running in this mode the IPC will be able to communicate with other IPCs and the EP3 using mesh communications, and it can control its solenoid, etc. In this mode the IPC uses several strategies to minimise its battery power usage. | Brief blink when it transmits  |
| Application hibernating | The IPC is in battery power conservation mode. When an IPC is hibernating, it will turn off its radio to save power. It will continue to operate the solenoid according to its schedule.                                                                                                   | 1 brief flash every 10 seconds |
| Bootload active         | When running in this mode it will allow its application firmware to be reprogrammed via the radio. The IPC will enter this mode if a magnet is swiped past its reed switch. With the OTA method, the EP3 will send the IPC a message telling it to go into Bootload ACTIVE mode.           | Fast flash                     |
| Bootload idle           | An IPC will only run in this mode if it has no application loaded, or it has detected something wrong with the application firmware image.                                                                                                                                                 | An error code                  |

Devices are put into bootloader mode by applying a magnet to one end of the IPC (it has a label that says magnet on it). The device will remain in bootloader mode for about 1 minute if there are no further communications from the EP3 forthcoming, then it will revert to its normally operating programme.

## Battery charge and hibernation

This is based on hourly sampling of the battery.

* **Below 20%:** battery charge falls below 20% (IPC enters hibernation). Radio communication is halted to preserve battery for the primary function of solenoid/valve control.
* **Above 40%:** battery charge increases to over 40% (IPC exits hibernation). Radio communication is resumed.

Solenoid/valve control continues as per the IPC's schedule until the battery is completely flat, regardless of radio communication.

### Get a status from a hibernating IPC

1. Briefly place a magnet on the IPC magnet label. The LED will start flashing quickly (bootloader mode active).
2. Wait for the LED to stop flashing (approx. 60s).
3. Send a status request from the EP3. You will have approx. 30s, after the LED has stopped flashing, in which a status response can be retrieved.

This will confirm its battery level and why it won't communicate until battery level rises above 40%. See [The battery charge is low](https://help.qtech.co.nz/water-insight/sprinkler-control/irrigation-point-controller/troubleshooting/low-battery.md).

## Radio address, channel and Farm ID

* Each IPC is manufactured with a unique and permanent EUI-48 MAC address. This address is used to individually identify each IPC in the communications protocol. For an EP3 to identify individual IPCs it must have some way of knowing which MAC address relates to which IPC. This is achieved using information stored in the IPC List.
* Radio communications occurs on a fixed radio channel that must be programmed into each IPC using an EP3. The IPC is normally shipped with the required radio channel pre-programmed. See [Find or change the radio channel](https://help.qtech.co.nz/water-insight/sprinkler-control/irrigation-point-controller/radio-channel.md).
* In version 5.00 of the IMS system components, each IPC is also programmed with a FarmID which constrains radio communications not only to the radio channel but also to devices of the same FarmID. If an IPC (running version 5) status response returns the value of **none** in the value for the FarmID field then the value has not been programmed and normal communications is not facilitated. If the IPC returns the value of **01:01** this FarmID is reserved for temporary use in configuring systems and must be replaced by a valid FarmID.

## How the radio messages travel

| Method           | How it works                                                                                                                                                                                                                                                                                                              |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Local            | This uses reliable single-hop unicast communications. Each message sent must be acknowledged by the recipient. Make sure you are nearby the IPC.                                                                                                                                                                          |
| Mesh             | The EP3 firstly establishes a route to the given IPC, then once a route has been established the EP3 will send the actual message to the IPC using reliable multi-hop communications.                                                                                                                                     |
| Network flooding | IPCs rebroadcast the message to any “downstream” IPCs after a short delay. Over time, the message will propagate outwards, and all IPCs in the system should have received the message. This method is classed as non-reliable as there are no acknowledgements used. Used for site-wide timesets and valve-off commands. |
| Bootloader       | This is a simple protocol that is used when the EP3 reprograms the IPC application firmware. It is important that no other IPCs within radio range are also in Bootload ACTIVE mode at the same time, as collisions might occur.                                                                                          |
