How to Integrate Foscam Camera with Smartthings

This guide walks you through how to integrate Foscam camera with SmartThings using custom device handlers or third-party integrations. You’ll gain remote access, motion detection alerts, and seamless smart home control.

Key Takeaways

  • Use a custom device handler: Since Foscam isn’t natively supported by SmartThings, a custom device handler is required to enable communication between the camera and the hub.
  • Ensure network compatibility: Both your Foscam camera and SmartThings Hub must be on the same local network for successful integration.
  • Enable ONVIF or RTSP streaming: Some Foscam models support ONVIF or RTSP, which can be used for live video feeds in SmartThings.
  • Leverage IFTTT for automation: Combine IFTTT with SmartThings to trigger actions like sending notifications when motion is detected.
  • Secure your camera: Always change default login credentials and enable encryption to protect your privacy.
  • Test after setup: Verify live view, motion alerts, and automation rules work correctly before relying on the system.
  • Consider alternative apps: If integration proves difficult, use the Foscam app alongside SmartThings for full functionality.

Introduction: Why Integrate Foscam with SmartThings?

If you’re building a smart home, you know how powerful it is to have all your devices working together. Security cameras like Foscam offer great video quality and motion detection, but they don’t always play nicely with popular smart home platforms. That’s where SmartThings comes in — Samsung’s hub-based system that connects lights, locks, sensors, and more.

While Foscam cameras aren’t officially supported by SmartThings, you can still integrate Foscam camera with SmartThings using a few clever workarounds. This guide will show you exactly how to do it — step by step — so you can view live feeds, receive motion alerts, and even trigger automations based on camera activity.

By the end of this guide, you’ll have your Foscam camera fully synced with your SmartThings ecosystem. Whether you’re using a Foscam C1, R2, R4, or another model, these methods should work with most IP-based Foscam cameras. Let’s get started!

What You’ll Need Before Starting

Before diving into the setup, make sure you have the following:

How to Integrate Foscam Camera with Smartthings

Visual guide about How to Integrate Foscam Camera with Smartthings

Image source: foscam.com

  • A Foscam IP camera (Wi-Fi or wired) that’s already set up and working on your network.
  • A Samsung SmartThings Hub (v2 or v3) connected to your home network.
  • The SmartThings mobile app installed on your smartphone (iOS or Android).
  • Access to a computer or smartphone for configuring settings.
  • Your Foscam camera’s IP address, username, and password — you’ll need these for integration.
  • A stable Wi-Fi network with good signal strength where the camera is located.

It’s also helpful to have basic familiarity with your router settings and network configuration. Don’t worry — we’ll guide you through everything.

Step 1: Set Up Your Foscam Camera

If your Foscam camera isn’t already configured, start here. Even if it is, double-check these settings to ensure compatibility.

Connect the Camera to Your Network

Plug in your Foscam camera and connect it to your Wi-Fi network using the Foscam app (available on iOS and Android). Follow the in-app setup wizard to assign it to your network. Make sure it’s connected to the same network as your SmartThings Hub — this is crucial.

Find the Camera’s IP Address

Once connected, you’ll need the camera’s local IP address. Here’s how to find it:

  • Open the Foscam app and go to the camera settings.
  • Look for “Network” or “LAN Settings.”
  • Note down the IP address (e.g., 192.168.1.105).

Alternatively, log into your router’s admin page (usually by typing 192.168.1.1 in your browser) and look for connected devices. Find your Foscam camera in the list and copy its IP address.

Enable ONVIF or RTSP (If Supported)

Some Foscam models support ONVIF (Open Network Video Interface Forum) or RTSP (Real-Time Streaming Protocol), which allow third-party systems like SmartThings to access the video feed.

  • Log into your Foscam camera’s web interface by typing its IP address into a browser.
  • Go to Settings > Network > ONVIF and enable it.
  • Set a username and password for ONVIF access (different from your main login).
  • If RTSP is available, enable it under Settings > Network > RTSP.

