Skip to main content

Camera

Gladys supports cameras that expose a RTSP or HTTP stream.

You'll first need to find RTSP/HTTP URL of the stream.

note

You will find the URL in your device's user manual or on the manufacturer's website

Here is an example of a RTSP URL:

rtsp://username:[email protected]/live/ch00_0

Here is an example of an HTTP URL:

http://user:[email protected]/video?profile=0

If you can't find this information on your camera manual, try using this website: https://www.ispyconnect.com/sources.aspx (this is a database of cameras with their relevant connection information).

There is a even a built-in URL generator.

For example, this is for a Xiaomi camera:

RTSP camera URL generator iSpyConnect

If you don't find the iformation you are looking for on this website, I suggest you to Google "your camera name + RTSP". This should bring up search results that you can use to see if there is an open stream available.

Trying to display the stream in VLC

You can connect to your camera's stream with VLC.

Open VLC and click on "File" -> "Open a Network..."

VLC open a network stream

Then, enter the URL of your RTSP or HTTP stream

VLC open a network stream

Done!

If the URL is correct, you should see your camera stream in VLC.

VLC open a network stream

Connecting your RTSP camera to Gladys Assistant

If you have managed to see your camera stream in VLC, it should work in Gladys Assistant as well.

Go to the "Integrations" tab in Gladys, then click on the "Camera" integration:

Add a camera to Gladys Assistant

Click on "New"

Add a camera to Gladys Assistant

Fill the form

Add a camera to Gladys Assistant

You can then try the stream by clicking on "Test connection". If it doesn't work, are you sure that your Gladys hardware is on the same network as your camera? Are credentials correct?

Then, you can click on "Save".

Add a camera to Gladys Assistant

Add your camera to Gladys Assistant dashboard

Go to the Gladys dashboard and click on "Edit"

Add a camera to Gladys Assistant

Click on "+", then choose the camera box

Add a camera to Gladys Assistant

Select your camera, then click on "Save"

Add a camera to Gladys Assistant

Voilà ! Your camera should be visible.

Add a camera to Gladys Assistant

Send a message to Gladys Assistant to see a camera image

Go to the "Chat" tab, and ask Gladys "Show me the camera in the XXXX" (where XXXX is the room where the camera is)

And... magic!

Ask for a camera image in Gladys Assistant

It should work in Telegram as well, if you have configured Telegram in Gladys.