Return to Snippet

Revision: 64206
at July 15, 2013 07:52 by Zebkha


Initial Code
--[[
%% properties
%% autostart
%% globals
--]]

while true do 
-- wunderground weather
--	fibaro:call(96, "pressButton", "1");
--	fibaro:debug(fibaro:getValue(96, "log"))
-- wunderground wind part
--  fibaro:call(97, "pressButton", "1");
--	fibaro:debug(fibaro:getValue(97, "log"))
  
-- compteur EDF
    fibaro:call(125, "pressButton", "1");
	fibaro:debug(fibaro:getValue(125, "log"))
-- netatmo indoor module
    fibaro:call(126, "pressButton", "1");
  	fibaro:debug(fibaro:getValue(126, "log"))
-- netatmo outdoor module
    fibaro:call(127, "pressButton", "1");
  	fibaro:debug(fibaro:getValue(127, "log"))
-- compteur d'eau
    fibaro:call(128, "pressButton", "1");
  	fibaro:debug(fibaro:getValue(128, "log"))
-- koubachi  
  fibaro:call(129, "pressButton", "1");
  	fibaro:debug(fibaro:getValue(129, "log"))
  
-- infinite loop to refresh virtual buttons log
 	fibaro:sleep(6*60*1000); 
end

Initial URL


Initial Description
buttons refresh scene for Fibaro HC2

Initial Title
buttons refresh scene

Initial Tags


Initial Language
Lua