Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
wojtas810 17
Hej mam pytanko mam scenę z włączeniem RGBW
Działa sobie pięknie ładnie sprawnie
Ale chciałbym do niej dodać opcję ze jak będzie burza ma się włączyć program np. 2
Jak będzie deszcz to Światło niebieskie
jak gorąco to żółte
Proszę was o podpowiedz jak się za to powinienem zabrać.. ?
jakieś podpowiedzi komend Lua ?
--[[
%% autostart
%% properties
17 value
17 armed
%% events
%% globals
isNight
--]]
local startSource = fibaro:getSourceTrigger();
if (
( tonumber(fibaro:getGlobalValue("isNight")) == tonumber("1") and (tonumber(fibaro:getValue(17, "value")) > 0 and tonumber(fibaro:getValue(17, "armed")) == 0) )
or
startSource["type"] == "other"
)
then
fibaro:call(62, "turnOn");
end
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.