Single PIR Floodlight Solution

Last Updated on : 2024-10-23 08:07:23download

The floodlight solution is built on top of standard IP camera (IPC) functions, integrating a passive infrared (PIR) sensor and light linkage control. For example, the solution provides a single PIR switch and sensitivity settings, light control switches and timers, control for brightness, color, and lighting duration, night vision mode, sound and light alarms, and smart linkage for automatic lighting.

Solution introduction

Basic IPC functions

Audio and video

Users can watch real-time video with audio from the floodlight in the app.

Single PIR Floodlight Solution

Full screen

Single PIR Floodlight Solution

Watch real-time video in landscape mode.

Image capture

Single PIR Floodlight Solution

Tap the Camera icon during live preview to capture an image. The captured images can be viewed and shared in the album.

Talk

Single PIR Floodlight Solution

Tap the Microphone icon during live preview to start a talk.

Recording

Single PIR Floodlight Solution

Tap the Recording icon during live preview to start video recording. The recorded videos can be viewed and shared in the album.

Playback

Single PIR Floodlight Solution

Tap the Playback icon during live preview to view SD card-stored video records.

Gallery

Single PIR Floodlight Solution

View screenshots and records generated with the Camera and Record features.

Theme color

Single PIR Floodlight Solution

Switch between the color modes of the panel. Light Mode and Dark Mode are supported.

Night vision mode

Single PIR Floodlight Solution

Configure the white light for dual-light source products in night vision mode. Intelligent Mode, Infrared Mode, and Multicolor Light Mode are supported.

Device volume

Single PIR Floodlight Solution

Control the volume of the speaker.

Motion detection

Single PIR Floodlight Solution

Floodlight functions

PIR switch

Single PIR Floodlight Solution

Tap the PIR icon to enter the PIR setting page, and select On to enable PIR detection. When the smart camera detects human motion, it triggers an alarm to notify users. The sensitivity of PIR detection can be adjusted.

Single PIR Floodlight Solution

Siren

Single PIR Floodlight Solution

Tap the Siren icon to trigger the siren, which can scare away intruders or animals. This function is only available for devices that have the siren module.

Light control

Single PIR Floodlight Solution

Tap the Light icon to enter the light setting page. Users can manually turn on or off the lights and set a timer to manage them. In addition, users can adjust the brightness, color temperature, saturation, and color of the lights, and set the lighting duration after an alarm is triggered.

Single PIR Floodlight Solution

Audible and visible alarm

Single PIR Floodlight Solution

Tap the Audible alarm icon to enter the Audible alarm page. Users can set the light brightness and sound volume of the device for alarms.

Single PIR Floodlight Solution

Smart

Single PIR Floodlight Solution

Tap the Smart icon to enter the smart linkage setting page. Users can set conditions such as the device or time to trigger automatic actions, enabling smart scene linkage. In addition, users can name scenes and turn on or off notifications.

Single PIR Floodlight Solution

Solution configurations

Create a product

Log in to Tuya Developer Platform and click Create > IP Camera > Smart Camera > Custom Solution. Then, complete the required production information. The platform automatically generates a PID.

For more information about how to create a product, see Create Products.

Add functions

You can add standard IPC functions as needed. The icon of the added function will be displayed on the action page and device setting page in the app.

Single PIR Floodlight Solution

Device volume

The data point (DP) definitions are described in the following table.

DP name Identifier Data transmission type Data type Property Remarks
DP 160 Device volume control basic_device_volume Deliverable and reportable (read-write) Value
  • Value range: 1-100
  • Pitch: 1
  • Scale: 0
  • Unit: %
Controls the volume of the talk to be played on devices.

After you add standard DP 160, the control panel displays the Device Volume icon.

Single PIR Floodlight Solution

Tap the icon to adjust the device volume.

Single PIR Floodlight Solution

Night vision mode

The DP definitions are described in the following table.

DP name Identifier Data transmission type Data type Property Remarks
DP 124 Night vision mode nightvision_mode Deliverable and reportable (read-write) Enumeration Night vision mode
  • auto: smart mode
  • ir_mode:infrared mode
  • color_mode: multicolor light mode
Add this DP to PID to display it.

After you add standard DP 124, the control panel displays the Night Mode icon.

Single PIR Floodlight Solution

Different from IR night vision (DP 108), this DP allows you to configure the white light for dual-light source products.

Single PIR Floodlight Solution

PIR switch

The DP definitions are described in the following table.

DP name Identifier Data transmission type Data type Property Remarks
DP 152 PIR Switch and sensitivity pir_switch Deliverable and reportable (read-write) Enumeration Enables or disables the function and sets sensitivity.
  • 0: disables the function
  • 1: low sensitivity
  • 2: medium sensitivity
  • 3: high sensitivity
Add this DP to PID to display it.

After you add DP 152, the control panel displays the PIR switch.

Single PIR Floodlight Solution

Tap the PIR icon to enter the PIR setting page, on which users can disable PIR and set sensitivity.

Single PIR Floodlight Solution

Siren

The DP definitions are described in the following table.

DP name Identifier Data transmission type Data type Property Remarks
DP 159 Siren switch siren_switch Deliverable and reportable (read-write) Boolean - Add this DP to PID to display it.

After you add DP 159, the control panel displays the siren switch.

