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

Posted
Vor 6 Stunden sagte Benrive:

Please login or register to see this code.

Unfortunately, it didn't work. The 508 is a light. 

Thanks in advance. 

Guest Benrive
Posted
6 hours ago, parip69 said:
13 hours ago, Benrive said:

Please login or register to see this code.

Unfortunately, it didn't work. The 508 is a light. 

Thanks in advance. 

Hello @parip69,

 

It doesn't work, because we have set a range of hours where an action must occur in order to work, what you must do is define when you want it to turn on and when to turn it off. One solution would be this

 

Try This.

 

Please login or register to see this code.

 

Guest Benrive
Posted
On 3/13/2022 at 1:19 AM, cag014 said:

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

 

Hello @cag014


I hope you are enjoying your vacation.
By the time you come back, tell you that I have already solved the geofending problem.
I deleted the user and created it from the Fibaro Login website so that it would have a FibaroID. This way it works perfectly.

Please login or register to see this attachment.


I have created 2 Location for 400m and 150m so I can make sure and get much closer to what I want to control.

To rest that you have well deserved for sure

Posted
6 hours ago, Benrive said:

Hello @parip69,

 

It doesn't work, because we have set a range of hours where an action must occur in order to work, what you must do is define when you want it to turn on and when to turn it off. One solution would be this

 

Try This.

 

Please login or register to see this code.

 

Hi

Unfortunately a syntax error with the timeSlot. 

I just want to turn on one light in a timeSlot otherwise turn it off again. 

 

Guest Benrive
Posted
7 hours ago, parip69 said:

Hi

Unfortunately a syntax error with the timeSlot. 

I just want to turn on one light in a timeSlot otherwise turn it off again. 

 

Can you send a screenshot of the error?.

I have tested it on a light of mine and it works correctly.  also send me a screenshot of the device on the device screen please

Posted

Hi. 

The syntax error was with the Hc2 The Hc3 is not an error but did not work as desired. 

Wrote a script and that in 5 minutes I just wanted to try. 

Thanks for the effort. 

Guest Benrive
Posted
2 hours ago, parip69 said:

Hi. 

The syntax error was with the Hc2 The Hc3 is not an error but did not work as desired. 

Wrote a script and that in 5 minutes I just wanted to try. 

Thanks for the effort. 

