Automatic Window Closing During Rain

I’d like to share a simple coding setup that lets you close the windows when it rains. I couldn’t find any proper instructions for this online.

09 Onboard Power Supply

Long Coding / G397_RLFS Subsystem

  • Byte 0
    • Bit 0 Highway Light Function active (Above 140 km/h)
    • Bit 1 Rain Light Function Active
    • Bit 3-4 00 – Light Activation Threshold Normal
    • Bit 6 Rain Sensor inactive
  • Byte 1 00
  • Byte 2
    • Bit 0-3 0C – Light Sensor: Audi A3 8V / Audi Q5 (8R)
    • Bit 4-7 60 – Rain Sensor: Audi A3 8V / Audi A6/A7 4G with tinted glass [PR: 4GQ] / Audi Q3 8U

Final coding

07 00 6C

Adaptations / 09 Onboard Power Supply

  • [LO]_Regenschliessen_ein_aus → Rain closing: on/off — active → The function is activated. The car will automatically close the windows when it rains. [VN]_active
  • [LO]_Regenschliessen_art → Rain closing type — permanent → Automatic closing works continuously (not temporarily or conditionally). [VO]_permanent
  • [LO]_Menuesteuerung Regenschliessen → MMI menu control — active → The user can control this function through the car's MMI menu. [VN]_active

On some cars, 06 works in the first byte; in mine, it is 07. I don’t know what determines this—most likely, the presence of a camera in the windshield.

Easy to test: just open the windows, turn off the engine, lock the car (arm the alarm), and hold your palm over the light/rain sensor on the windshield.

That’s all—a simple and useful coding setup.