Jump to content

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


  • 0

Disable S1 - Q1 association


Bobby1983

Question

Is it possible to disable the Association between the S1 switch and the Q Relay?

i want to use S1 / S2 for signal to my server, and to let Q1/2 be controlled by the server only.

  • Like 1
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Is there an answer to this? I would like to use S1 to switch on a diffrent dimmer and not be associated with Q1.

Link to comment
Share on other sites

  • 0

I've made a scene that says if I push the S1 switch it should keep the fixture in its current stage.

Problem is, the reaction time make the fixture flash for half a second. 

 

Anyone has a solution for this?

 

--[[ 

%% properties 

113 sceneActivation

%% globals 

--]] 

local id= 113; 
local name = fibaro:getName(id)
local name = tonumber(fibaro:getValue(id, "sceneActivation"));

-- single click S1
if ( tonumber(fibaro:getValue(id, "sceneActivation")) == 16) 
then 
    fibaro:debug("1 click s1 "..name);
    fibaro:debug("WC + Nachtlamp schakelaar gebruikt");
      if (tonumber(fibaro:getValue(180, "value")) > 0 )
    then
          fibaro:call(180, "turnOff");
          fibaro:debug("Nachtlamp uitgeschakeld");
    elseif (tonumber(fibaro:getValue(180, "value")) == 0 )
    then
          fibaro:call(180, "turnOn");
          fibaro:debug("Nachtlamp ingeschakeld");
      end
  
      if(tonumber(fibaro:getValue(113, "value")) > 0 )
      then
          fibaro:call(113, "turnOn");
          fibaro:debug("WC licht blijft aan");
    
       elseif (tonumber(fibaro:getValue(113, "value")) == 0 )
    then
          fibaro:call(113, "turnOff");
          fibaro:debug("WC licht blijft uit");
    end
end

Link to comment
Share on other sites

  • 0
8 minutes ago, pnutp0wer said:

Why are you not using scene activation of the switch? 2x/3x/hold down

 

The script is longer to have other actions (double and triple click for lightsettings). But this part is to stop S1 from activation Q1 ;-). 

Only problem is the reaction time to the script and the direct association. So the fixture lights up for less than a second.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...