Tenvis TH661 IP Camera, Anybody got this working?

Hi, just trying to get my camera working. Have tried most settings I have seen in other threads but cant get a static or streamed image.

Anybody using a Tenvis TH661 camera?

Regards, Dave

I’m working on this now. Have you gotten further?

using a TH692 but installed on a BlueIris server, for me it’s more convenient to do video processing on another machine. then you just type the address of your ip video server, just search for the dedicated topic on this forum if you need more info.

Hi getting there

For video feed use the following

stream:
camera:
  - platform: generic
    still_image_url: http://192.168.X.XXX/cgi-bin/snapshot.cgi
    stream_source: rtsp://NAME:[email protected]:554/11
    username: NAME
    password: PASSWORD
    authentication: basic
    name: "Camera" 

change the X for your IP address

I now get a video stream, but I cant find the correct path for the still image, so I get an error in the log file

Let me know if that works for you.

Regards Dave

This worked for me. I was just getting stills prior. Thank you. Gonna play around with pan/tilt to see if I can get that working.

Please let me know how you get on, I cant get the still image to work.

I asked Tenvis “What is the correct url to view a still image”

There reply was “We do not provide this for customers” Not helpful

How did you get a still image to display?

Re Dave

I was using ffmpeg. I’m having the same problem now though. Will play around with it tomorrow.

Did you ever get the still picture working?

Sorry for late reply, but no, I contacted Tenvis and they said not.

Re Dave

Got it! Still image now works for me: see: /tmpfs/auto.jpg below

camera:
  - platform: generic
    still_image_url: http://userid:password@ip_address:XX/tmpfs/auto.jpg
    stream_source: rtsp://userid:password@ip_address:YY/11
    authentication: basic
    name: Basement Tenvis

XX= Web Port (default= 80)
YY= RTSP Port (default = 554)

Still image not working for me, so you are using :80/tmpfs/auto.jpg ?

Re Dave

@DaveTiff “sort of”, I changed the defaults. I am using 8092 for the http port.

TH661 HTTP&RTSP Setup

TH661 Code levels in next post (new users can only post one image at a time)

I found the “path” that worked for me here.

I “edited” the full URL string in my browser until I got it to work before committing it to my configuration.yaml file.

@DaveTiff

My TH661 code levels are:

TH661 Code Version

My TH661 software is totally different

Very interesting. That certainly explains why different folks are getting different results.

I picked potential “path” suspects from the list referenced above and was lucky enough to stumble upon one that worked for me.

These failed for me, one may work for you:

snapshot.cgi?
snapshot
snapshot.jpg
jpg/image.jpg?size=3

You can quickly test each variation in your browser. Good luck… (there may be others to try hidden in the “path” list.)

Hi everyone,

I stumbled upon this thread trying to get this over the top chinese camera and thanks to you I was able to find the rtsp url to get an stream. I noticed that in this thread there is no data regarding the PTZ movement so here goes my findings…

By logging into the '90s web console of the camera (I don’t know if these work with the cameras that have the nice looking firmware) and using the Inspect option from chrome, network tab:

Hi Res feed: rtsp://username:password@IP:554/11
Lo Res feed: rtsp://username:password@IP:554/12

Audio codec is aac just in case you need it
Down Command:

http://username:password@IP:80/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=down

Stop Command:

http://username:password@IP:80/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=stop

Up Command:

http://username:password@IP:80/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=up

Left Command:

http://username:password@IP:80/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=left

Right Command:

http://username:password@IP:80/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=right

Send To Home:

http://username:password@IP:80/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=home

Go to Preset 0 (change the last digit zero for the one you are looking for)

http://username:password@IP:80/web/cgi-bin/hi3510/param.cgi?cmd=preset&-act=goto&-number=0

Set Preset 1 (replace one at the end with the number you want to call later)

http://username:password@IP:80/web/cgi-bin/hi3510/param.cgi?cmd=preset&-act=set&-status=1&-number=1

Do a “vertical scan” (with this command the camera goes full up&down and end in the position it was before starting the sweep:

http://username:password@IP:80/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=vscan

Do a “horizontal scan” (with this command the camera goes full right&left and end in the position it was before starting the sweep:

http://username:password@IP:80/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=hscan

And thats pretty much it…I hope it helps.

Cheers.

This works using a LOCAL ip only, but how do you view the same live camera video stream from external IP?
For example I use mangocam to record live camera video stream, but it asks for the camera details and all the ones i tried dont work

Home Assistant accesses the camera locally.
Enable remote access to Home Assistant to access your camera externally.

I use DuckDNS + NGINX for remote access. Many use Nabu Casa.