Creating Automated Event Rules for DWC-MT95WW28TW & DWC-INTCAM02 White Light Control
-----------------------------------
Affected Roles: Administrator, Power User
Related DW Application: DW Spectrum Professional
Last Edit: September 3, 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.
Note: 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).
Supported/Affected Devices:
- DWC-MT95WW28TW
- DWC-INTCAM02
Creating the Event Rule
Rule 1 - Motion Starts and Light Turns On
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.
| When | Motion on Camera. When event 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 255 between the two arrows >255< in the following code. This indicates the brightness of the white light with 255 being the highest.
- The LED setting ranges from 1 ~ 255.
- The value can be changed to lower the brightness setting.
- 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>
-
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.
Rule 2 - Motion Stops and Turns the Light Off
- Duplicate the first rule or create an identical rule as the one in the Rule 1 section above.
-
In the Action/Content section, set Do to “Do HTTP(S) Request”, then configure the URL, method, content, and authentication as shown in the example rules below.
Note that the only changes made to this rule is when the event stops, and the HTTP(S) Content.
| When | Motion on Camera. When event stops |
| 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) |
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 stops detecting motion, it signals DW Spectrum, which triggers Rule 2 and turns off the built-in white light.
______________________________________________________________________________
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.