We start the tutorials section with Fibaro universal binary sensor.

Fibaro offers Z-Wave Multi module with the following features:

  • 2 binary floating inputs
  • 2 binary floating outputs , for loads up 150 mA
  • 36 Vdc – 24 Vac
  • 1 entry for 1-wire serial bus, for up to 4 sensors DS18B20
  • External power supply 9-30V
  • Small dimensions 14.5 x 27.3 x 12 mm

It is an interface that enables different sensors integrated in the Z-Wave network. On one hand, the binary inputs and outputs allow interlayer in a conventional alarm system, providing this functionality Z-Wave module is inserted between the sensors and the alarm unit, resulting clear to her. At this point it should be clear that each of the outputs, reflects the state of the entry, without that we can schedule them or act on them. Many users sorely lacking power control outputs, but, today, it is only an input module. Moreover, the entry for the 1-Wire serial bus interfaces up to four digital temperature sensors DS18B20.

In summary, with the universal sensor Fibaro we can connect any two binary sensors and temperature sensors DS18B20 4. Intelligently combining these options, we can get great functionality of the device.

SUB Fibaro

The SBUF comes in standard box Fibaro along with the instruction sheet in English. Just open the box surprising the small size of the device. Not the same specification to have it read in the hand is really small. Compared with an AA battery, has half long and nearly as wide.

In the upper face has two strips for connecting the outputs and at the other end a connector provided with cables for the sensor inputs, the feed and the antenna. In the middle we have the button that will allow inclusion and exclusion in the Z-Wave network.

On the underside, stresses mainly the Z-Wave module with Zensys chip and the crystal oscillator with the EU + mark, which indicates the frequency.

The wiring is clearly shown in the instruction sheet, we just pay attention to the order of the wires and their color. It provides power to the module in the first two threads: the red positive (P) and negative in the blue ground (GND).


IN1 and IN2 can have two states: open or grounded, so to connect a sensor will do to IN1 IN1 and GND terminals. To connect to IN2, IN2 and GND use.

DS18B20 sensors are connected to the remaining three terminals, with special attention to avoid mistakes. The data line (TD) white will connect to the center pin of the sensor, the ground line (GND) of blue will join the left pin of the sensor and probe power (TP) of brown to the right pin. To locate the pins left and we hold the right DS18B20 with sideburns down and watching it on the flat side of the package, which has recorded the different identification codes.

Motherboard test

To analyze the behavior of the sensor in different applications, we can build a simple test circuit, which comfortably acoplaremos inputs and outputs of the device.

As shown in the diagram, we have two switches that allow us to act on IN1 and IN2. The state of OUT1 and OUT2 is displayed by two LEDs. Thus, pressing S1, in IN1 connects to GND, and close contacts OUT1 what will it look LED1.

We also have four 3-pin socket for connecting sensors DS18B20, either directly or through extension cords. Finally is included for feeding a connector that allows connection to the power source 9-30V. You can also connect to a 9V battery if you want the device to be portable.

The universal sensor is coupled to the plate in vertical tests, tightening the terminal strip naked outputs. The output cables are introduced into the 7-pin socket. It is not necessary to cut them, since sufficient space is left for them to form a loop. The order in socket connection is the same as in the connector module inputs.

Figura sensor


Board circuit

Inclusion, exclusion and reset

To include the SBUF follow the procedure driver our own Z-Wave network and press the button three times consecutively located in the center of the sensor.

For Veralite, the most direct way of entering inclusion is pressing the (+). We note that the Ready light starts blinking at a rate of 1 s. Normally we will monitor the process of inclusion through UI5 where we report that the driver is waiting to include new devices on the network.

By making the triple-click the SBUF, Veralite Ready light blinks rapidly a few seconds, the duration of inclusion, then returned to the cadence of 1 s. In UI5 we indicate that a device has been detected and assigned a node number given.

Veralite mode will include a few minutes, after which return to normal mode and the Ready light stops blinking, leaving off. In UI5 indicate that we have finished adding a new node. We will wait to return the system to be ready when the Ready light glow steadily again.

Interface 1

After updating the UI5, we can verify that you have generated several new devices: a general or father, son and a device for each of the binary inputs (IN1, IN2) and each DS18B20 digital thermometers that we had connected to the sensor the time of inclusion.

Interface 2

The father and the corresponding device to IN1 and IN2 are recorded as motion sensors. Through the parent device will make the adjustment SBUF configurable parameters. To distinguish what each motion sensors can act on the inputs IN1 and IN2 and see which changes state. Another way to distinguish it through Settings tab device configuration; see ID field node number. The father is the only device with a numeric identifier (eg 2) while the devices will get as ID e1, e2, e3, e4, e5, e6 for IN1, IN2 and different DS18B20 we have connected. The status of the inputs will be seen through the other two motion sensors. The device corresponding to the temperature sensors, in this case only one is recorded as generic device. We need to change sensor
temperature. To do so, through the device settings (wrench icon) and within the Advanced Settings tab, change the file to D_TemperatureSensor1.xml D_GenericIO1.xml device. After updating the UI5 ​​the DS18B20 display correctly indicating the temperature value.

Interface 3

Interface 4

DevelopApps>LuupFiles.”>The device files in Vera can see APPS> DevelopApps> LuupFiles. Bear in mind that if you later want to add a new DS18B20, we exclude the SBUF Z-Wave network, connect the new thermometer and repeat the process of inclusion.


Button normally open, normally closed, single, double temperature sending frequency

It should be borne in mind that deleting a setting by pressing (X), it is not deleted, viewed simply stops. So, if we want to recover the default setting of a parameter, we introduce the value it had and save. If we doubt the current value of a parameter, select it and instead of assigning a value, choose “monitor
only “.


Indoor and outdoor range
Operation with four normal temperature sensors parasite
Maximum length 1-Wire bus with a single temperature sensor
Consumption at different voltages to 9V 25mA
Tension in the input buttons open
Tension in the output contacts closed


Monitoring four room temperature
Control apparatus consumption power of two fixed
Optimization of heating / air conditioning
Drive two scenes
Refrigerator temperature

About the Author

José Miguel Rubio Varas
Cofounder of Domótica Dainci. Since childhood I wanted to become telecommunications engineer. I got tired of being Engineer Power Point and I decided to undertake. I found my passion in Automation. That automation that is not already expensive or a source of problems, but it is for everyone.