Creating an Automated Event Rule for MT95WW28TW & INTCAM02 White Light Control
-----------------------------------
Affected Roles: Administrator, Power User
Related DW Application: DW Spectrum Professional
Last Edit: September 1, 2026
-----------------------------------
Automated LED Light
The DWC-MT95WW28TW turret camera and DWC-INTCAM02 feature built-in white light LEDs for scene illumination. When combined with an Event Rule trigger using DW Spectrum, the camera can be used to both detect motion and illuminate the area - a conventional way to deter trespassers when deployed.
This article will outline how to create an Event Rule in DW Spectrum to send an HTTP(S) request to the camera when motion is detected and trigger the built-in white light.
Supported/Affected Devices:
- DWC-MT95WW28TW
- DWC-INTCAM02
Creating the Event Rule
To create the Event Rule:
- In the DW Spectrum Client, open the Main Menu and select the Site Administration menu (CTRL+ALT+A).
- Open the Event Rules menu and click the +Add button to create a new rule.
-
In the Event section, configure the following:
- When: set to “Motion on Camera” so that the system will trigger the event when motion is detected.
- Starts/Stops: set to “Starts” so that the rule will trigger as soon as the event takes place.
- At: set to “DWC-MT95WW28TW” or "DWC-INTCAM02"; if the camera has been renamed, be sure to select it's renamed equivalent on your Server.
-
In the Action section, set Do to “Do HTTP(S) Request”, then configure the URL, method, content, and authentication as shown in the example rules below.
Two separate rules are needed. One that fires when motion starts (turns the light on) and one that fires when motion stops (turns light back off). The camera's own auto-off timer does not apply when the light is switched on in this way (see Field Reference below).
Rule 1 - Motion Starts and Light Turns On
| When / Starts | Motion on Camera / Starts |
| At | DWC-MT95WW28TW (or DWC-INTCAM02) |
| Do | Do HTTP(S) Request |
| URL | http://<camera_ip>/SetVfdConfig |
| Method | POST / No custom headers |
| Content Type | Auto |
| Authentication Type | Auto |
| Login / Password | Camera admin ID / password |
| Interval of Action | Off (Instant) — or set a minimum interval to limit re-triggering |
HTTP(S) Content:
Enter the HTTP command below to turn "On" the white light.
- Note the value of 100 between the two arrows >100< in the following code.
- The LED setting ranges from 1 ~ 255.
- Code example below.
<?xml version="1.0" encoding="UTF-8"?>
<config version="1.7" xmlns="http://www.ipc.com/ver10">
<vfd>
<Whitelight>
<WhitelightMode type="WhitelightMode" default="off">manual</WhitelightMode>
<WhitelightStrength type="uint32" min="1" max="255" default="128">255</WhitelightStrength>
</Whitelight>
</vfd>
</config>
Rule 2 - Motion Stops and Turns the Light Off
| When / Stops | Motion on Camera / Stops |
| Content | see below |
HTTP(S) Content:
<?xml version="1.0" encoding="UTF-8"?>
<config version="1.7" xmlns="http://www.ipc.com/ver10">
<vfd>
<Whitelight>
<WhitelightMode type="WhitelightMode" default="off">off</WhitelightMode>
</Whitelight>
</vfd>
</config>
-
Click the OK button to save the settings and apply the event rule to the system.
When the camera detects motion, , it signals DW Spectrum, which triggers Rule 1 and turns on the built-in white light; when motion stops, Rule 2 turns it back off.
______________________________________________________________________________
For More Information or Technical Support
DW Technical Support: https://www.digital-watchdog.com/contact-tech-support/
DW Sales: sales@digital-watchdog.com | www.digital-watchdog.com
Rev: 06/25 Copyright © DW. All rights reserved. Specifications and pricing subject to change without notice.