#Setting up Tapo C200 camera

13 messages · Page 1 of 1 (latest)

shut yew
#

Based on the discussion here: https://discord.com/channels/758059413700345988/1036329187771957269/threads/1151732182562385930

I'm trying to setup my Tapo C200 camera with go2rtc.

The go2rtc config file is:

streams: camera1: tapo://[email protected] api: origin: *

go2rtc is istalled directly on the pi running klipper.

When I start it, I get:
./go2rtc_linux_arm64 18:20:17.035 INF go2rtc platform=linux/arm64 revision=fa580c5 version=1.9.9 18:20:17.036 INF config path=/home/ste/go2rtc/go2rtc.yaml 18:20:17.037 INF [api] listen addr=:1984 18:20:17.037 INF [rtsp] listen addr=:8554 18:20:17.039 INF [webrtc] listen addr=:8555

All camera sections in crowsnest are commented out.

When I try to setup the camera in the Mainsail GUI with:

Stream URL. http://192.168.3.169:8555/
Dienst: webRTC (go2rtc)

I get in the field where the camery image should be only "connecting" but no image.

barren barn
#

Linking your message and then deleting it, invadates the link....

#

Did you first try to look directly at the stream in your browser?

#

If it doesn't work directly, the stream in Mainsail won't work too ofc

split oreBOT
#

Ahoi @shut yew!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

shut yew
#

The question might be a little bit stupid, but this is all new for me.

If I enter in the address field
` http://192.168.3.169:8555/``

I should get the camera image?

Tested with Edge and Brave, and won't get any image, therefore my go2rtc setup is wrong......

barren barn
#

The link you sent is wrong

#

On the firt one, you would click on the stream in the Commands field. On the second you would click on the first link in the WebRTC section

shut yew
#

Yep, this helps a lot.

Now I can see clearly that there is something wrong with username/password I submit to the camera.

If I do camera1: tapo://[email protected]
I get mse:streams:401 Unathorized

If I do camera1: rtsp://user:[email protected]:554/stream2
I get mse: streams: wrong user/pass

Thank you for all your support.

barren barn
#

The second thing you sent would be wrong in two ways:

  1. It's a tapo cam, so you have to use tapo and not rtsp
  2. It's not the password, but the hash that you have to provide.
    Both things can be found here: https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-tapo
    The two commands at the bottom tell you how to get the hash of your password
shut yew
#

Finally I got it to work:-)
Many thanks to @barren barn for all his support!

Maybe the final wrap up description helps others with the same setup.

  1. With the Tapo App go into your camera setup, and create a camera user account.

  2. Download go2rtc

  3. Create a config file named go2rtc.yaml`` File content: streams:
    camera1: rtsp://camera-user:camera-pwd@ip-of-camera:554/stream2
    api:
    origin: "*"`
    Remark: go2rtc provides a specific tapo stream. But as of March 2025 this seams to be broken due to the latest firmware update of the Tapo cams. You can still try to get the tapo stream running, but the rtsp stream works also well.

  4. start go2rtc

  5. Open in your Browser the following link http://ip-of.computer-running-go2rtc:1984/

  6. In the column commands click on the stream link-> you shold see the stream of your camera, if not your configuration is wrong.
    In links you will find all the links to the camera streams.

  7. Disable crowsnest by commenting out the whole camera section

  8. In Mainsail configure a webcam with
    Stream URL: http://ip-of-computer-running-go2rtc:1984/stream.html?src=camera1&mode=webrtc
    Service: WebRTC (go2RTC)