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

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

    Hello @cag014

     

    I have already included many options, they are working perfectly for me. Even an alarm with a push message to the mobile phone if a window is open for more than 5 minutes and the heating is on.

    I'm loving All in One. Let's see when Zwave monitor in Hc3.

     

    The question:

    I am now with the Danalock door lock.
    I have bought a sensor for the door (it will arrive tomorrow).
    I want the lock to close when the sensor is detecting the door closed, the lock is open, and the motion sensor has not detected anything in 5 minutes.

     

    I have prepared this line, but I wouldn't be 100% sure, I don't want to risk it with the door of my house and something fails.

    I would even appreciate if you have any suggestions to improve it, in case communication failed or it could not be closed.

     

    cerraduraPuerta = Danalock door lock

    MovRecibidor = Sensor movement

    puertaEntrada = door sensor

     

    Please login or register to see this code.

     

    Thank's in advance

    1. As I understand the motion sensor located in side home, correct?

    2. could you post danalock properties... to verify the lock state (http://HC-IP/api/devices/<danalockID>)

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

    1. As I understand the motion sensor located in side home, correct?

    2. could you post danalock properties... to verify the lock state (http://HC-IP/api/devices/<danalockID>)

     

    Hello @cag014

    1. Yes the motion sensor in front of the door ( with this sensor I turn on the light in that room ).

    2. I didn't know that they could know that, and sometimes I wondered where I could get it.

    Please login or register to see this code.

     

    Edited by Benrive
  • Topic Author
  • Posted (edited)

    Your line looks OK, but please change timeoutAct to timeLoopAct

    Please login or register to see this code.

    the difference that in case of timeLoopAct after action executed the loop will be restarted again if the state doesn't change, so it will try to close the lock again and again ( of course according to IF conditions)

    few questions:

    Why you have 5 minutes condition for the door sensor also?

    Why you need to wait 5 minutes before closing the lock? Please pay attention that if from some reason someone will move continuously in front of the motion sensor, the lock will be open. As far as I know Danalock could be manually closed/open from inside very easy. 

     

    To add some security for your lock, please consider to add follow line (current set to 20 minutes)

    {20,"`cerraduraPuerta`",{state="value=false",timeLoopAct={"Danalock","sendPush","Danalock unsecured over 20 minutes"}}},

     

    Means to send an warning every 20 minutes if the lock is open continously

     

    In addition make sure the Danalock "value" works as you assume 

    false - the lock is open

    true - the lock is closed 

    the reason I ask you to verify, because there is another property called "secured" - might be this is the correct property to monitor the lock state

    secured=0 - lock open

    secured=1 - lock close.

     

    May be someone has Danalock and can share more info on that. 

     

    Since looks like you can identify the user that used the code here an extra idea to send notification to you who have opened the lock and entered - like "big brother" 

    Edited by cag014
  • Topic Author
  • Posted

    I do have similar setup for my front door as well (not Danalock, but electromechanics lock with solenoid). 

    Let me know if you interesting to review my concept

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

    Your line looks OK, but please change timeoutAct to timeLoopAct

    Please login or register to see this code.

    the difference that in case of timeLoopAct after action executed the loop will be restarted again if the state doesn't change, so it will try to close the lock again and again ( of course according to IF conditions)

    few questions:

    Why you have 5 minutes condition for the door sensor also?

    Why you need to wait 5 minutes before closing the lock? Please pay attention that if from some reason someone will move continuously in front of the motion sensor, the lock will be open. As far as I know Danalock could be manually closed/open from inside very easy. 

     

    To add some security for your lock, please consider to add follow line (current set to 20 minutes)

    {20,"`cerraduraPuerta`",{state="value=false",timeLoopAct={"Danalock","sendPush","Danalock unsecured over 20 minutes"}}},

     

    Means to send an warning every 20 minutes if the lock is open continously

     

    In addition make sure the Danalock "value" works as you assume 

    false - the lock is open

    true - the lock is closed 

    the reason I ask you to verify, because there is another property called "secured" - might be this is the correct property to monitor the lock state

    secured=0 - lock open

    secured=1 - lock close.

     

    May be someone has Danalock and can share more info on that. 

     

    Since looks like you can identify the user that used the code here an extra idea to send notification to you who have opened the lock and entered - like "big brother" 

     

    Thanks @cag014,

     

    The 5 minutes is to avoid if someone enters and for some oversight wants to leave at that very moment, we would prevent the lock from working at that moment. It's not fundamental but it seemed correct to me. ( I have deleted it )

     

    Last night I added a line to let me know if the door is open or the lock.

     

    Now I have included this 3 lines JM

     

    Please login or register to see this code.


    But I have a problem with ZWave coverage in that area and at this moment the door sensor tells me that it is open without changing its status.
    I have installed an Aeotec Range Extender but don't solve the problem.

     

    I can't use ZWave monitor in Hc3

     

    In the warning I would like to add the variable of the 20 minutes plus the real time that it has been open, but I have tried with the value $`puertaEntrada`>value / 60 minutes but I can't get it to work.

     

    In relation to the properties, I have a bit of a mess as you may have seen.
    Is there any way to make sure?, please
    When it is open or closed it returns = False or True ,to send that close i have  =Secure.
    It works, but I don't quite understand it.

    you can see the value it's true

    Please login or register to see this attachment.

    Can you see in picture. (The door is closed, I don't understand how long it will take to update its status. It's been like this for 2 hours. )

     

    Please login or register to see this image.

    /monthly_2022_01/image.png.72846bebae526a35cbc75e4586c8edcc.png" />

     

    In relation to the users, etc. I don't really understand what I could do with that... If you give me an example I'll try to implement it.

     

    Thank you very much for all your support, it is essential to be able to achieve many things

    8 hours ago, cag014 said:

    I do have similar setup for my front door as well (not Danalock, but electromechanics lock with solenoid). 

    Let me know if you interesting to review my concept

     

    Yes, I am open to anything that can be adapted to my particularities (I have a very particular house that is more than 200 years old and sometimes it is difficult to make changes)

    Edited by Benrive
    Posted

    Hi

    How to query multiple conditions?

    original

    {0, "`AbuirWZ`",{ state = "power < 2 ", trueAct = {" `AbuirWZ` "," turnOff ", ""}}}

     

    example???

    {0, "`AbuirWZ`",{ state = "power < 2  or  value = true and power > 8", trueAct = {" `AbuirWZ` "," turnOff ", ""}}}

     

    Many Thanks

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

    Hi

    How to query multiple conditions?

    original

    {0, "`AbuirWZ`",{ state = "power < 2 ", trueAct = {" `AbuirWZ` "," turnOff ", ""}}}

     

    example???

    {0, "`AbuirWZ`",{ state = "power < 2  or  value = true and power > 8", trueAct = {" `AbuirWZ` "," turnOff ", ""}}}

     

    Many Thanks

    There are many options to set conditions:

    for the entire line

    for every action table

    for every command in action table.

    Please refer to Setting Conditions in Advanced User Guide.

    I am a little bit confused about your example... I mean if there is any power then the value must be true anyway, right?

    Any how here an example - done with two lines

    {0, "`AbuirWZ`",{ state = "power < 2 ", trueAct = {" `AbuirWZ` "," turnOff ", ""}}},

    {0, "`AbuirWZ`",{ state = "power > 8 ", trueAct = {" `AbuirWZ` "," turnOff ", "if {`AbuirWZ`:value=true}"}}},

    Edited by cag014
    Posted

    It should only be an example. if < but also not > but in between then it should switch off.
    I thought that you could put down several conditions from versieden id so that you didn't have to write a lot of time for one thing.
    if you can write it in several times, then everything stays in one line.

  • Topic Author
  • Posted
    On 1/20/2022 at 10:16 AM, Benrive said:

    In the warning I would like to add the variable of the 20 minutes plus the real time that it has been open, but I have tried with the value $`puertaEntrada`>value / 60 minutes but I can't get it to work.

     

    Here an example for exact time

    Please login or register to see this code.

    On 1/20/2022 at 10:16 AM, Benrive said:

    you can see the value it's true

    Please login or register to see this attachment.

    Can you see in picture. (The door is closed, I don't understand how long it will take to update its status. It's been like this for 2 hours. )

    The table refreshed as defined in global user parameter (in user_data file)

    tblRefresh  = 600 --(seconds) table view refresh rate min 120 seconds. (0-disabled)
    While using  HC-WebEye press "Toggle" button to refresh the table manually to see latest values
    Note: the states and statuses of the devices are updated instantly inside the code, but not displayed immediately
    2 hours ago, parip69 said:

    It should only be an example. if < but also not > but in between then it should switch off.
    I thought that you could put down several conditions from versieden id so that you didn't have to write a lot of time for one thing.
    if you can write it in several times, then everything stays in one line.

    The state could have several conditions, but only for it is the same state (in your case you have states power and value). 

    Guest Benrive
    Posted (edited)
    On 12/21/2021 at 1:16 PM, Benrive said:

    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

     

    Hello,
    After installing and configuring, there is no way to get it to work.
    Does anyone know if it's possible to use TTS on an Alexa tv cube?.

     

    Always I see this error.

    Please login or register to see this attachment.

    Edited by Benrive
    Posted

    Hi

    I have another question. this doesn't work.

    Please login or register to see this code.

     

    How can I achieve in the lineState = that I have a multiple condition with and or or?

    thank you

     

  • Topic Author
  • Posted
    2 hours ago, parip69 said:

    Hi

    I have another question. this doesn't work.

    Please login or register to see this code.

     

    How can I achieve in the lineState = that I have a multiple condition with and or or?

    thank you

     

    You are missing state definition - means when this line should be triggered.

    Like that

    {0, "`AbuirWZ`",{state="true", lineState ={"{`AbuirWZ`:power > 2 |`AbuirWZ`:value=true}"},trueAct ={" `AbuirWZ` "," turnOff ", ""},falseAct={" `AbuirWZ` "," turnOn ", ""}}},

     

    If the state is not relevant please use trigAct - means on any change at any property the line will be triggered.

    Something like that

    {0, "`AbuirWZ`",{lineState ={"{`AbuirWZ`:power > 2 |`AbuirWZ`:value=true}"},trigAct ={" `AbuirWZ` "," turnOff;else;turnOn "}}},

    Posted

    Hi

     

    Unfortunately I get this line in the debug.

    {0, "`AbuirWZ`",{lineState ={"{`AbuirWZ`:power > 2 |`AbuirWZ`:value=true}"},trigAct ={" `AbuirWZ` "," turnOff;else;turnOn "}}},

    Please login or register to see this code.

     

    what could be wrong?

  • Topic Author
  • Posted (edited)
    45 minutes ago, parip69 said:

    Hi

     

    Unfortunately I get this line in the debug.

     

           {0, "`AbuirWZ`",{lineState ={"{`AbuirWZ`:power > 2 |`AbuirWZ`:value=true}"},trigAct ={" `AbuirWZ` "," turnOff;else;turnOn "}}},

    Please login or register to see this code.

     

    what could be wrong?

    Sorry my bad... should  be 

     

       {0, "`AbuirWZ`",{trigActState={"{`AbuirWZ`:power > 2 |`AbuirWZ`:value=true}"},trigAct={" `AbuirWZ` "," turnOff;else;turnOn"}}},

    or

       {0, "`AbuirWZ`",{trigAct={" `AbuirWZ` "," turnOff;else;turnOn","{`AbuirWZ`:power > 2 |`AbuirWZ`:value=true}"}}},

    Edited by cag014
    Guest Benrive
    Posted

    Hello @cag014.

     

    I have a challenge that I can't figure out how to do.

     

    I have 8 RGBW Fibaro 2.

     

    They are configured in HSB Mode, ( only Input 3 by means of a button Turns On, Turns Off and  brightness ).

     

    Please login or register to see this image.

    /monthly_2022_01/image.png.d16e8d8ed04c450239316ff1f2381b15.png" />

     

    When Push momentary switch send scene 1 click 

    I've tried blocky scenes, but they're really bad.

     

    image.png.b85157ca6f53c4598578015f8eaf3cac.png

     

    From the inputs you can't do anything with the colors (That's how I want it to be).

     

    These lights are ambient and illuminate walls about 8 meters high. ( It is a historic house )


    I would like the color to change, if something like the circadian cycle is possible (If it can't be, try to do it for hours and the brightness also adjusts to the amount of lumens (I have Aeotec sensors in the corridors).

     

    Any idea how to make something nice?

     

    Let's say this would be the prettiest part of the house.

     

    Thank's in advance , I think that is very dificult.

    Guest Benrive
    Posted

    Hello  @cag014

     

    I have bought another HC3, due to the way my house is, I have coverage problems in the Z wave network, I bought 2 Aeotec Range extender 7 but they hardly solve anything.

    Once I receive it, I have to link it to the master that will be the one I currently have.
    But I have doubts about how the JM lines will work, do I have to leave them in the master or pass them to the new slave?

    Can you guide me a bit with this?

  • Topic Author
  • Posted (edited)
    4 hours ago, Benrive said:

    Hello  @cag014

     

    I have bought another HC3, due to the way my house is, I have coverage problems in the Z wave network, I bought 2 Aeotec Range extender 7 but they hardly solve anything.

    Once I receive it, I have to link it to the master that will be the one I currently have.
    But I have doubts about how the JM lines will work, do I have to leave them in the master or pass them to the new slave?

    Can you guide me a bit with this?

    Why you need to link the new HC3 ? AOQ could work with both systems without Fibaro Master/Slave option.

    If you have decided to use Fibaro's slave configuration then M lines must be in master HC3.

    Since you're the first user using two HC3 as master/slave I hope AOQ will work as expected. 

    Let me know if it doesn't work and I'll make the changes.

    Edited by cag014
  • Topic Author
  • Posted
    On 1/26/2022 at 9:51 AM, Benrive said:

    Hello @cag014.

     

    I have a challenge that I can't figure out how to do.

     

    I have 8 RGBW Fibaro 2.

     

    They are configured in HSB Mode, ( only Input 3 by means of a button Turns On, Turns Off and  brightness ).

     

    Please login or register to see this link.

     

    When Push momentary switch send scene 1 click 

    I've tried blocky scenes, but they're really bad.

     

    Please login or register to see this link.

     

    From the inputs you can't do anything with the colors (That's how I want it to be).

     

    These lights are ambient and illuminate walls about 8 meters high. ( It is a historic house )


    I would like the color to change, if something like the circadian cycle is possible (If it can't be, try to do it for hours and the brightness also adjusts to the amount of lumens (I have Aeotec sensors in the corridors).

     

    Any idea how to make something nice?

     

    Let's say this would be the prettiest part of the house.

     

    Thank's in advance , I think that is very dificult.

    As I understand the RGBW will be triggered by sensors in the corridors?  Where the RGBW lights located ? In the living room?

     

     

    Guest Benrive
    Posted (edited)

     

    2 hours ago, cag014 said:

    Why you need to link the new HC3 ? AOQ could work with both systems without Fibaro Master/Slave option.

    If you have decided to use Fibaro's slave configuration then M lines must be in master HC3.

    Since you're the first user using two HC3 as master/slave I hope AOQ will work as expected. 

    Let me know if it doesn't work and I'll make the changes.

     

    I don't necessarily need to configure master and slave.
    What I need is to expand the coverage of the Zwave network and have everything to manage from one place.
    If I don't put them as master and slave, I will have 2 networks to link the devices to but they won't see each other. I'm right?

    1 hour ago, cag014 said:

    As I understand the RGBW will be triggered by sensors in the corridors?  Where the RGBW lights located ? In the living room?

     

     

    No, RGBW will be triggered by momentary switch only for ON/Off And Adjust brightness.

     

    RGBW are for the walls in the entrance hall and in 2 hallways where I have very high ceilings.
    In these corridors I have 2 lamps with Dimmer 2, motion sensor and push buttons to turn on both dimmer 2 and RGBW 2

    The idea is to program some lines in AOQ so that they are activated at to become night and deactivated at sunrise.

    But with the possibility of turning off and on from the physical button.

    Edited by Benrive
  • Topic Author
  • Posted
    Just now, Benrive said:

     

     

    I don't necessarily need to configure master and slave.
    What I need is to expand the coverage of the Zwave network and have everything to manage from one place.
    If I don't put them as master and slave, I will have 2 networks to link the devices to but they won't see each other. I'm right?

    Yes, if they are not master/slave... in case of master/slave only master HC3 will see al devices.

    I have seen many posts about master/slave issues... so may be as a first step use AOQ to control both HC3 - AOQ does see all device on both HC3

    You can do better and to run  AOQ on every HC3 and yes, you can use and define any device of any HC3  in both AOQs 

     

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