Anyone get Foscam G2 camera working?

I have several foscam cameras and recently added model G2.

But the normal configuration isn’t working. Does anyone have this camera working and can share the config method?
I am using

  - platform: foscam
    name: garage cam
    ip: !secret foscam_g2_garage_ip
    port: !secret foscam_g2_garage_port
    username: !secret foscam_g2_garage_user
    password: !secret foscam_g2_garage_password

UPDATE: solved the issue. I noticed I had a 13 char password but other foscam cameras were all 12 char. So I changed to 12 chars and it now works. Strange…

Can you tell me how you find IP and port? TY

The port is configured on the camera the default would be 88.

For IP (and port actually) just use the camera search tool that foscam provides.
https://www.foscam.com/downloads/app_software.html

However the IP may change when your router restarts unless you reserve the IP on your router. How this is done depends on your router so google search for how to do this on your router. Search “{router name/model} Reserve IP”

example “eero reserve up”
https://www.google.com/search?q=eero%20reserve%20ip%20address

1 Like

Hi! I keep getting a Failed to Connect error when trying to add my G2 camera. I’ve got the IP address from the cam, I’ve set my username and password and I’ve set both my port and RTSP port to 88. Any idea what I might be doing wrong @smart or @gragal?