Not all Foscam models support these features. Check your model’s manual or Foscam’s website to confirm.

Test the Camera Feed

Before integrating with SmartThings, verify that the camera works:

  • Open the Foscam app and confirm live video is streaming.
  • Try accessing the feed via a browser using: http://[camera-ip]/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=[username]&pwd=[password]

If you see video, you’re ready to move on.

Step 2: Prepare Your SmartThings Environment

Now let’s get SmartThings ready to accept your Foscam camera.

Update Your SmartThings App and Hub

Make sure your SmartThings app is updated to the latest version. Also, check that your hub is online and functioning:

  • Open the SmartThings app.
  • Tap the menu (☰) and go to Settings > Hub status.
  • Ensure the hub shows “Online” and has a strong connection.

If the hub is offline, restart it by unplugging it for 10 seconds and plugging it back in.

Enable Developer Mode (Optional but Recommended)

To install custom device handlers, you’ll need access to SmartThings’ developer tools. Here’s how:

  • Go to account.smartthings.com and log in.
  • Click on My SmartApps and then Settings.
  • Enable Developer Mode if it’s not already on.

This allows you to add custom code to your SmartThings account.

Step 3: Install a Custom Device Handler

Since Foscam isn’t officially supported, we’ll use a community-created device handler to bridge the gap. This is the most reliable method for integrating Foscam camera with SmartThings.

Find a Reliable Device Handler

Search for “Foscam SmartThings device handler” on GitHub or the SmartThings Community forums. One popular option is the “Foscam IP Camera” handler by Stephen McLaughlin, which supports motion detection and live streaming.

Always download from trusted sources. Avoid untested or outdated code.

Add the Device Handler to SmartThings

Follow these steps to install it:

  • Log into account.smartthings.com.
  • Go to My Device Handlers.
  • Click + Create New Device Handler.
  • Select From Code and paste the full device handler code.
  • Click Create.
  • Then click Publish > For Me to make it available in your account.

You should now see the handler listed under your device handlers.

Create a New Device in SmartThings

Now let’s add your Foscam camera as a device:

  • Open the SmartThings app.
  • Tap + Add device.
  • Tap Scan for nearby devices — it won’t find the camera, so tap Don’t see your device?.
  • Search for “Foscam” and select the custom handler you just installed.
  • Enter a name (e.g., “Living Room Camera”).
  • Tap Next.

You’ll be prompted to enter your camera’s details.

Enter Camera Credentials

Fill in the following information:

  • IP Address: The local IP of your Foscam camera.
  • Port: Usually 88 or 80 (check your camera settings).
  • Username: Your Foscam login username.
  • Password: Your Foscam login password.
  • Camera Model: Select your Foscam model if listed.

Tap Save or Done to complete the setup.

Step 4: Test the Integration

Now it’s time to see if everything works.

Check Live View

In the SmartThings app:

  • Go to Devices.
  • Find your Foscam camera.
  • Tap on it to open the control panel.
  • Look for a Live View or Stream button.

If configured correctly, you should see a live video feed. It may take a few seconds to load.

Test Motion Detection

Most Foscam cameras can send motion alerts. To enable this in SmartThings:

  • In the device settings, look for Motion Detection.
  • Enable it and set sensitivity if available.
  • Walk in front of the camera to trigger motion.

You should receive a notification in the SmartThings app saying “Motion detected.”

Verify Automation Triggers

Try creating a simple automation:

  • Go to Automations > + Create.
  • Choose Device trigger.
  • Select your Foscam camera and “Motion detected.”
  • Set an action, like turning on a light or sending a notification.
  • Test it by triggering motion.

If the light turns on or you get a notification, the integration is working!

Step 5: Enhance with IFTTT (Optional)

For even more automation, connect SmartThings to IFTTT (If This Then That).

Link SmartThings to IFTTT

