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


All-in-One Scene: How to do it Better


cag014

Recommended Posts

  • Topic Author
  • 1 hour ago, SmartLifeSystems said:

     

     

    Ohhh I'am very happy! Working fine! Thank you very much!!!!

    You're welcome...

    Link to comment
    Share on other sites

    • 3 weeks later...
    Guest Benrive

    Hi all,


    My first time, I just started with AOQ, for what I want to do LUA it would be endless and I think very slow.
    I just put All in One 11.8 on my HC3.
    I have included a Js2n line with the alias of a light.

     

    Please login or register to see this code.

     


    Now I intend to start with an JM Line example, but I do not know where to start and it is very simple.

     

    I have a Fibaro Dimmer2 ID 48 ( For example ), I want it to turn on for xxx time when I press In1 Momentswitch, as time passes it turns off, but if it is pressed 2 times the light remains on indefinitely until it is pressed again to turn off.

     

    Currently pressing 2 times the brightness is increased to the maximum.

     

    Can you help me from this example I can add more lines and conditions?.

     

    Thanks a lot

    Edited by Benrive
    Link to comment
    Share on other sites

  • Topic Author
  • 12 hours ago, Benrive said:

    I have a Fibaro Dimmer2 ID 48 ( For example ), I want it to turn on for xxx time when I press In1 Momentswitch, as time passes it turns off, but if it is pressed 2 times the light remains on indefinitely until it is pressed again to turn off.

     

    Currently pressing 2 times the brightness is increased to the maximum.

     

    Can you help me from this example I can add more lines and conditions?.

     

    Thanks a lot

    You mean by pressing on the  Dimmer switch ?

    Edited by cag014
    Link to comment
    Share on other sites

    Guest Benrive
    On 12/11/2021 at 1:40 AM, cag014 said:

    You mean by pressing on the  Dimmer switch ?

    Yes, a pressing on momentswicht in Imput 1 of dimmer 2 ( S1 )

    I mean that it is timed when you press to turn on. But if you press again or press several times it stays on without timing.

    Edited by Benrive
    Link to comment
    Share on other sites

  • Topic Author
  • 5 hours ago, Benrive said:

    Yes, a pressing on momentswicht in Imput 1 of dimmer 2 ( S1 )

    I mean that it is timed when you press to turn on. But if you press again or press several times it stays on without timing.

    To achieve that (1 or 2 clicks) you need to define scene functionality of the switches. Did you do it already?

    Please login or register to see this spoiler.

     

    Edited by cag014
    Link to comment
    Share on other sites

    Guest Benrive
    2 hours ago, cag014 said:

    To achieve that (1 or 2 clicks) you need to define scene functionality of the switches. Did you do it already?

    Please login or register to see this spoiler.

     

    Hello,

     

    Yes, I change parameter 28 to Activated, but i Dont save any Scene for it.

    Link to comment
    Share on other sites

  • Topic Author
  • 16 minutes ago, Benrive said:

     

    Hello,

     

    Yes, I change parameter 28 to Activated, but i Dont save any Scene for it.

     

    great, now you can try that

    If pressed once and dimmer is ON, turn off the dimmer otherwise turn OFF the dimmer after 120 seconds.

    {120,"48",{state="sceneActivation=16",trueAct={"48","turnOff","{48:value>1}"}, timeoutAct={"48","turnOff"}}},

    Of course there are al lot of other options to implement that.... 

     

    By the way you said, by pressing twice it set brightness to maximum? WHat your setup for paramater 20 (Momentary, Toggle, Roller...)?
     

    Link to comment
    Share on other sites

    Guest Benrive
    29 minutes ago, cag014 said:

     

    great, now you can try that

    If pressed once and dimmer is ON, turn off the dimmer otherwise turn OFF the dimmer after 120 seconds.

    {120,"48",{state="sceneActivation=16",trueAct={"48","turnOff","{48:value>1}"}, timeoutAct={"48","turnOff"}}},

    Of course there are al lot of other options to implement that.... 

     

    By the way you said, by pressing twice it set brightness to maximum? WHat your setup for paramater 20 (Momentary, Toggle, Roller...)?
     

     

    Hello Again,

     

    Parameter 20 is Momentary, and parameter 23 ( Double Click Option ) Is disabled ( I think that if this parameter is active, to adjust the brightness to 100% it may cause a problem with what I want to do ).

     

     

    Link to comment
    Share on other sites

  • Topic Author
  • Sounds correct.

    Dies the line works for you?

    Link to comment
    Share on other sites

    Guest Benrive
    13 hours ago, cag014 said:

    Sounds correct.

    Dies the line works for you?

     

    Hello,
    It honestly doesn't work. I have tried to use Aliases and also the ID but it does nothing.
    What I really need is for this light (Dimmer 2) to be timed by default xxx sec. but if it is necessary that with 2 pulses the light works without timing.
    It is a place of passage, but I have the washing machine and the dryer and in some cases it is necessary that it is not timed.
    I really don't know if this is possible to get through AOQ

    Link to comment
    Share on other sites

  • Topic Author
  • 2 hours ago, Benrive said:

     

    Hello,
    It honestly doesn't work. I have tried to use Aliases and also the ID but it does nothing.
    What I really need is for this light (Dimmer 2) to be timed by default xxx sec. but if it is necessary that with 2 pulses the light works without timing.
    It is a place of passage, but I have the washing machine and the dryer and in some cases it is necessary that it is not timed.
    I really don't know if this is possible to get through AOQ

     

    You mean, the dimmer doesn't turn OFF after 120 seconds?

    The problem is not AOQ, but the dimmer definitions.

    I have dimmer 2 also, will try to see how to configure per your request

    Edited by cag014
    Link to comment
    Share on other sites

    Guest Benrive
    3 hours ago, cag014 said:

     

    You mean, the dimmer doesn't turn OFF after 120 seconds?

    The problem is not AOQ, but the dimmer definitions.

    I have dimmer 2 also, will try to see how to configure per your request

     

    OK thank you very much. The dimmer does nothing after pressing input 1.

    I have tried with these 2 settings.

     

    Please login or register to see this code.

    Please login or register to see this code.

    The line of Js2n

    Please login or register to see this code.

     

    Edited by Benrive
    Link to comment
    Share on other sites

  • Topic Author
  • 3 hours ago, Benrive said:

     

    OK thank you very much. The dimmer does nothing after pressing input 1.

    Did the configuration on mine dimmer and it does work, but since double press does nothing some changes required. Use jM lines below

     

    {120,"48",{state="sceneActivation=16",timeoutAct={"48","turnOff"}}},

    {"48",{state="sceneActivation=14",trueAct={"48","turnOn"}}},

     

    Please make sure that the dimmer has a load (light/bulb connected) and the RED LED doesn't ON or blinks on the dimmer.

    I suggest after parameters configuration disconnect and connect the dimmer power. (Hard reset - has some issues without that)

    Let me know if it works.

    Edited by cag014
    Link to comment
    Share on other sites

    Guest Benrive
    22 hours ago, cag014 said:

    Did the configuration on mine dimmer and it does work, but since double press does nothing some changes required. Use jM lines below

     

    {120,"48",{state="sceneActivation=16",timeoutAct={"48","turnOff"}}},

    {"48",{state="sceneActivation=14",trueAct={"48","turnOn"}}},

     

    Please make sure that the dimmer has a load (light/bulb connected) and the RED LED doesn't ON or blinks on the dimmer.

    I suggest after parameters configuration disconnect and connect the dimmer power. (Hard reset - has some issues without that)

    Let me know if it works.

     

    Hello @cag014.

     

    I do not understand it, but it does not work, neither the action of turning off nor the action of leaving on.

    I have tried to leave the Dimmer 2 module without power, but nothing.

    I have tried to remove the aliases and put the ID directly and it does nothing either.

     

    These are the parameters that I have modified.

     

    20- Momentary Switch

    23- Double Clicl Disabled

    28- Funcionality Activated

     

    This the picture of module.

    Please login or register to see this image.

    /monthly_2021_12/image.png.858f5f75fae04bc907fd2bc943ec83a4.png" />

     

    And this the debug screen.

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    Guest Benrive

    Hello,
    I am seeing something that seems really strange to me, having the parameters exactly the same in different Dimmer2, in some I can see several scenes and in others only 1 posivilidad.
    Why does this happen? The parameters are the same in all Dimmer2

     

     

    All Dimmer ara the same parameter, same model and same firmware.

    Dimmer2 only one Scenary

     

    Please login or register to see this image.

    /monthly_2021_12/image.png.ff467eebed90c42fda2f7aa82177e945.png" />

     

    Dimmer 2 No scenario

    image.png.75f03a0bc84a961f5342d06ce6793aa9.png

     

    Dimmer witch 4 scenary

     

    image.png.9c94ed8d2fdd098c9cb68612682adf22.png

     

    But now I have recomplete configuration and , i dont see any scenary .

    I'm crazy

     

    Edited by Benrive
    Link to comment
    Share on other sites

  • Topic Author
  • 5 hours ago, Benrive said:

    And this the debug screen.

     

    Please login or register to see this attachment.

    Now I'm confused... according to the screen it sent scene ID 16!?

    Question, when you press one time the momentary switch, is it turns ON and OFF?

    Edited by cag014
    Link to comment
    Share on other sites

    Guest Benrive
    10 hours ago, cag014 said:

    Now I'm confused... according to the screen it sent scene ID 16!?

    Question, when you press one time the momentary switch, is it turns ON and OFF?

     

    Yes, The operation is completely normal, it does the functions that it has configured in the parameters.
    In my case, pressing once turns on and pressing another turns off.

    Skip the line entirely {JM}.

     

    Have you seen how my Advanced screen changes in the Dimmer 2 , being the same confiuration, parameters, and versions?.

     

    I'm going crazy, I can't understand why the 4 scenes don't appear at all 16-14-12-13.

    I have restored the backup I made a few days ago with version 5.090.17 because I had the BETA, but I have not been able to solve anything with it.

    Link to comment
    Share on other sites

  • Topic Author
  • 3 hours ago, Benrive said:

     

    Yes, The operation is completely normal, it does the functions that it has configured in the parameters.
    In my case, pressing once turns on and pressing another turns off.

    Skip the line entirely {JM}.

     

    Have you seen how my Advanced screen changes in the Dimmer 2 , being the same confiuration, parameters, and versions?.

     

    I'm going crazy, I can't understand why the 4 scenes don't appear at all 16-14-12-13.

    I have restored the backup I made a few days ago with version 5.090.17 because I had the BETA, but I have not been able to solve anything with it.

    Ooops... I think regarding the time out is my mistake, it should be as below (2 instead of 120 - 120 means two hours). I forgot the time out is in minutes not seconds.

    {2,"48",{state="sceneActivation=16",timeoutAct={"48","turnOff"}}},

    Link to comment
    Share on other sites

    Guest Benrive
    51 minutes ago, cag014 said:

    Ooops... I think regarding the time out is my mistake, it should be as below (2 instead of 120 - 120 means two hours). I forgot the time out is in minutes not seconds.

    {2,"48",{state="sceneActivation=16",timeoutAct={"48","turnOff"}}},

    ?If that is so, I can not be more answer. An unimportant mistake.

    I have already changed it and added the lines for other modules that should do the same (with other times).
    I try it and tell you how ... let's hope everything goes perfect.

     

    I have modified this line, so that both lights do the same. It would be correct?.

     

    Please login or register to see this code.

     

    and other Question, This line it's correct for dimmer at 50% o bridgness?

     

    Please login or register to see this code.

     

    Edited by Benrive
    Link to comment
    Share on other sites

  • Topic Author
  • Great, et me know if it works 

    8 hours ago, Benrive said:

    ?If that is so, I can not be more answer. An unimportant mistake.

    I have already changed it and added the lines for other modules that should do the same (with other times).
    I try it and tell you how ... let's hope everything goes perfect.

     

    I have modified this line, so that both lights do the same. It would be correct?.

     

    Please login or register to see this code.

     

    and other Question, This line it's correct for dimmer at 50% o bridgness?

     

    Please login or register to see this code.

     

    Great hope it works.

    Regarding the 50% of brightness, the dimmer will set 50% percent of his power, but it depends on bulb power supply if it actually 50% percent of brightness. I suggest to adjust the 50% percent of the light manually and then use the value. 

    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
    Reply to this topic...

    ×   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...