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
muc 1
Long ago I created a scene (id=205), automatically triggered by
--[[
%% globals
Sens1HWert
--]]
Some time later I set it to manual trigger, scene did nothing, I did not delete it.
(Sens1HWert is still used by another scene.)
Some days ago I re-activated this scene 205 with a completely different LUA program
with first lines
--[[
%% properties
5 power
--]]
Now this scene was triggered by device with ID=5, BUT by global Sens1HWert TOO !!
So I changed the LUA program to ONLY 2 lines
srcTr= fibaro:getSourceTrigger()
print(json.encode(srcTr))
Now every time Sens1HWert changes, debug window shows a new line
[DEBUG] 16:37:23: {"type":"global","name":"Sens1HWert","varName":"Sens1HWert"}
or
[DEBUG] 16:38:26: {"type":"global","varName":"Sens1HWert","name":"Sens1HWert"}
or
[DEBUG] 16:39:28: {"varName":"Sens1HWert","name":"Sens1HWert","type":"global"}
or...
Have I really to delete this scene?
Or can anyone stop this strange triggering?
A happy christmas time to everybody!
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.