Single PIR Floodlight Solution

If you want to enable the device to support setting the volume and duration of the siren, add the following two DPs:

DP name Identifier Data transmission type Data type Property Remarks
DP 194 Buzzing duration ipc_siren_duration Deliverable and reportable (read-write) Value
  • Value range: 10-600
  • Pitch: 10
  • Scale: 0
  • Unit: s
Add this DP to PID to display it.
DP 195 Buzzing volume ipc_siren_volume Deliverable and reportable (read-write) Value
  • Value range: 0-100
  • Pitch: 1
  • Scale: 0
  • Unit: %
Add this DP to PID to display it.

After you add the two DPs, you can set the volume and duration of the siren on the setting page.

Light control

The DP definitions are described in the following table.

DP name Identifier Data transmission type Data type Property Remarks
DP 138 Light switch floodlight_switch Deliverable and reportable (read-write) Boolean - Add this DP to PID to display it.
DP 158 Light brightness floodlight_lightness Deliverable and reportable (read-write) Value
  • Value range: 1-100
  • Pitch: 1
  • Scale: 0
Add this DP to PID to display it.
DP 173 Lighting duration for alarming flight_warn_time Deliverable and reportable (read-write) Value
  • Value range: 1-3600
  • Pitch: 1
  • Scale: 0
Add this DP to PID to display it.
Custom DP 1 Light mode floodlight_mode Deliverable and reportable (read-write) Enumeration
  • 0: white light mode
  • 1: multicolor light mode
Add this DP to PID to display it.
Custom DP 2 Color temperature adjustment floodlight_temp Deliverable and reportable (read-write) Value
  • Value range: 0-1000
  • Pitch: 1
  • Scale: 0
  • Unit: %
Add this DP to PID to display it.
Custom DP 3 Colored light control light_color_control Deliverable and reportable (read-write) String Value: 000011112222.
  • 0000: chroma (H), 0-360, 0X0000-0X0168
  • 1111: Saturation (S), 0-1000, 0X0000-0X03E8
  • 2222: Value (V), 0-1000, 0X0000-0X03E8
    Example: {"24":" 007903e803e8"}
Add this DP to PID to display it.

After you add DP 138, the control panel displays the Light icon. Tap the Light icon to enter the setting page, on which users can turn on or off the lights and set timers.

Single PIR Floodlight Solution

After you add DP 158 and custom DP 2 (color temperature adjustment), the control panel displays the settings for light brightness and color temperature. After you add DP 173, the control panel displays the time-delay duration setting.

Single PIR Floodlight Solution

After you add custom DP 1 and DP 3, the Mode icon is displayed. Then, you can tap the Mode icon to switch light modes between white light (DP 158 and custom DP 2) and colored light (custom DP 3).

Single PIR Floodlight Solution

Audible and visible alarm

The DP definitions are described in the following table.

DP name Identifier Data transmission type Data type Property Remarks
DP 158 Light brightness floodlight_lightness Deliverable and reportable (read-write) Value
  • Value range: 1-100
  • Pitch: 1
  • Scale: 0
Add this DP to PID to display it.
DP 160 Device volume control basic_device_volume Deliverable and reportable (read-write) Value
  • Value range: 1-100
  • Pitch: 1
  • Scale: 0
  • Unit: %
Add this DP to PID to display it.
Custom DP 4 Visible and audible alarm ipc_audible_alarm Deliverable and reportable (read-write) Boolean
  • 0: disables the function
  • 1: enables the function
Add this DP to PID to display it.

After you add custom DP 4, the control panel displays the Audible alarm icon. Tap the Audible alarm icon to enter the setting page, on which users can turn on or off the visible and audible alarm and set the light brightness and device volume.

Single PIR Floodlight Solution

After you add DP 158 and DP 160, the control panel displays the settings for adjusting light brightness and device volume.

Single PIR Floodlight Solution

Other functions

To use other standard IPC functions, refer to IPC Basic Configurations.

Smart

Contact your Tuya project manager to display the function module.

After tapping Smart, users can set conditions such as the device or time to trigger automatic actions, enabling smart scene linkage. In addition, users can name scenes and turn on or off notifications.

Single PIR Floodlight Solution

You can select device status changes configured for smart scene linkage in Product Configuration > Scene Linkage.

Single PIR Floodlight Solution

After you select trigger conditions and actions on the Tuya Developer Platform, you can view them in the corresponding configurations of the app. To set motion detection alarm as a trigger condition, contact your Tuya project manager to configure it in the backend.

Panel setting

  1. Go to the Product Development page and click Develop in the Operation column of the target product.
  2. Click the Device Interaction panel.
  3. Go to Panel Control > All-in-One Panel and select IPC Common Panel (App 3.17.0 Required).

Single PIR Floodlight Solution

Hardware development

To implement a floodlight solution, you must integrate the IPC SDK. For more information, contact your Tuya project manager.

Device notification setting

You can configure the device notification function with customized trigger conditions to send alarms to users, allowing them to monitor the device status in real time. After this function is enabled, you can send messages to users when a function value exceeds the normal range or when you need to inform them of real-time updates.

You can configure and pair firmware as needed and enable InitiativeMessagePush to push alarm messages through DP 212.

Single PIR Floodlight Solution

Contact your Tuya project manager to enable notifications.