So I go on the cheap with wifi cams and guess what happens

Yeah I know… I should have dropped the bucks for a real camera but I got my hands on a;

Szsinocam 720P Wireless WiFi IP Camera Outdoor Bullet CCTV Security Camera Waterproof 1.0 Megapixel IR Cut Night Version P2P APP Remote Access Support ONVIF /NVR

Using chrome I can access it just fine by pointing to the ip address and port I assigned:
192.168.1.202 port 13102
Using my firestick and TinyCam software I can access it just fine by configuring for ONVIF, same ip address, onvif port 8080 and protocol of Snapshot JPEG, rstp port left at default of 554.

I am pulling my hair out trying to get this puppy configured on HomeAssistant. I have tried generic onvif configuration of just

camera:
  - platform: onvif
    host: 192.168.1.202
    port: 13102 (also port 8080)
    username: xxxx
    password: xxxx
    name: xxxx

and mjpeg

camera:
  - platform: mjpeg
    mjpeg_url: http://192.168.1.202:13102/videostream.cgi?user=xxxx&pwd=xxxx
    username: xxxx
    password: xxxx
    authentication: basic
    name: xxxx

and no joy… any ideas?

Are you sure your mjpeg url is OK? Here I see completely different links and pretty much all of them with ffmpeg:

https://www.ispyconnect.com/man.aspx?n=szsinocam

Did you try platform: ffmpeg according to this plugin? https://www.home-assistant.io/components/camera.ffmpeg/

I think the ffmpeg camera + ffmpeg link for your camera should be fine…

You sent me in new directions I had not thought of… thank you very much. It’s great to have more than one set of eyes on an isssue.
So, Yes, I do have FFMPEG: in my configuration.yaml. I’m running HA 0.75.3 on has.io 1.9 all on a pi3b+
I tried the configuration script generated at ispyconnect.com with the following:

camera:

No joy yet.

Did you also try rtsp://admin:[email protected]/ucast/12 or rtsp://admin:[email protected]/11 ?

Maybe you should first try out various links in TinyCam first so that you can see which one gives you video in general, before adding the ffmpeg plugin configuration to the mix…

There’s also this ffmpeg troubleshooting area with various options: https://www.home-assistant.io/components/ffmpeg/#troubleshooting

We have joy.

  - platform: ffmpeg
    name: 406_driveway
    input: rtsp://admin:[email protected]/11

works. My sincere thanks for pointing me in this direction. I offer you an Internet beer on me.

3 Likes

Thanks dude, enjoy! Just happy to be able to give smthn back to a truly awesome community :slight_smile:

1 Like