How to add a Foscam IP Camera to the FIBARO System

04Oct

How to add a Foscam IP Camera to the FIBARO System

Nothing new, you’ll say, these steps are very well described in any FIBARO Home Center 2 manual. But what can we do if the IP Camera is a known model, Foscam in our example, and the plugin(s) published by the manufacturer do(es) not work?

Let’s see!

 

First, you need to follow the next steps:

 

In your IP Camera you have to add a new user (it is not mandatory, but it’s safer to have a separate user with limited rights, in order to avoid any intruder catch your user/password with admin rights, due to the http and not https protocol, used by Fibaro to communicate with the camera).

 

Follow the preparatory steps indicated in the HC2 manual.

 

Devices - Add or remove device - then click Add, to Add a Camera

 

Interfata HC2.jpg

 

After that, you can choose the name of the Camera, the Room name, and the Camera Model. You may try first to select Foscam, but we have serious doubts that you’ll find a Foscam camera that works with it. After a few minutes or even hours spent on that, you’ll come back in the same stage trying to make it work.

Our advice is to select Other camera model and fill in with the User and Password already added in your camera at the previous steps. 

Next, you need to select the Advanced Settings Tab and insert your IP address: Port (usually the Foscam default for http is 88).

 

Interfata FIBARO HC2 integrare Foscam.jpg

 

Then, you should insert manually the following CGI Foscam functions, each one in the corresponding fields:

 

Integrare camera IP Foscam sistem FIBARO.jpg 

 

JPG path: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=fibaro&pwd=fibaro123456

MJPG stream path: /cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=1&usr=fibaro&pwd=fibaro123456

 

We have tried the following as well and it worked (anyway the MJPG is not recommended if you have many cameras in your system due to the network loading).

/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=fibaro&pwd=fibaro123456

 

Turn left URL:   /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveLeft&usr=fibaro&pwd=fibaro123456

Turn right URL:  /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveRight&usr=fibaro&pwd=fibaro123456

Move up URL:    /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveUp&usr=fibaro&pwd=fibaro123456

Move down URL: /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveDown&usr=fibaro&pwd=fibaro123456

Stop camera movement URL: /cgi-bin/CGIProxy.fcgi?cmd=ptzStopRun&usr=fibaro&pwd=fibaro123456

 

Please replace fibaro (usr=fibaro) with your user, and fibaro123456 (pwd=fibaro123456) with your password.

 

Don’t forget do click Send STOP (if not, the camera will move continuously on a direction after a sent command) and of course, you should Save the configuration.

To finalize the process, go to the Homepage or the Devices Page and you’ll see the camera working. Then go in the FIBARO app and you’ll see in the Cameras menu everything working.

 

We checked some Foscam IP Cameras and the system probably works with the ones that have implemented the CGI functions described above. We checked FI9816P and FI9821EP, and you need to update the camera’s firmware first to be sure that all CGI functions implemented by Foscam in the last 2 years are working properly.

 

Below, there are some print screens from the FIBARO app for iPhone:

 

Aplicatie FIBARO camere web.jpg       Aplicatie FIBARO camere web iOS

  

 

  • footer_logo
  •   Terranova Logistic Park 12A Bucuresti-Targoviste Road, A Building, 3rd Floor Mogosoaia, Ilfov, 077135, Romania
  •   +4 0376 443 311
  •   +4 021 539 0049
  • office[@]gdctelecom.ro