Created
May 6, 2019 13:40
-
-
Save yoimbert/91bfbc8704382b999d93ecc43b02e3ca to your computer and use it in GitHub Desktop.
TurnOffDelayFibaro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Source : https://www.domotique-fibaro.fr/topic/5298-fibaro-fgd-212-micromodule-variateur-z-wave/?page=21 | |
local delai = 2 --delai d'attente en secondes | |
fibaro:call(ID["LAMPE"], "turnOn") | |
setTimeout(function() fibaro:call(ID["LAMPE"], "turnOff") end, delai*1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment