Skip to content

Camera

Any camera that can hand over a JPEG, or an MP4 stream. This shows them in one live view, and Valet fetches the pictures so the browser never sees the address or password. MJPEG and RTSP streams aren’t supported.

config.yaml
integrations:
camera:
type: camera
title: Cameras
cameras:
- name: Driveway
url: http://10.0.0.20/snapshot.jpg
- name: Street
url: http://10.0.0.21/snapshot.jpg
- name: Back yard
url: http://10.0.0.22/snapshot.jpg
- name: Gate
url: http://10.0.0.23/snapshot.jpg
layout:
- title: Home
widgets:
- camera.cameras
OptionTypeDefaultWhat it does
titlestringCamerasThe card’s title.
hrefstringoptionalWhere the card links to, when that differs from url.
usernamestringoptionalThe account to sign in with.
passwordstringoptionalThat account’s password. Use ${VAR}.
insecurebooleanoptionalAccept a self-signed certificate for this service only.
refreshnumberoptionalseconds between pictures; 1 by default
cameraslist of objectrequiredThe cameras, in order.
cameras[].namestringrequiredThe name on its pill.
cameras[].urlURLrequireda snapshot: answers with a JPEG each time it’s asked
cameras[].videoURLoptionalor an MP4 stream to play instead

One widget. Its key is camera.cameras, using the instance name from your config.

camera.cameras · cameras card · refreshes every 5 minutes while the page is open.

Camera, Cameras, small size
Small
Camera, Cameras, wide size
Wide
Camera, Cameras, medium size
Medium
Camera, Cameras, tall size
Tall
Camera, Cameras, large size
Large
Camera, Cameras, in chat
In chat
Camera Cameras: One camera
One camera