Foscam camera not working

Setting up a foscam camera doesn’t work you got this error

File “/usr/lib/python3.6/site-packages/homeassistant/components/camera/foscam.py”, line 39, in setup_platform
add_devices([FoscamCam(config)])
_ File “/usr/lib/python3.6/site-packages/homeassistant/components/camera/foscam.py”, line 56, in init_
_ from foscam import FoscamCamera_
_ File “/usr/lib/python3.6/site-packages/foscam/init.py”, line 1, in _
_ from foscam import FoscamCamera_

there is a workaround I’ve found in the hassbian forum but since in hass.io we can’t access the filesystem there is no way to use it.
Is there anyone who found a solution?

1 Like

I have the same problem because I’m using a Docker Image.
What i’ve done is use ffmpeg instead of Foscal platform until
it’s fixed, like below.

camera:

  • platform: ffmpeg
    input: -rtsp_transport tcp -i rtsp://Carport:[email protected]:88/videoMain
    name: Carport

I commented out the foscam for now:

########camera:
######## - platform: foscam
######## ip: 192.168.1.20
######## username: Carport
######## password: Password