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
TSN2 5
Hello,
I hope somebody can help me here. i had a scene that worked perfect but after update to 4.590 it went nuts. Screens where going up and down 20 times in 1 minute.
now i changed the scene and tryed to made it as simple as possible. But i cant get it to work. it keeps making the counter 0. While it shoud not do that (i think).
Its this scene:
--[[
%% properties
189 value
%% weather
%% events
%% globals
--]]
--local sourceTrigger = fibaro:getSourceTrigg
--local startSource = fibaro:getSourceTrigger();
local Up = fibaro:getGlobalValue("Zonw_op")
local calc = Up - fibaro:getValue(189, "value")
if
((Up > fibaro:getValue(189, "value")) )
then
fibaro:setGlobal("Zonwering_terras", "0");
print (Up)
print (fibaro:getValue(189, "value"))
end
And i had some more triggers in it, but this one seems to go wrong every time the outdoor lux changes.
i tryed to change this line: ((Up > fibaro:getValue(189, "value")) ) TO ((fibaro:getValue(189, "value") < Up) )
but nothing works.
the value of Up is set to 800 (doesnt change at al)
the value of 189 is at this moment far above 800, but every change of 189 makes the Zonwering_terras change to 0 again ( other scene makes it go up with 1 every 2 minutes, that one works perfect)
i cant figure out what im doing wrong, even if i make this in block scenes it goes wrong.......
thanks for any help.
Greetings TSN
6 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.