Foscam IP Camera


The foscam platform allows you to watch the live stream of your Foscam IP camera in Home Assistant.

To enable your Foscam IP camera in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
camera:
  - platform: foscam
    ip: IP_ADDRESS
    username: USERNAME
    password: PASSWORD

Configuration variables:

  • ip (Required): The IP address your camera.
  • port (Optional): The port that the camera is running on. The default is 88.
  • username (Required): The username for accessing your camera.
  • password (Required): The password for accessing your camera.
  • name (Optional): This parameter allows you to override the name of your camera.

There seems to be some issues within Foscam with lengthy passwords and passwords containing certain symbols. Be sure to check your camera’s documentation.

Control Foscam PTZ (Pan/Tilt/Zoom) - Home/Away

Foscam Webcams which support CGI Commands can be controlled by Home Assistant (Source). For an example of how this can be done, see the Foscam IP Camera Pan, Tilt, Zoom Control Cookbook entry.