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


Recommended Posts

Guest Benrive
Posted
On 12/16/2021 at 8:25 PM, cag014 said:

Great, et me know if it works 

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. 

Thank you very much , I will continue to implement more options, surely I will have some more questions.
very helpful.

Guest Benrive
Posted

Hello @cag014.


I am implementing Zwave monitor and range but I always get the same in two scene.

 

(load):66: attempt to concatenate a nil value (global '__fibaroSceneId')

 

Do I have to create a Global variable ?, it seems to be linked to some problem with debugging to true or false, but I can't locate the source of the problem.

Can you help me?

  • Topic Author
  • Posted
    1 hour ago, Benrive said:

    Hello @cag014.


    I am implementing Zwave monitor and range but I always get the same in two scene.

     

    (load):66: attempt to concatenate a nil value (global '__fibaroSceneId')

     

    Do I have to create a Global variable ?, it seems to be linked to some problem with debugging to true or false, but I can't locate the source of the problem.

    Can you help me?

    What controller you have ? Z-wave monitor works on HC2 only.

    I'm working to release HC3 version in the future....

    Guest Benrive
    Posted (edited)
    2 hours ago, cag014 said:

    What controller you have ? Z-wave monitor works on HC2 only.

    I'm working to release HC3 version in the future....

     

    Ok, I have HC3... wait for this release.

    Thanks for all

     

    Do you know any way to be able to see the status of the Z-wave network in the HC3? I have some communication problems and I have bought a Range Extender to see where to better locate it.
    Thanks,

    Edited by Benrive
    Guest Benrive
    Posted

    Hello again,


    I am implementing the motion sensor and the lux level in the same light.

     

    light=48

    Motion sensor = 21

    Lux Sensor = 23


    I have these 5 JM lines for the same light.
    What I want to do is the following.

    If Scena16 is pressed once, it lights up for 2 Minutes.
    If pressed twice, it turns on and stays on.

     

    Please login or register to see this code.


    (Action buttons have higher priority than motion sensor).


    The following lines should not do anything in case the light it's on ( True ).

     

    Only if the light is off and depending on the time the light turns on at the set level and will turn off after 120sec.

     

    Every time the motion sensor detects, it should reset that time, but I can't do it because I have the condition of.

     

    I don't know how to make the time reset every time it detects movement because i have a condition  48:value=false for TrueAct.

    Any Idea

     

    Please login or register to see this code.

     

  • Topic Author
  • Posted (edited)
    1 hour ago, Benrive said:

    Hello again,


    I am implementing the motion sensor and the lux level in the same light.

     

    light=48

    Motion sensor = 21

    Lux Sensor = 23


    I have these 5 JM lines for the same light.
    What I want to do is the following.

    If Scena16 is pressed once, it lights up for 2 Minutes.
    If pressed twice, it turns on and stays on.

     

    Please login or register to see this code.


    (Action buttons have higher priority than motion sensor).


    The following lines should not do anything in case the light it's on ( True ).

     

    Only if the light is off and depending on the time the light turns on at the set level and will turn off after 120sec.

     

    Every time the motion sensor detects, it should reset that time, but I can't do it because I have the condition of.

     

    I don't know how to make the time reset every time it detects movement because i have a condition  48:value=false for TrueAct.

    Any Idea

     

    Please login or register to see this code.

     

    It should reset the time, every time the command is executed previous states and timers are removed.

    What exactly doesn't work as expected? I mean am you explain what goes not according to what you need?

    The only scenario I can think of that when you have constant movement (motion sensor=true over 120 seconds) the lights won't turned OFF (as expected, right?)

    You could have an issue only when motion sensor breached exactly on time transition, for example at 22:00 o'clock. Two line are executed, but after two minutes only one line is active. samo on sunsetHour

    If you have an issue on transition time slots I suggest to shift the time slot at line two by one minute (60 seconds)

     

    Please login or register to see this code.

     

    Edited by cag014
    Guest Benrive
    Posted
    41 minutes ago, cag014 said:

    It should reset the time, every time the command is executed previous states and timers are removed.

    What exactly doesn't work as expected? I mean am you explain what goes not according to what you need?

    The only scenario I can think of that when you have constant movement (motion sensor=true over 120 seconds) the lights won't turned OFF (as expected, right?)

    You could have an issue only when motion sensor breached exactly on time transition, for example at 22:00 o'clock. Two line are executed, but after two minutes only one line is active. samo on sunsetHour

    If you have an issue on transition time slots I suggest to shift the time slot at line two by one minute (60 seconds)

     

    Please login or register to see this code.

     

    ok, Thanks

    It seems that I am understanding how AOQ works

     

    There are many conditions for the same, I am going to reproduce all of them making the change of time that you tell me and I will give you an answer.
    Thanks

  • Topic Author
  • Posted (edited)

    Yes, there  are many options to set conditions, including ELSE statement 

    All-in-One supports conditions for entire line, individual action tables and inside commands.

    a) lineState – condition for entire jM line.

    b) trueActState – condition for actions defined in trueAct{} table

    c) falseActState – condition for actions defined in falseAct{} table

    d) initActState – condition for actions defined in initAct{} table

    e) timeoutActState – condition for actions defined in timeoutAct{} table 

    f) timeLoopActState – condition for actions defined in timeLoopAct{} table

    g) trigActState – condition for actions defined in trigAct{} table

    h) {"400", "turnOn", "{if 500:value=true}" } – condition inside action.

    Condition Settings define rules for devices, scenes, global and keyword states within your environment. This setup defines actions to be taken when conditions are met and with advanced configuration provides complete control of when an action should be taken for a given conditions. The conditions can be used in several ways and it’s very important to understand dependency of condition types.

    Please login or register to see this spoiler.

     

    Edited by cag014
    Guest Benrive
    Posted

    Hi @cag014,

     

    I'm testing with TTS, but I can't play anything on my Fire Tv Cube.

    I have this code in User_Data

    The Ip is static Fire tv cube 192.168.0.9

    SceneID zTTS = 157

    Please login or register to see this code.

     

    And I have this JM line to test.

    Light 116

     

    Please login or register to see this code.

     

    I dont have any change in zTTS Scene.

    And Loop String variable 1605547171 ( Don't Change )

     

    It's Corrent?

    4 minutes ago, cag014 said:

    Yes, there  are many options to set conditions, including ELSE statement 

    All-in-One supports conditions for entire line, individual action tables and inside commands.

    a) lineState – condition for entire jM line.

    b) trueActState – condition for actions defined in trueAct{} table

    c) falseActState – condition for actions defined in falseAct{} table

    d) initActState – condition for actions defined in initAct{} table

    e) timeoutActState – condition for actions defined in timeoutAct{} table 

    f) timeLoopActState – condition for actions defined in timeLoopAct{} table

    g) trigActState – condition for actions defined in trigAct{} table

    h) {"400", "turnOn", "{if 500:value=true}" } – condition inside action.

    Condition Settings define rules for devices, scenes, global and keyword states within your environment. This setup defines actions to be taken when conditions are met and with advanced configuration provides complete control of when an action should be taken for a given conditions. The conditions can be used in several ways and it’s very important to understand dependency of condition types.

    Please login or register to see this spoiler.

    I am going to start testing the actions individually, progressively I will try to include everything within the If-Else conditions, etc.
    I've only been with this for a few days

  • Topic Author
  • Posted
    1 minute ago, Benrive said:

    Hi @cag014,

     

    I'm testing with TTS, but I can't play anything on my Fire Tv Cube.

    I have this code in User_Data

    The Ip is static Fire tv cube 192.168.0.9

    SceneID zTTS = 157

    Please login or register to see this code.

     

    And I have this JM line to test.

    Light 116

     

    Please login or register to see this code.

     

    I dont have any change in zTTS Scene.

    And Loop String variable 1605547171 ( Don't Change )

     

    It's Corrent?

    Did you install zenitgatekeeper_0.1.651 on your Fire Tv Cube..

    To use it you need to follow

    Please login or register to see this link.

    Guest Benrive
    Posted (edited)
    7 minutes ago, cag014 said:

    Did you install zenitgatekeeper_0.1.651 on your Fire Tv Cube..

    To use it you need to follow

    Please login or register to see this link.

    No, I did not find any reference to that program. But I was understanding that the communication between Fibaro HC3 and Fire Tv was missing.
    Can it be installed directly on Fire TV or should it be on my phone?. I have Iphone and Apk not installer

    Edited by Benrive
    Guest Benrive
    Posted
    3 hours ago, cag014 said:

    It should reset the time, every time the command is executed previous states and timers are removed.

    What exactly doesn't work as expected? I mean am you explain what goes not according to what you need?

    The only scenario I can think of that when you have constant movement (motion sensor=true over 120 seconds) the lights won't turned OFF (as expected, right?)

    You could have an issue only when motion sensor breached exactly on time transition, for example at 22:00 o'clock. Two line are executed, but after two minutes only one line is active. samo on sunsetHour

    If you have an issue on transition time slots I suggest to shift the time slot at line two by one minute (60 seconds)

     

    Please login or register to see this code.

     

    Hello @cag014.

     

    I have and error witch conditional light {48:value=false|23:value<10}. dont work

    If i only put {23:value<10} working ok and {48:value<60|23:value<10} ok too.

     

    But I need to put a condition so that the motion sensor only acts in case it is not already turned on manually ( Scene 14 or Scene 16 ) One click or double click.

     

  • Topic Author
  • Posted
    5 hours ago, Benrive said:

    Hello @cag014.

     

    I have and error witch conditional light {48:value=false|23:value<10}. dont work

    If i only put {23:value<10} working ok and {48:value<60|23:value<10} ok too.

     

    But I need to put a condition so that the motion sensor only acts in case it is not already turned on manually ( Scene 14 or Scene 16 ) One click or double click.

     

    Oops, my bad also. Didn't pay attention to that...

    Guest Benrive
    Posted
    13 hours ago, cag014 said:

    Oops, my bad also. Didn't pay attention to that...

    But could you directly omit that parameter? Do you want me to change it? For example

     

    {48:"turnOn"|23:value<10} It's Correct?

  • Topic Author
  • Posted
    20 minutes ago, Benrive said:

    But could you directly omit that parameter? Do you want me to change it? For example

     

    {48:"turnOn"|23:value<10} It's Correct?

    No... you can execute commands inside condition statement.

    Posted

    Hi cag,

     

    I read this comment from you.

     

    Can you write for me a simple JM line? I try using Alexa to TTS, but I don't understand.

     

    Thank you, and wish you and your family Merry Christmas!

     

    Please login or register to see this attachment.

  • Topic Author
  • Posted
    6 minutes ago, SmartLifeSystems said:

    Hi cag,

     

    I read this comment from you.

     

    Can you write for me a simple JM line? I try using Alexa to TTS, but I don't understand.

     

    Thank you, and wish you and your family Merry Christmas!

     

    Please login or register to see this attachment.

    First of all you need to implement the

    Please login or register to see this link.

    ...  don't have any idea how it works... 

    @Kiamer can you provide more information about Alexa QA?

    Posted
    4 minutes ago, cag014 said:

    First of all you need to implement the

    Please login or register to see this link.

    ...  don't have any idea how it works... 

    @Kiamer can you provide more information about Alexa QA?

     

    I uploaded the SpeakMe_reserve QA. But I don't know how can I going on.

  • Topic Author
  • Posted
    21 minutes ago, SmartLifeSystems said:

     

    I uploaded the SpeakMe_reserve QA. But I don't know how can I going on.

    Do you have tested the QA? is it works?

    If it works just follow the instruction above for implementation in AOQ 

     

    Posted (edited)
    1 hour ago, cag014 said:

    Do you have tested the QA? is it works?

    If it works just follow the instruction above for implementation in AOQ 

     

     

    The QA don't send me debug message in the debug window. I think working.

    I add a JM line

     

    {0, "`diningLight`",{state="value=true",trueAct={"","tts","The dining light is turned on."}}},

     

    But when I turning On the dining light, de AOQ is restarting.

     

    I do something wrong?

     

    Here is my TTS function lines:

     

    Please login or register to see this image.

    /monthly_2021_12/image.png.826ad53be1229b1abbf9532c0cff3c5d.png" />

     

    Edited by SmartLifeSystems

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