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).
Camera models use different HTTP URL and HTTP content, please follow the instructions below based on the camera you are working to setup.
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-INTCAM02 |
| Do | Do HTTP(S) Request |
| URL | http://<camera_ip>/SetVfdConfig |
| Method | POST / No custom headers |
| Content | See "HTTP(S) Content" below |
| 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 |
DWC-INTCAM02 HTTP(S) Content:
Enter the HTTP command in the Content section to turn on the white light.
<?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>- Note the value of 255 between the two arrows >255< in the HTTP(S) content. 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.
| When | Motion on Camera. When event starts |
|---|---|
| At | DWC-MT95WW28TW |
| Do | Do HTTP(S) Request |
| URL | http://<camera_ip>/SetImageConfig |
| Method | POST / No custom headers |
| Content | See "HTTP(S) Content" below |
| 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 |
DWC-MT95WW28TW HTTP(S) Content:
Enter the HTTP command in the Content section to turn on the white light.
<?xml version="1.0" encoding="utf-8"?>
<config>
<image>
<WhitelightMode>manual</WhitelightMode>
</image>
</config>- To change the light's brightness, go to the Camera's web page Setup > Camera Parameters
- Set White Light Mode to "Manual" which will uncover a "Brightness of White Light" setting and a slider
- The LED setting ranges from 1 ~ 100
- Once configured, change the White Light Mode setting back to "Off"
-
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-INTCAM02 |
| Do | Do HTTP(S) Request |
| URL | http://<camera_ip>/SetVfdConfig |
| Method | POST / No custom headers |
| Content | See "HTTP(S) Content" below |
| Content Type | Auto |
| Authentication Type | Auto |
| Login / Password | Camera admin ID / password |
| Interval of Action | Off (Instant) |
DWC-INTCAM02 HTTP(S) Content:
Enter the HTTP command in the Content section to turn off the white light.
<?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>| When | Motion on Camera. When event stops |
|---|---|
| At | DWC-MT95WW28TW |
| Do | Do HTTP(S) Request |
| URL | http://<camera_ip>/SetImageConfig |
| Method | POST / No custom headers |
| Content | See "HTTP(S) Content" below |
| Content Type | Auto |
| Authentication Type | Auto |
| Login / Password | Camera admin ID / password |
| Interval of Action | Off (Instant) |
DWC-MT95WW28TW HTTP(S) Content:
Enter the HTTP command in the Content section to turn off the white light.
<?xml version="1.0" encoding="utf-8"?>
<config>
<image>
<WhitelightMode>off</WhitelightMode>
</image>
</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.