I’m trying to fully control a Dahua camera via API, specifically to disable the white light when a person is detected at night, while still keeping IR working.
Current setup:
Is it correct to use “Customized Scene”, or does this interfere with API control of lighting behavior?
2) How to disable white light on human detection?
Goal:
Current setup:
- Web UI:
- Customized Scene is selected
- Day/Night profiles are configured
- API:
- Switching day/night profile works correctly
- Changing backlight mode (WDR/HLC/etc.) works
- Changing lighting mode (Smart / IR / etc.) works
Questions
1) Scene selectionIs it correct to use “Customized Scene”, or does this interfere with API control of lighting behavior?
2) How to disable white light on human detection?
Goal:
- At night → IR only
- Never trigger white light, even if AI detects a person
- Setting LightingScheme[0][0].LightingMode=InfraredMode
- Setting Lighting_V2[0][1][1].Mode=Off