Skip to navigation

Choose your mode

View as Markdown

Choose your mode

The Wash API runs in one mode at a time. That mode is set when the service starts.

ModeEnv valueController type
MCWW / CruzCONTROLLER_TYPE=mcwwModbus TCP controllers (C1+, C4+, C5+, C7+)
WashlinkCONTROLLER_TYPE=washlinkWashlink ECv5 (ECv5.0.17.6+)
Same URL, different behavior

/sendWash exists in both modes, but the rules are not identical.
If something “works on MCWW docs” and fails on Washlink (or the reverse), check the mode first.

Which one do I have?

Ask yourself:

  1. Did the site tell you it’s Cruz / MCWW hardware? → use mcww
  2. Did they say Washlink / EC? → use washlink
  3. Still unsure? Call Get Controller Version:
    • MCWW returns a series like C4 / C5000 / C7000 and a version number
    • Washlink returns controller_series: WASHLINK and version_number: null

Pick a tab and stick to it

What you need in .env

  • CONTROLLER_TYPE=mcww
  • CLIENT_IP= the PLC’s IP (not your laptop)
  • Optional wash map: exactly one of WASH_MAP or WASH_MAP_CONTROLLER_TO_POS (or leave both empty / {} for direct codes)

What you can call

Almost everything in the API Reference, including:

  • Vehicle status (/VehicleStart, /VehicleStatus, …)
  • Grand Entrance Arch lights
  • Stall on/off
  • Output sync / asset map

Wash number ranges

Confirm live ranges with Get Controller Version
(BaseWash_min/max, Upsell_min/max, Override_min/max).

Typical ballpark: BaseWash / Upsell 1–16; Override often 2–9 on C4 (series-dependent).

Don’t use these anymore

These old conveyor endpoints always fail on purpose (JSON 500 DEPRECATED):

  • POST /ConveyorOn
  • POST /ConveyorOff
  • POST /ConveyorAuto

Use Conveyor Request instead. On Washlink, stop with Pause Tunnel.


Next: Send your first wash.