> 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/ims-and-gateways/ims/troubleshooting/valve-wrong.md).

# The valve doesn't match the schedule

A sprinkler is on when it should be off, or off when it should be on. Check what the IPC reports first, then the wiring and the solenoid.

Query the IPC for its Status.

{% hint style="info" %}
**Applies to:** IPCs on firmware V5 with latching solenoids, checked from IMS, IMS Connect or an EP3.
{% endhint %}

## How the IPC switches a valve

An IPC controls a valve by passing current through the solenoid in one direction to turn the valve ON and in the opposite direction to turn the valve OFF, so the correct connection of the solenoid wires to the IPC is critical. When an IPC's internal clock matches its scheduled on/off time (or if a manual on/off command is issued) it will send a pulse to the solenoid in the appropriate direction for an open/close operation. There is no feedback of whether the solenoid plunger has moved or any indication the valve has actually operated as intended.

At midnight (IPC time) all schedules are recalculated and solenoids are attempted to be switched to match intended scheduling. After a timeset (e.g. global timeset to site) IPCs recalculate their schedule and solenoids are attempted to be switched to match intended scheduling (v5 firmware and above only).

## The IPC reports OFF, but the valve is on

If the valve state reports as OFF (but valve is still ON) then the IPC has tried to turn the valve off.

1. At the time of the off signal (pulse), for some reason the solenoid could not move the solenoid plunger.
2. Solenoid is wired incorrectly. Do the solenoid check below.
3. Some other physical reason for valve not turning off.

## The IPC reports ON, but the valve should be off

If the valve state reports as ON, but is scheduled to be OFF, the IPC has not tried to turn the valve off. This could be because:

1. **The IPC's time is wrong.** The IPC internal time is not as expected (confirmed in the status reply), so has not reached the scheduled off time. A timeset can be manually triggered by selecting the **Fix it** option from the sprinkler card.
2. **The IPC's schedule is wrong.** IPC schedule is not as expected – reports as wrong in the status reply. This is fixed by sending a schedule from IMS.
3. **A manual ON command has been issued.** The manual command should be used to switch the valve to the correct state.

## Check the solenoid wiring

1. De-Power the IPC. SN prior to 56040: install the power ON/OFF magnet in the shipping position (i.e. not the end marked with the label "magnet"; this end is for putting the unit into a special programming mode). SN from 56040 (Rev E): place a magnet on the IPC magnet label for 2s, remove the magnet while watching the IPC status LED. 4 short flashes indicates IPC has turned OFF.
2. Connect the IPC to the solenoid in use.
3. Apply water at operating pressure to the solenoid valve.
4. Turn the IPC on. SN prior to 56040: remove the ON/OFF magnet from the IPC. SN from 56040 (Rev E): place a magnet on the IPC magnet label for 2s, remove the magnet while watching the IPC status LED. 3 long flashes to indicate IPC has turned ON.
5. The IPC will power up, then after 10 seconds the IPC will turn the solenoid valve OFF.
6. If the solenoid turns ON then the solenoid connecting wires to the IPC need to be reversed.

## Still not working?

Perform manual **ON** and **OFF** commands and confirm sprinkler starts/stops (if water available) or solenoid clicks (no water available). Contact Water-Insight or your irrigation installer.
