SONOFF camera RTSP setup and recording on your computer
SONOFF CAM-B1P, CAM-PT2, CAM-S2 (CAM Slim Gen2) and CAM-S3W cameras support ONVIF and RTSP. Turn it on in the eWeLink app, and the camera streams at rtsp://…/av_stream/ch0 for HD and ch1 for SD.
Turn on ONVIF/RTSP in eWeLink
- Update the camera firmware and the eWeLink app. SONOFF lists CAM-B1P 1.0.2, CAM-PT2 1.0.5 and CAM-S2 1.1.5 or later, with eWeLink 5.18.0 or later.
- Open the camera’s Device Settings, go to More Settings and open ONVIF/RTSP. On the CAM-S2 it is named RTSP.
- Enter your eWeLink password when asked, then turn on Enable ONVIF/RTSP.
- Note the username and password shown on that screen. You can change them. The password can only use letters and numbers.
From SONOFF’s official help center and blog, checked November 2026. You can also turn it on in the camera’s local web page under Device Settings > ONVIF/RTSP.
SONOFF RTSP URL
| Address | |
|---|---|
| HD | rtsp://CameraIP:554/av_stream/ch0 |
| SD | rtsp://CameraIP:554/av_stream/ch1 |
The eWeLink app shows only the HD address. For SD, change ch0 to ch1.
SONOFF RTSP not working?
- Keep the camera and the computer on the same network.
- To test the address, open it in VLC media player under Media > Open Network Stream. In VLC, put the account in the address: rtsp://username:password@CameraIP:554/av_stream/ch0
- If the video stutters, use the SD stream, lower the frame rate or bitrate, and avoid opening the HD stream in several places at once.
- SONOFF notes that compatibility issues may occur with some software and that features depend on the firmware version.
Record SONOFF cameras in Litmus NVR
- Download the installer for Windows, Mac or Linux from the download page and run it. Litmus starts when installation finishes.
- Open Litmus in a browser on any device on the same network and create a local account. No Litmus account is needed on your network.
- Go to Settings > Cameras and click Add camera. With ONVIF on, the camera may already be under Found cameras. Otherwise click Add manually and paste the full address that starts with rtsp:// into Camera address.
- Enter the username and password from the ONVIF/RTSP screen and click Check connection. A picture from the camera and its resolution appear. Name the camera, click Add camera, then Save.
- To watch from anywhere, connect your Litmus account and use the phone app or app.litmusnvr.com.
Questions
Does the SONOFF RTSP stream include motion events?
No. SONOFF says RTSP carries video only. Detection events come over ONVIF. Litmus NVR runs its own person and vehicle detection on the video.
Which SONOFF cameras support RTSP?
SONOFF lists the CAM-B1P, CAM-PT2, CAM-S2 (CAM Slim Gen2) and CAM-S3W, with up-to-date firmware.
Can I keep using eWeLink?
Usually yes. Litmus connects as one more viewer, as long as the camera accepts another connection.
Is Litmus NVR really free?
Yes. Every feature is free with no camera limit. Live View over a direct connection is unlimited on every plan. Paid plans only add relay server bandwidth for networks that block direct connections, and more cloud storage for alert photos.