Follow these steps:

  • Download the IFTTT app.
  • Create an account or log in.
  • Tap + Create.
  • Search for “SmartThings” and connect your account.
  • Authorize the connection.

Create an Applet

Example: Get a phone notification when motion is detected.

  • Choose If This → SmartThings → “Motion detected.”
  • Select your Foscam camera.
  • Choose Then That → Notifications → “Send a notification.”
  • Customize the message (e.g., “Motion detected in the living room!”).
  • Save the applet.

Now you’ll get instant alerts on your phone, even when the SmartThings app is closed.

Troubleshooting Common Issues

Even with careful setup, problems can happen. Here’s how to fix the most common ones.

No Live Video Feed

If you can’t see the camera stream:

  • Double-check the IP address and port.
  • Ensure the camera and hub are on the same network.
  • Verify ONVIF or RTSP is enabled on the camera.
  • Try accessing the stream directly in a browser to confirm it works.
  • Restart the camera and SmartThings hub.

Motion Alerts Not Working

If motion detection isn’t triggering:

  • Make sure motion detection is enabled in both the Foscam app and SmartThings.
  • Check the sensitivity settings — too low and it won’t detect movement.
  • Ensure the camera isn’t pointed at a window with changing light (can cause false triggers).
  • Test with deliberate movement close to the camera.

Device Handler Not Appearing

If you don’t see the custom device handler:

  • Confirm Developer Mode is enabled.
  • Check that you clicked Publish > For Me.
  • Refresh the SmartThings app or log out and back in.
  • Try reinstalling the handler from a trusted source.

Slow or Laggy Video

If the stream is choppy:

  • Reduce the video resolution in the Foscam settings.
  • Move the camera closer to your router or use a Wi-Fi extender.
  • Limit the number of devices using the network.
  • Use a wired Ethernet connection if possible.

Camera Goes Offline Frequently

If the camera disconnects often:

  • Assign a static IP to the camera in your router settings.
  • Check for firmware updates for your Foscam camera.
  • Ensure the camera isn’t overheating or losing power.

Security Tips for Your Foscam Camera

When connecting any camera to a smart home system, security is critical.

Change Default Credentials

Never use the default username and password (like “admin” and “123456”). Create a strong, unique password.

Enable HTTPS and Encryption

In your Foscam settings:

  • Enable HTTPS for secure web access.
  • Use WPA2 or WPA3 encryption on your Wi-Fi network.
  • Disable remote access if you don’t need it.

Update Firmware Regularly

Check Foscam’s website for firmware updates. These often fix bugs and security vulnerabilities.

Use a Guest Network

For extra safety, place your camera on a separate guest network. This limits access to your main devices if the camera is compromised.

Alternative: Use Foscam App Alongside SmartThings

If the integration feels too complex or unreliable, you don’t have to abandon SmartThings. Many users run the Foscam app for live viewing and motion alerts, while using SmartThings for other automations.

For example:

  • Use Foscam app for 24/7 monitoring and cloud recording.
  • Use SmartThings to control lights, locks, and sensors.
  • Use IFTTT to link motion alerts from Foscam to SmartThings actions.

This hybrid approach gives you the best of both worlds — full camera functionality and smart home integration.

Conclusion: Enjoy Your Integrated Smart Home

Integrating your Foscam camera with SmartThings might take a bit of effort, but the payoff is worth it. You now have a unified smart home system where your camera can trigger lights, send alerts, and work with other devices — all from one app.

Remember, the key steps are: setting up the camera properly, installing a custom device handler, entering the right credentials, and testing everything. If you run into issues, don’t panic — most problems have simple fixes.

With your Foscam and SmartThings working together, you’ve taken a big step toward a smarter, safer home. Whether you’re checking in while on vacation or automating your lights when motion is detected, this integration opens up new possibilities.

Now go enjoy your connected home — and rest easy knowing your Foscam camera is part of the smart ecosystem.