• Professional advice
  • Order before 16.30 uur shipped today
  • Almost always available (+31 73 762 0 762)
  • Monday open late

Make your own Z-wave multifunction switch

Z-wave multifunction

(multiple commands sent via 1 button)

 

Most of you are familiar with the multi-functionality of the FIBARO dimmer module and the FIBARO Shutter module. By double-clicking (2x quick succession) you can start a scene with these modules when parameter 42 is activated. The module then returns a value that you can do anything in a scene.
Unfortunately FIBARO switches and all Qubino modules do not have this functionality.
Yet you can with a trick (read a parameter in which you save the time that the switch was last pressed) here make something of it.
How this exactly works.
What we need is a scene that get started when the lamp will be turned off.
In (Fibaro) LUA does it look like this:

 

 

--[[
%% properties
400 value
%% events
%% globals
--]]

local verschil=os.time()-tonumber(fibaro:getGlobalValue("TijdWandlampUit"))
-- verschil vergelijkt de huidige tijd is sec met de variabele TijdWandlampUit
-- De variabele tijd dient u aan te maken in het variabelen paneel!
if (
( tonumber(fibaro:getValue(400, "value")) == 0 )            --lamp gaat uit
and tonumber(verschil) <4                                              --als er binnen 4 seconden 2 keer is gedrukt
)
then
              -- extra lampen uitzetten, of een scene starten.
              fibaro:call(718, "turnOff"); --eetkamer tafel lamp uit
end
fibaro:setGlobal("TijdWandlampUit", tonumber(os.time() ));
--tijd wegschrijven dat toilet geopend word, zit ook in de dubbelklik scene.

 

 

 

 

 

Meer informatie over FIBARO LUA commandos kunt u hier vinden.

 

6 Result(s)

Why ROBBshop?

  • 14 day return policy
  • Reach us 24/7
  • Ordered before 16:30 shipped today
  • Over 2000 positive reviews
  • Standard 2 year warranty
  • Call us at +31737620762
    6 Result(s)
     
    Customer Service Phone

    +31737620762
    mon-fri: 10am-5pm and sat 10am-3pm

     
    Adress

    Gerstakker 16 5236 VG Empel Netherlands

    Google maps