CameraPanel
Jump to navigation
Jump to search
A real-time view of a camera or grid of cameras. Unlike the camera object, camerapanel has two operating modes: live and playback. It includes a panel that allows access to various functions:
- motions' list: a list of all the motions
- live mode:
- play last motion
- PTZ functions: zoom (in, out), pan (up, right, down, left), enlarge, show all, stop
- cycle mode: cycles through all the cameras (or the cameras specified in the camera list parameter). Stops on a camera if there's a motion being recorded
- playback mode
- playback controls: play/pause, previous/next motion
- motion progress bar
- send screenshot to an email address: sends the current frame to the specified address
- download video: generates and download a video that includes all the frames from the currently shown one to the last one of the current motion
- exit playback mode
While in playback mode, hovering the mouse cursor on the lower part of the image (or touching and dragging if using a touch-enabled device) will show a preview of the corresponding frame. Clicking the upper part of the image will toggle back to live mode.
Parameters
- id: the object's ID, used by UISets
- address: the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini
- position: the object's position. Use the pixels or rows and columns coordinates format
- size: the camera image's width and height
- camera list: optional. If defined, it limits the cameras you can view from this
panel when cycling between cameras (clicking on the camera name, or the camera view), to those listed here
Syntax
(camerapanel[!<id>] <address>; <position>; <width>; <height>; <camera list>)
E.g.
(camerapanel!cam1 livingroom; x3y0; 520; 283)
UI Attributes
UI Object Attributes (Common) UI Object Attributes (Camera)
Camerapanel attributes
Name | Value | Description |
---|---|---|
panel | true | Default value. Shows a background panel |
false | Hides the background panel |