Prerequisites
Before You Begin
- A Hanwha Wisenet IP camera on your network (PoE or direct Ethernet connection recommended)
- Camera firmware updated to the latest version via the Wisenet web interface or Wisenet Device Manager
- Admin credentials for the camera (initial password is set during first-time setup)
- Camera IP address — use Wisenet Device Manager or SADP tool for discovery
- Network connectivity between AgenticEye server and the camera on ports 554 (RTSP), 80 (HTTP/ONVIF)
- AgenticEye platform account with an active subscription
Supported Models
Tested and verified with the following Wisenet series. Most Hanwha cameras running Wisenet firmware 2.x or later are compatible.
- QNO-8080R — 5MP bullet with IR, ideal for outdoor perimeter monitoring
- XNV-6080 — 2MP vandal-resistant dome for high-security installations
- XNF-8010R — 6MP fisheye for 360-degree coverage in open areas
- PNM-9320VQP — Multi-directional + PTZ for large commercial deployments
- QNE-8011R — Compact flat-eye for discreet indoor monitoring
Step-by-Step Setup
Hanwha Wisenet cameras provide a full-featured web interface for configuration.
- Open a browser and navigate to
http://[camera-ip] - Log in with admin credentials. If this is first access, you will be prompted to set a password that meets complexity requirements (minimum 8 characters, mixed case, numbers, special characters)
- Accept the HTTPS certificate warning if connecting over HTTPS (the camera uses a self-signed certificate by default)
- The dashboard displays a live preview and quick-access links to configuration sections
Note: Wisenet cameras require Internet Explorer with the ActiveX plugin for live view in the web UI. For configuration only, any modern browser works. AgenticEye does not require the web UI plugin — it connects directly via RTSP/ONVIF.
RTSP is enabled by default on most Wisenet cameras. Verify and configure the streaming profiles.
- Navigate to Setup → Network → RTSP
- Confirm RTSP is enabled and port is 554
- Under Authentication, set to Digest (recommended) or Basic
- Navigate to Setup → Video & Audio → Video Profile
- Configure profiles:
- Profile 1 (main stream): H.264, full resolution, 15-20 FPS, 4096-6144 Kbps CBR
- Profile 2 (sub stream): H.264, 1280x720, 10 FPS, 1024-2048 Kbps CBR
# Wisenet RTSP URL format — profile number maps to [N]:
rtsp://[username]:[password]@[ip]:554/profile1/media.smp # Main stream
rtsp://[username]:[password]@[ip]:554/profile2/media.smp # Sub stream
rtsp://[username]:[password]@[ip]:554/profile3/media.smp # Profile 3 (if configured)
ONVIF provides standardized camera discovery, PTZ control, and event subscription capabilities.
- Navigate to Setup → Network → ONVIF
- Set ONVIF to Enable
- The default ONVIF port on Wisenet cameras is 80 (shared with the web interface)
- Under ONVIF User, add a user or verify that your existing user is listed. Wisenet cameras maintain a separate ONVIF user list — camera users are not automatically available for ONVIF
- Set the ONVIF user privilege to Operator or Administrator
- Enable WS-Discovery if you want AgenticEye to auto-discover the camera on the network
# ONVIF device service URL:
http://[ip]:80/onvif/device_service
# Test ONVIF with python-onvif:
from onvif import ONVIFCamera
cam = ONVIFCamera('[ip]', 80, 'admin', 'YourPassword')
media = cam.create_media_service()
profiles = media.GetProfiles()
for p in profiles:
print(f"Profile: {p.Name}, Token: {p.token}")
Sunapi is Hanwha's proprietary HTTP-based CGI interface. It provides granular control over camera settings and can serve as an alternative or supplement to RTSP/ONVIF.
- Sunapi is available by default on all Wisenet cameras — no additional configuration is needed
- It uses the same HTTP port (80 or 443) and credentials as the web interface
- AgenticEye can use Sunapi for snapshot capture, stream retrieval, and advanced event configuration
# Sunapi — view live stream (MJPEG):
http://[ip]/stw-cgi/video.cgi?msubmenu=stream&action=view&Profile=1
# Sunapi — capture a JPEG snapshot:
http://[ip]/stw-cgi/image.cgi?msubmenu=snapshot&action=view&Profile=1
# Sunapi — get device information:
http://[ip]/stw-cgi/system.cgi?msubmenu=deviceinfo&action=view
# Sunapi — list video profiles:
http://[ip]/stw-cgi/video.cgi?msubmenu=profile&action=view
# Authentication: Sunapi uses HTTP Digest auth by default
# Test with curl:
curl --digest -u admin:YourPassword \
"http://192.168.1.100/stw-cgi/system.cgi?msubmenu=deviceinfo&action=view"
With your streams configured, connect the camera to AgenticEye.
- Log in to your AgenticEye dashboard at app.agenticeye.com
- Navigate to Cameras → Add Camera
- Select Hanwha / Wisenet from the manufacturer dropdown
- Choose your integration method:
- RTSP — direct stream URL (recommended for most setups)
- ONVIF — auto-discovery with PTZ and event support
- Sunapi — proprietary API for advanced integrations
- Enter the connection details and credentials
- Name the camera with a descriptive label
- Click Test Connection, then Save & Activate
RTSP URL Format
Hanwha Wisenet RTSP URL Structure
rtsp://[username]:[password]@[ip]:554/profile[N]/media.smp
Parameters:
[username]— Camera user account[password]— Account password (URL-encode special characters)[ip]— Camera IP address or hostname[N]— Profile number:1= main stream,2= sub stream,3= third profile- Port
554is default; can be changed in Network → RTSP settings
Alternate formats supported by some Wisenet models:
# Unicast (explicit):
rtsp://[username]:[password]@[ip]:554/profile[N]/media.smp?transportmode=unicast
# Multicast:
rtsp://[username]:[password]@[ip]:554/profile[N]/media.smp?transportmode=mcast
ONVIF Configuration
ONVIF Setup Details
Hanwha Wisenet cameras are ONVIF Profile S and Profile T compliant, providing standardized streaming and event handling.
- ONVIF Port: 80 (default, shared with web interface)
- Device Service URL:
http://[ip]:80/onvif/device_service - Important: ONVIF users are managed separately. Go to Setup → Network → ONVIF → ONVIF User to create or verify users
- For PTZ cameras, ONVIF provides continuous move, absolute/relative positioning, and preset recall
- Enable ONVIF Event to allow AgenticEye to subscribe to motion detection and tamper alerts natively
Sunapi Reference
Key Sunapi Endpoints
Sunapi provides REST-like HTTP endpoints for complete camera control. AgenticEye uses these for advanced features beyond what RTSP and ONVIF offer.
# Stream access:
http://[ip]/stw-cgi/video.cgi?msubmenu=stream&action=view&Profile=1
# Snapshot capture:
http://[ip]/stw-cgi/image.cgi?msubmenu=snapshot&action=view&Profile=1
# Video analytics events:
http://[ip]/stw-cgi/eventsources.cgi?msubmenu=analyticsconfig&action=view
# PTZ control (for PTZ models):
http://[ip]/stw-cgi/ptzcontrol.cgi?msubmenu=continuous&action=control&Channel=0&NormalizedSpeed=50,50
# System health / status:
http://[ip]/stw-cgi/system.cgi?msubmenu=health&action=view
# All Sunapi calls use HTTP Digest authentication
# Content-Type is typically text/xml or application/json depending on endpoint
Troubleshooting
Wrong profile selected — getting low-quality stream
Wisenet cameras can have up to 6 video profiles. If your stream looks low-resolution or blurry, you may be connected to the wrong profile.
- Check which profile you are connecting to in the RTSP URL:
profile1is typically the main high-resolution stream - View all profiles via Sunapi:
http://[ip]/stw-cgi/video.cgi?msubmenu=profile&action=view - Verify profile settings in Setup → Video & Audio → Video Profile
- Each profile can have different resolution, codec, and bitrate — ensure Profile 1 is set to your desired quality
Sunapi authentication returns 401
Sunapi uses HTTP Digest authentication. Common causes of 401 errors:
- Ensure you are using Digest auth, not Basic. Most HTTP clients default to Basic
- Verify the credentials work by logging into the web interface
- Check if the account has been locked due to too many failed attempts — view under Setup → System → User
- Some Wisenet firmware versions require Admin level access for certain Sunapi endpoints (not just Operator)
- If using HTTPS, ensure your client trusts the self-signed certificate or use the
-kflag with curl
# Test Sunapi with explicit digest auth:
curl -v --digest -u admin:YourPassword \
"http://192.168.1.100/stw-cgi/system.cgi?msubmenu=deviceinfo&action=view"
ONVIF user not found or cannot authenticate
Hanwha Wisenet manages ONVIF users separately from system users. This is a common source of confusion.
- Go to Setup → Network → ONVIF → ONVIF User
- Create a new ONVIF user or verify the existing one. The username/password may match your system user, but they are independent accounts
- Assign Administrator or Operator privilege to the ONVIF user
- After adding the user, restart the ONVIF service or reboot the camera for changes to take effect
RTSP stream connects but shows black frames
Black frames typically indicate a codec negotiation or privacy mask issue:
- Check if a Privacy Mask is covering the entire field of view — disable it under Setup → Video & Audio → Privacy Mask
- Ensure the profile codec is set to H.264 rather than H.265 / MJPEG for maximum compatibility
- Verify the camera lens is not covered or blocked (some models have a motorized lens cover)
- Try connecting with VLC using the same RTSP URL to isolate whether the issue is camera-side or AgenticEye-side
- Check the camera's day/night mode — if stuck in night mode with IR disabled, the image may appear black
Multicast stream not working
Multicast streams require specific network support:
- Ensure IGMP snooping is enabled on your network switches
- Verify the multicast address range is not blocked by firewall rules
- Switch to unicast for point-to-point connections — this is more reliable and recommended for AgenticEye integration
- In the RTSP URL, explicitly set
?transportmode=unicast
Need Help With Your Integration?
Our integration team has deep experience with Hanwha Wisenet cameras and can help optimize your setup for AI-powered monitoring.
Contact Our Integration Team