Skip to content

Instantly share code, notes, and snippets.

@yoimbert
Created May 6, 2019 13:40
Show Gist options
  • Save yoimbert/91bfbc8704382b999d93ecc43b02e3ca to your computer and use it in GitHub Desktop.
Save yoimbert/91bfbc8704382b999d93ecc43b02e3ca to your computer and use it in GitHub Desktop.
TurnOffDelayFibaro
-- 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