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
Dman568 2
Hi
I am trying to debug the output of my triggers for a scene, the scene is as follows
local startSource = fibaro:getSourceTrigger();
if (
( tonumber(fibaro:getValue(230, "value")) > 28 ) --Dinning Temp
and
( tonumber(fibaro:getValue(167, "value")) > 28 ) --Living Temp
and
( tonumber(fibaro:getValue(190, "value")) > 31 ) --Bedroom Temp
and
tonumber(fibaro:getGlobalValue("OccupyCount")) == tonumber("0") --OcupyCount = 0
and
( tonumber (fibaro:getValue(163, "ui.solar.value")) > 3000 ) --Solar >3000kw
and
( fibaro:getGlobalValue("TimeOfDay") == "Afternoon" ) -- Afternoon Time
)
then
how would i send the current value of each one to the debug window?
9 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.