ipcamControl ONVIF Profile S/T IP cameras for PTZ, presets, discovery, and RTSP snapshot/recording with auto-discovery and multi-camera support.
Install via ClawdBot CLI:
clawdbot install ltpop/ipcamControl IP cameras via RTSP (snapshots, recording) and ONVIF (PTZ, presets, discovery).
Tested with TP-Link Tapo/Vigi. Works with Hikvision, Dahua, Reolink, Amcrest, Axis, and other ONVIF Profile S/T cameras.
bash skills/ipcam/install.sh
Then either discover cameras automatically or configure manually:
# Auto-discover and add
ptz.py discover --add
# Or edit config
nano ~/.config/ipcam/config.json
{
"default": "front-door",
"cameras": {
"front-door": {
"ip": "192.168.1.100",
"username": "admin",
"password": "secret",
"rtsp_port": 554,
"onvif_port": 2020,
"rtsp_main_path": "stream1",
"rtsp_sub_path": "stream2"
}
}
}
onvif_port: 2020 (TP-Link), 80 (Hikvision/Dahua), 8000, 8080rtsp_main_path / rtsp_sub_path: auto-detect with ptz.py stream-uri --saveCAM_IP, CAM_USER, CAM_PASS, CAM_RTSP_PORT, CAM_ONVIF_PORTcamera.sh)camera.sh snapshot # capture frame
camera.sh --cam cam2 snapshot /tmp/cam.jpg # specific camera
camera.sh record 15 # record 15s clip
camera.sh stream-url sub # print sub-stream URL
camera.sh info # test connectivity
camera.sh list-cameras # list configured cameras
ptz.py)ptz.py status # current position
ptz.py move left # pan left (speed 0.5, 0.5s)
ptz.py move zoomin 0.8 1.0 # zoom in, speed 0.8, 1s
ptz.py goto 0.5 -0.2 0.0 # absolute pan/tilt/zoom
ptz.py home # home position
ptz.py stop # stop movement
ptz.py preset list # list presets
ptz.py preset goto 1 # go to preset 1
ptz.py preset set 2 "Door" # save current pos as preset
ptz.py discover # scan network for ONVIF cameras
ptz.py discover --add # scan and add to config
ptz.py stream-uri # query RTSP paths from ONVIF
ptz.py stream-uri --save # save paths to config
Multi-camera: use --cam with any command.
left, right, up, down, zoomin, zoomout, upleft, upright, downleft, downright
ptz.py stream-uri to verify paths. Camera may limit concurrent RTSP connections (try closing other viewers).Generated Mar 1, 2026
Homeowners can use this skill to monitor their property by capturing snapshots or recording video clips from IP cameras. It supports PTZ control to adjust camera views and preset positions for quick access to key areas like doors or driveways. Integration with common brands like TP-Link and Reolink makes it easy to set up without specialized knowledge.
Retail managers can deploy this skill to monitor store aisles and entrances using ONVIF-compatible cameras. It enables PTZ movements to track suspicious activity and record incidents for evidence. The ability to discover and configure multiple cameras streamlines setup across large spaces.
Industrial operators can remotely inspect equipment and facilities by controlling PTZ cameras to zoom in on specific machinery or areas. The skill supports recording clips for maintenance logs and using presets to quickly view critical points like valves or control panels. It works with rugged cameras from brands like Axis and Dahua.
Municipalities or event organizers can use this skill to manage cameras in parks, streets, or venues for crowd monitoring and safety. PTZ controls allow panning across large areas, while RTSP capture helps document incidents. Auto-discovery simplifies adding new cameras during temporary setups.
Office administrators can integrate IP cameras with automation systems to monitor meeting rooms or entryways. The skill enables capturing snapshots for occupancy tracking and using PTZ to adjust views based on schedules. It supports common protocols for seamless integration with existing security infrastructure.
Offer a monthly subscription where users pay for cloud storage of recorded footage and AI-powered alerts from their IP cameras. The skill provides the core control and capture functionality, while the service adds value through analytics and remote access. Revenue comes from tiered plans based on camera count and storage limits.
Sell pre-configured camera kits that include compatible IP cameras and this skill pre-installed on a device like a Raspberry Pi. Provide installation services for setup and configuration, targeting small businesses or homeowners. Revenue is generated from hardware sales and one-time setup fees.
License the skill to security companies or integrators for embedding into larger surveillance systems. It can be customized for specific industries, with support and training offered as part of the package. Revenue streams include licensing fees and ongoing technical support contracts.
š¬ Integration Tip
Ensure ffmpeg and Python dependencies are installed via the provided script, and use auto-discovery to simplify camera setup in local networks.
Control Sonos speakers (discover/status/play/volume/group).
Control Philips Hue lights/scenes via the OpenHue CLI.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Control Home Assistant smart home devices, run automations, and receive webhook events. Use when controlling lights, switches, climate, scenes, scripts, or any HA entity. Supports bidirectional communication via REST API (outbound) and webhooks (inbound triggers from HA automations).
Use when integrating with Tesla's official Fleet API to read vehicle/energy device data or issue remote commands (e.g. start HVAC preconditioning, wake vehicle, charge controls). Covers onboarding (developer app registration, regions/base URLs), OAuth token flows (third-party + partner tokens, refresh rotation), required domain/public-key hosting, and using Tesla's official vehicle-command/tesla-http-proxy for signed vehicle commands.