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

    The question is if device ID=326 is on the slave?

    Where your scene runs (slave or master)?

     

    Guest Benrive
    Posted (edited)

     

    30 minutes ago, cag014 said:

    I've went through files of your configuration and I am confused.

    LuzDPrincipal with id=327 is a device located on your slave, while LuzMarina with id=96 is the same device located on your master, is it correct?

    Yes, Its Correct ,but I have all devices visible on the Master

    Master and slave communicate through LAN Rj45

    Please login or register to see this image.

    /monthly_2022_03/image.png.2d9e1d32b394166eea99afc8732b8531.png" />

    30 minutes ago, cag014 said:

    If my observations are correct, LuzDPrincipal is not a valid device for AOQ. (you probably have some other device ID=327 on your master, otherwise AOQ should fail)

    No, when you add devices even if you link them to the slave, assign ID on the Master different. look at an example

    The devices in blue color at left of icon Master ( M ), and Orange or red color its in slave (S)

    image.png.d06aebc97600904b6a042a28e1c57744.png

    20 minutes ago, cag014 said:

    The question is if device ID=326 is on the slave?

    Where your scene runs (slave or master)?

     

    In the master, in the slave practically nothing can be configured, there are no scenes.

     

     

    The Slave Config.

     

    image.png.76fd5ac8fce05914eed82c1ec1c25ef4.png

    Edited by Benrive
  • Topic Author
  • Posted

    I think I understand what happens...

    The events of slave probably comes in one batch 

    When you press the switch the device turns ON by himself, so the state=true.

    In master first of all I receive sceneActivation and the state is still false.

    It's may be a long shot but try attached version (executes commands event by event)

     

     

     

    Please login or register to see this attachment.

    Guest Benrive
    Posted
    22 minutes ago, cag014 said:

    I think I understand what happens...

    The events of slave probably comes in one batch 

    When you press the switch the device turns ON by himself, so the state=true.

    In master first of all I receive sceneActivation and the state is still false.

    It's may be a long shot but try attached version (executes commands event by event)

     

     

     

    Please login or register to see this attachment.

     

    YESSSSSSSSSS,

    Please login or register to see this attachment.

     

    Now that it works, which one would be more convenient to use?.

     

    Please login or register to see this code.

     

    Please login or register to see this code.

     

  • Topic Author
  • Posted

    is the follow line works also?

    {0,"`MandoDPrincipal`",{state="+sceneActivation=16",timeSlot="08:01~22:59",trueAct={"`LuzDPrincipal`","setValue,5","if{`LuzDPrincipal`:value>5} or {`LuzDPrincipal`:state=false}"}}},

  • Topic Author
  • Posted (edited)

    Since by activating the scene, the device turns ON or OFF, I think to rely on events chain could be wrong. I believe at some point you could miss the action

    I think this could be better and more simple  solution 

     

    Please login or register to see this code.

    Please login or register to see this code.

     

    In addition dealing with events one by one cause some delays on overall command execution of the jM lines.

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

    is the follow line works also?

    {0,"`MandoDPrincipal`",{state="+sceneActivation=16",timeSlot="08:01~22:59",trueAct={"`LuzDPrincipal`","setValue,5","if{`LuzDPrincipal`:value>5} or {`LuzDPrincipal`:state=false}"}}},

    Yes, this works too.  it was already working before making the last change to AOQ V12

    12 minutes ago, cag014 said:

    Since by activating the scene, the device turns ON or OFF, I think to rely on events chain could be wrong. I believe at some point you could miss the action

    I think this could be better and more simple  solution 

     

    Please login or register to see this code.

    Please login or register to see this code.

     

    In addition dealing with events one by one cause some delays on overall command execution of the jM lines.

    Now I change all the lines back to how I had them.  Thanks

    Guest Benrive
    Posted (edited)

    Hello again @cag014


    This using a few variables to control when the door lock opens or closes.

    ( I need to control by variable, because the Danalock lock does not always update its status ).

    Through the door sensor and the movement sensor, I make sure that it is always closed


    My intention is to know when it is open or closed, and also using a variable for person and GeoAction, to know if we are in the area of the house or not.
    If we are in the area (Anyone in the family).
    The routine would be
    We are in a radius of 20 meters and the fingerprint sensor is ok. Open door.


    I more or less have it done, but GeoAction only detects me. ( User:Benja )

     

    User_Data Configuration.

    Now I have only put 2, but we are 5 people

    Please login or register to see this code.

    Please login or register to see this attachment.

     

    Variables Configuration.

    GPSBenja/GPSMariAsun  ( O Out 1 In Home )

    Lockstatus ( 0= Open 1 = Close

     

    Please login or register to see this code.

    General Variable

    Please login or register to see this attachment.

     

    Please login or register to see this code.

     

    Jm Lines to change variables.

    Lockstatus It changes well when we open and when it closes automatically.

     

    It's Ok ?

    I have tried with GeoUser and GeoUserId with the same result

    GeoFending It's ON and always allow in configuration ( Have Iphone and yubii 1.15.1 )

    GPSBenja works fine, but my wife's never changes.

    I have looked at the yubii configuration several times and it is correct.

     

    Please login or register to see this code.

     

    GPSBenja hasn't changed, but because I've just had an eye operation and I can't leave the house.

    But when I have left, I have received the mail (you will see it in the test lines below)

     

    Please login or register to see this image.

    /monthly_2022_03/image.png.7bc8bd3f0eb93a6224057be603fa3f46.png" />

     

    This JM lines It's for a test.

     

    Please login or register to see this code.

     

    Another question. Would it be possible from yubii to manage the variables to know who is at home?

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

    I more or less have it done, but GeoAction only detects me. ( User:Benja )

     

    That's strange, my HC3 detects all 4 users. I believe you did activate Geofencing on the mobiles?

     

    3 hours ago, Benrive said:

    Now I have only put 2, but we are 5 people

    Please login or register to see this code.

    If the user names in configuration are the same you don't need to redefine them. It useful for HC2 where user ID must be an email.

     

    3 hours ago, Benrive said:

    Another question. Would it be possible from yubii to manage the variables to know who is at home?

    What do you mean from Yubii? Is it means the variables will be in Yubii?

    Guest Benrive
    Posted
    1 hour ago, cag014 said:

    That's strange, my HC3 detects all 4 users. I believe you did activate Geofencing on the mobiles?

    Yes, Geofencing ON and Permision Always 

    1 hour ago, cag014 said:

    If the user names in configuration are the same you don't need to redefine them. It useful for HC2 where user ID must be an email.

    Ok, I can comment This Line?. True ?

    1 hour ago, cag014 said:

    What do you mean from Yubii? Is it means the variables will be in Yubii?

    I would like to be able to see in yubii app on iPhone, the status of each one of us

  • Topic Author
  • Posted

    1. To test the Geofencing, crate a block scene with other user. Let see if it works

    2. Yes, you can comment this line

    3. Of course you can see variables on Yubii, or create QuickApp with labels to display the variables values (status)

     

    Posted

    @cag014

    how do you read Geofencing in HC3 (apis)? Thanks P.

  • Topic Author
  • Posted
    11 minutes ago, petrkl12 said:

    @cag014

    how do you read Geofencing in HC3 (apis)? Thanks P.

    refreshStates api.

     

    Type of the event is "GeofenceEvent"

    • Thanks 1
    Posted

    Thanks, Interesting because I don’t have this event in my HC3 and everything is allowed in my mobile phones/ipads…

  • Topic Author
  • Posted

    What do you mean you don't have this event?

    How do you see events?

    Guest Benrive
    Posted (edited)
    On 3/9/2022 at 11:25 PM, cag014 said:

    1. To test the Geofencing, crate a block scene with other user. Let see if it works

    2. Yes, you can comment this line

    3. Of course you can see variables on Yubii, or create QuickApp with labels to display the variables values (status)

     

    1. I have created 2 scenes, but they have not worked either.  only the one created with my name works.  I have checked my wife's mobile and everything is the same as mine


    could it be a bug in the HC3 version?.

    2. Perfect

    3. How is it done? Could you give me an example?

    Edited by Benrive
  • Topic Author
  • Posted
    On 3/10/2022 at 9:00 AM, Benrive said:

    1. I have created 2 scenes, but they have not worked either.  only the one created with my name works.  I have checked my wife's mobile and everything is the same as mine


    could it be a bug in the HC3 version?.

    2. Perfect

    3. How is it done? Could you give me an example?

    I am currently on vacation... will be back on Mar-23

    Guest Benrive
    Posted
    19 hours ago, cag014 said:

    I am currently on vacation... will be back on Mar-23

    enjoy and rest on your vacation

    Posted

    Hi

    I would like to switch on a device with the id 508 at these times.
    what am I doing wrong.
    can someone help me with an example?

    Please login or register to see this code.

     

    Guest Benrive
    Posted
    5 hours ago, parip69 said:

    Hi

    I would like to switch on a device with the id 508 at these times.
    what am I doing wrong.
    can someone help me with an example?

    Please login or register to see this code.

     

    Hello ,

     

    It is necessary that you indicate what you want to do and what devices to use.

    What device is 508?.

    If you want that device to switch to TurnOn , without there having to be an action during those periods, you should put something like this. Try and tell me.

    Please login or register to see this code.

     

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