Installing Fibaro dimmer 2 in single switch and connecting to raZberry and openhab
Installing Fibaro dimmer 2 in the wall and controlling it from Openhab
fibaro dimmer 2 wiring
I used wiring as follows
Be sure which is the Live wire. Check the videos on youtube to be sure.
Connecting fibaro dimmer 2 with openhab.
Connect to habmin http://IP_of_rpi:8080/habmin
go to Configuration -> Bindings -> Z-Wave bindings -> Devices
Turn on the fibaro dimmer 2
On the raZberry node start the “include mode”
Try to several times turn on/off the switch
check in the /var/log/openhab/openhab.log for new node appearance
reload the habmin webpage. You should see the fibaro dimmer 2 in the list.
settings in defaults.items
Group Fibaro_group "Bedroom" <switch> Switch fibaro "Bedroom light" <switch> (Fibaro_group) { zwave="2:command=SWITCH_MULTILEVEL" } Dimmer fibaro_dim "Bedroom dimmer [%d %%]" <slider> (Fibaro_group) { zwave="2:command=SWITCH_MULTILEVEL" } Number fibaro_power "Bedroom current [%.2f W]" <chart> (Fibaro_group) { zwave="2:command=METER,meter_scale=E_W,refresh_interval=300" } Number fibaro_energy "Bedroom total [%.2f KWh]" <chart> (Fibaro_group) { zwave="2:command=METER,meter_scale=E_KWh,refresh_interval=300" }
settings in defaults.sitemap
sitemap default label="My Home" { Frame label="Living room" { Group item=DSPW215_group } Frame label="Bedroom" { Group item=Fibaro_group } }
If you have normal switch as me then you will want to change the configuration of the switch from button as shown in the picture.
This way when the used manually it will work as standard switch.