Gladys supports cameras which expose a RTSP or HTTP stream.
You'll first need to find in your user manual or on the camera's website the RTSP/HTTP URL of the stream.
Here is an example of a RTSP URL:
Here is an example of an HTTP URL:
If you don't find this information on your camera manual, you can use this website: https://www.ispyconnect.com/sources.aspx, a database of cameras with their connection informations.
There is a even a built-in URL generator.
For example, this is for a Xiaomi camera:
If you don't find anything on this website either, I suggest you to Google "your camera name + RTSP" to see if there is an open stream available.
Trying to display the stream in VLC
It's possible to try connecting to the stream thanks to the great VLC software.
Open VLC and click on "File" -> "Open a Network..."
Then, enter the URL of your RTSP or HTTP stream
Done! If the URL is correct, you should see your camera stream in VLC.
Connecting your RTSP camera to Gladys Assistant
As soon as your camera works in VLC, it should work in Gladys Assistant as well.
Go to the "Interations" tab in Gladys, then click on the "Camera" integration:
Click on "New"
Fill the form
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 your camera to Gladys Assistant dashboard
Visit Gladys dashboard and click on "Edit"
Click on "+", then choose the camera box
Select your camera, then click on "Save"
Voilà ! Your camera should be visible
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)
It should work in Telegram as well if you configured Telegram in Gladys.