Categorie archief: Fibaro Blog @en

This page contains our own experiences with the Fibaro Home Center 2 system.

Managing my camera’s with Fibaro HC2

My camera’s are all Foscam like camera’s and work well with the Foscam driver. These camera’s (and also many other camera’s) conform to the following standaard: IPCAM CGI SDK V1.7.

All camera’s are equiped with an alarm function which is capable of sending pictures in case of an (motion-based) event. This only works when the camera is in armed mode. In unarmed mode, the camera may not sent anything.

For my own convienience I would like to let Fibaro handle the arm and disarm modes of the camera’s. I already configured my camera’s with Fibaro HC2. See also Adding Foscam like camera’s to Fibaro HC2.

Within Fibaro, the function of Virtual Device can be used for this. The functionality will (for now) be limited to:

  • arm the camera;
  • disarm the camera;

Start with creating a virtual device:

Virtual Device - Camera Motion Detection
Virtual Device – Camera Motion Detection

The settings for this device are the same as for the camera. For your own convience use another name e.g. indicating the motion detection. I called mine Motion <ROOM> as I have 4 camera’s in 4 different rooms. You may choose whatever name you like.

Configure the virtual device with the following list of buttons:

Virtual Device - Number of buttons
Virtual Device – Number of buttons

I only use 2 buttons here. One for arming the system and one for disarming the system.

Last step is to define the scripts that needs to be performed when the buttons are pushed. Basically the communiction with the Foscam like camera is done via HTTP. The manual mentioned above gives you an idea of which parameters may be passed in the commands.

Virtual Device - Configuration
Virtual Device – Configuration

Arming the device is done by the following script:

  • GET /set_alarm.cgi?motion_armed=1&user=YOURADMINUSER&pwd=YOURPASSWORD HTTP/1.10x0D0x0A0x0D0x0A


  1. motion_armed= 1 (armed) or 0 (disarmed)
  2. youradminuser= your admin username
  3. yourpassword = your admin password

The string at the end (HTTP …) must be attached to every command. It is just to indicate the type of request.

Disarming the device script is straightforward:

  • GET /set_alarm.cgi?motion_armed=0&user=YOURADMINUSER&pwd=YOURPASSWORD HTTP/1.10x0D0x0A0x0D0x0A

Other commands can be found here:  IPCAM CGI SDK V1.7.

Adding Foscam like camera’s to Fibaro HC2

An important part of a home automation system is security. For my house I would like – besides the cameras – to save the images and safely put them away (in this case on a QNAP NAS, which in turn is connected to an online backup service).

The reasons are quite simple:

  • When the storage media may be stolen, just saving the images on the NAS is insufficient;
  • A fire or other disaster  and all data will be lost too;

Furthermore I have the following requirements:

  • I would like to receive notifications about events (with images of the event), only when armed;
  • motion must be detected reliably (every movement, outside of pets, must be detected);

In order to ensure the camera is functioning properly within Fibaro HC2 it must be added correctly. First make sure that security parameters within the camera are set. For me it was necessary to give my Fibaro Home Center an administrator account on all camera’s (also necessary for movement of the camera’s)

Camera Gebruikers Instellingen
Camera User Settings

This also ensures that the camera may be controlled by Fibaro (in the case of motorized cameras). Sending commands to the camera (remember to turn on the alarm mode on the camera) often requires administrator rights also. However, this can vary by camera model.

To receive notifications when an event occurs, I have to setup the mail settings (I use google as mailserver):

Camera Mail Settings
Camera Mail Settings

Last thing is testing the reliability and motion sensitivity. This can be set directly on the camera:

Camera Alarm Settings
Camera Alarm Settings

If all is correctly set it is time to add the camera to the Home Center.

This will result in:

toevoegen camera's

Camera Setup
Camera Setup (make sure the username and password match with the camera settings)

When you receive a stream, try to move the camera. You may also try to take a picture (you will receive an email per picture you take). In my case, I had to shift the right & left CGI command.

Next step see: managing the camera’s with Fibaro HC2 .

Adding the Aeon Labs 4-in-1 Multisensor

Adding the Aeon Labs 4-1 multi-sensor does not work directly out-of-the box.

The only thing that appears in the interface is a motion sensor.

The solution is to first update the sensor. This may either by any USB cable (standard cable, mini jack).

Download update:

After updating, it is a matter of re-adding the sensor.

The end result 🙂 :

Aeon Labs Multisensor
Aeon Labs Multisensor


Aeon Labs Interface
Aeon Labs Interface