Ok, I only have Two Hc3. Sorry

  • Topic Author
  • Posted (edited)

    Hi,

    Yes, when you use several times true and false inside timeSlot on HC2 it fails with syntax error... thanks for finding that!

    Have fixed the error and will be part of AOS next release.

    Meanwhile you can use the old (traditional) syntax 

    Please login or register to see this code.

    You have stated that

    The Hc3 is not an error but did not work as desired. 

    In order to fix the bug on HC3, could you please explain what doesn't work as desired?

     

    Edited by cag014
    Guest Benrive
    Posted (edited)
    On 3/9/2022 at 1:57 PM, Benrive said:
    On 3/9/2022 at 12:50 PM, 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

     

    Hello @cag014, welcome back from your vacation.

     

    I hope you have a good vacation and you can disconnect, I am not working due to a complicated operation on one eye but I think they make me work even more. ?

     

    When you can, could you give me an example, I wouldn't know where to start to be able to see the variables from the App on iphone.

     

    In other way.

     

    Yesterday GeoAction worked wonderfully when my wife came home, but this morning when she left she has not detected it, nor has she obviously been able to change the variable to 0

     

    I have like 5 Jm lines to verify if it works, then obviously I will leave only the necessary ones.

     

    Please login or register to see this code.

    And test for it.

     

    Please login or register to see this code.

     

    EDIT: 24/03

     

    Now solved, at the moment anyway i think yubii geofending and iphone doesn't work very well

    Edited by Benrive
    Posted (edited)
    On 3/22/2022 at 12:50 AM, cag014 said:

    Hi,

    Yes, when you use several times true and false inside timeSlot on HC2 it fails with syntax error... thanks for finding that!

    Have fixed the error and will be part of AOS next release.

    Meanwhile you can use the old (traditional) syntax 

    Please login or register to see this code.

    You have stated that

    The Hc3 is not an error but did not work as desired. 

    In order to fix the bug on HC3, could you please explain what doesn't work as desired?

     

    Hi.

    In the HC2 it works with the old syntax. In the HC3, it's also trying to work with all the attempts. Thanks

     

    The syntax of the HC2 is not the same as the HC3?

    Edited by parip69
  • Topic Author
  • Posted
    8 hours ago, parip69 said:

    Hi.

    In the HC2 it works with the old syntax. In the HC3, it's also trying to work with all the attempts. Thanks

     

    The syntax of the HC2 is not the same as the HC3?

    Should be the same, but as I said - bug has been found and next release of HC2 will be the same

    Guest Benrive
    Posted

    Hello @cag014.

     

    I have this error, I have copied the complete code of the last AOQ main that you gave me but it keeps coming up.

    Because it can be?.

     

    Please login or register to see this image.

    /monthly_2022_03/image.png.19ee75bf53b344072fde51022b16a3c1.png" />
    It comes out after I modified the user_data but I really don't know what it is due to,

    Line 578 was commented out, it lets me continue but I imagine it will be necessary.

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

    Hello @cag014.

     

    I have this error, I have copied the complete code of the last AOQ main that you gave me but it keeps coming up.

    Because it can be?.

     

    Please login or register to see this link.


    It comes out after I modified the user_data but I really don't know what it is due to,

    Line 578 was commented out, it lets me continue but I imagine it will be necessary.

    Yes, I have seen this error also  after last update... but it happens only after restarting the system not by changing the user_data file

    Will fix that, meanwhile you can keep that remarked... this line shows the LED statuses (nothing serious)

    Guest Benrive
    Posted

    Hello @cag014

     

    could you give me an example of how to see the status of the variables in Yubii?  I understand that with a virtual button nail but I would not know where to start.  Also in my case all the variables are created in string inside a global variable in AOQ.

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

    Hello @cag014

     

    could you give me an example of how to see the status of the variables in Yubii?  I understand that with a virtual button nail but I would not know where to start.  Also in my case all the variables are created in string inside a global variable in AOQ.

    Do you mean Yubii  App on phone

    Please login or register to see this spoiler.

     

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

    Do you mean Yubii  App on phone

    Please login or register to see this spoiler.


    No, I have 2 HC3s, the ones that have given us so much trouble.  What I would like is to be able to see the variables in the yubii App, just as I can see a light or a sensor and know when its last state change was.

     

    This my variables.

    I explain them:

     

    Please login or register to see this image.

    /monthly_2022_03/image.png.75718b358aaf868e1b53c867cffa2e36.png" />

     

    GPSBenja,GPSMaria,GPSSofia It is a numeric variable that can have 0,1,2.

    They all work with geoaction.

     

    I have 2 locations, one for 400 meters and one for 150 meters

    value 2  less than 400 meters  ( In home )

    value 1 between 150 and 400 meters

    value 0 less than 150 ( In home ), It won't let me put less than 150 meters in fibaro location

    I don't know if putting less in AOQ with $geoRadius would work.

     

    This line for example  when state=enter 

    Please login or register to see this code.

     

    The other variables are for sending push .

    DepositoFull  is a Dehumidifier tank  numeric 0= empty 1= full

    It works with a JM line detecting a period when the consumption is less than 100w

     

    LockStatus Is a State of SmartLock 0= Open 1=Close.

    I need this variable, because danalock doesn't work as expected and has trouble detecting its state.

    So I control it with the variable forcing the closed state LockStatus = 1 using timeLoopAct and trueAct with certain conditions.

     

    These variables would be separated from the others, in another virtual for example.

     

    I don't know if it is possible from the App to change the state, for example, in case geofending fails, I can change the state since I use it as a condition for the fingerprint door opener to authorize the opening of the door.

    It only opens if GPSStatus of any of us is = 2

     

    Edited by Benrive
  • Topic Author
  • Posted (edited)
    On 3/25/2022 at 9:45 AM, Benrive said:

    I don't know if putting less in AOQ with $geoRadius would work.

     

    NO, it won't work. The trigger comes from HC3 when the defined distance breached.

    Regrading all other actions, yes it could be done but since you want to change the status of users' Geofencing I suggest to use system's global variables and not local (to simplify the process)

    I will post QuickApp based on global variables for you

    Edited by cag014
    Posted

    Hi cag! How can we use in the AOQ the winter/summer time? I have one line, but in the summer time it works it uppside down, because in summer time the timslot end time is before then the start time. In Hungary the sunset hour now 19:06.

     

    Here is the line:

     

    {0"`hallMS`",{state="value=true",timeSlot="$sunsetHour~19:00",trueAct={{"`hallLight`","turnOn","","{`hallLight`:value=false}"},{"`hallLight`","turnOff","","={`livingroomMS`:value=true|`hallLight`:value=true|`hallMS`:lastBreached>60|&HallLight:value=Automatic}"}}}},
    Guest Benrive
    Posted
    On 3/26/2022 at 1:18 PM, cag014 said:

    NO, it won't work. The trigger comes from HC3 when the defined distance breached.

    Regrading all other actions, yes it could be done but since you want to change the status of users' Geofencing I suggest to use system's global variables and not local (to simplify the process)

    I will post QuickApp based on global variables for you

    Thank you very much @cag014.

    you are a great help and better person

    A bit of my story and my thanks

     

    20 years ago I started with home automation in my first house.  Back then there were hardly 2 or 3 systems to do something similar.  Simón Vis, KNX and little else.  But they were very closed systems and little variable.  I chose at that time that I was an Omron PLC programmer and did everything with two-wire wiring with a system called Compobus.  Then I designed the house with 3D Home rendered to insert images on a touch screen that I placed at the entrance of the house.  That took a number of hours that today would be priceless.  He managed to do real wonders with that and the wired system was foolproof and terribly fast.  But I can assure you that the comfort that now exists with this system is magnificent, although it is true that the HC3 sometimes hangs and does not respond.  Your All in One utility speeds up everything a lot, and above all, in a matter of a few weeks you master enough to solve the vast majority of issues.  I'm telling you all this because I understand the work and effort involved on your part in a disinterested way.  thank you and thank you

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

    Hi cag! How can we use in the AOQ the winter/summer time? I have one line, but in the summer time it works it uppside down, because in summer time the timslot end time is before then the start time. In Hungary the sunset hour now 19:06.

     

    Here is the line:

     

    {0"`hallMS`",{state="value=true",timeSlot="$sunsetHour~19:00",trueAct={{"`hallLight`","turnOn","","{`hallLight`:value=false}"},{"`hallLight`","turnOff","","={`livingroomMS`:value=true|`hallLight`:value=true|`hallMS`:lastBreached>60|&HallLight:value=Automatic}"}}}},

    Hello,


    here the really important thing is to know how you want to do it.  You could subtract minutes from sunset time, or delay the shutdown in summer.  But what do you really want to do?

    Edited by Benrive

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