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

Jan,

I have some problems wit internet connection or provider or my router

This didt work last night when we lost internetconnection something wrong?

The rule @07:24 didt report in debug

Please login or register to see this code.

Thanks in advance,

//Sjakie

Link to comment
Share on other sites

Jan,

I still have growing memory!

-is it possible that ER can do a backup and 5 min later a restore?

-ER can delete history with API but I dont know how

PLease make the rule for me.

Thanks,

//Sjakie

Link to comment
Share on other sites

  • Topic Author
  • This will not work

    Please login or register to see this code.

    because if you trigger on time (@07:24) you can't trigger on an event (#onlineEvent).

    Link to comment
    Share on other sites

    Jan ok that rule was for me to see this morning is it working, now I understand it is not.

    But in debug there was no info at the time the internet connection was missing according Fibaro email at 2:27

    So there is something not good?

    //Sjakie

    Link to comment
    Share on other sites

    • 2 weeks later...

    Jan,

    stekkersVertraagdOff= wcdDelayedOff (plug)

    If we leave home there will be a delayed post (if the wassing is busy he can finish the program)

    Please login or register to see this code.

    How I can kill this delayed post if we return before the 02:15 is passed?

    If we come after the post is triggered it will be switched on by out pre

    Thanks in advance,

    //Sjakie

    Link to comment
    Share on other sites

  • Topic Author
  • 27 minutes ago, Sjakie said:

    Jan,

    stekkersVertraagdOff= wcdDelayedOff (plug)

    If we leave home there will be a delayed post (if the wassing is busy he can finish the program)

    Please login or register to see this code.

    How I can kill this delayed post if we return before the 02:15 is passed?

    If we come after the post is triggered it will be switched on by out pre

    Thanks in advance,

    //Sjakie

     

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    Hi again :)

     

    How is the function fibaro.callUI(1101,  'onReleased', 'button1') implemented please ?  (function taken from converting a block scene to LUA)

     

    I am trying to press the buttons on a QA from ER4 rules.  The id:btn=1 does nothing and i could not find how to do it :(

     

    Thank you  :) 

     

     

     

    Link to comment
    Share on other sites

  • Topic Author
  • 1 hour ago, Momos said:

    Hi again :)

     

    How is the function fibaro.callUI(1101,  'onReleased', 'button1') implemented please ?  (function taken from converting a block scene to LUA)

     

    I am trying to press the buttons on a QA from ER4 rules.  The id:btn=1 does nothing and i could not find how to do it :(

     

    Thank you  :) 

     

     

     

    fibaro.callUI seems to be a new function only available in scenes.

    Must be based on /plugins/callUIEvent.

    I thought the idea was to call QuickApp actions but I guess it's not compatible with old plugins

    Here is a version you can add to the QuickApp.

    Please login or register to see this code.

    You can then do

    Please login or register to see this code.

     

    • Like 1
    Link to comment
    Share on other sites

    Thank you @jgab.  Added one more ")" at the end and its working :) 

     

    Is there any cleaner way to press a button from another QA ? 

     

     

     

     

    Link to comment
    Share on other sites

  • Topic Author
  • 14 hours ago, Momos said:

    Thank you @jgab.  Added one more ")" at the end and its working :) 

     

    Is there any cleaner way to press a button from another QA ? 

     

    Usually a button is tied to a (user) defined QuickApp function. and that function can be called with fibaro.call(QAid,<name>). However I guess that may not be supported by older plugins.

    Link to comment
    Share on other sites

    Jan, what I am doing wrong?

    Please login or register to see this code.

    This rule is executed its out of the time frame?

    Please login or register to see this code.

    Please advice

    //Sjakie

    Link to comment
    Share on other sites

  • Topic Author
  • Please login or register to see this code.

    19.00..23:00 is interpreted as 00:00:19..23:00 (19s over midnight to 23:00)

    At least one of your openVan* was true too.

    Link to comment
    Share on other sites

    Ok I see my stupid mistake.

    openVan I doubt according app door last change yesterday.

    I will solve different I will add 21:disarmed too so it will be more relayable

    Thanks Jan,

    //Sjakie

    Link to comment
    Share on other sites

    Hi @jgab

     

    My Eventrunner4 QA starts crashing - the old ones seems to run, but the new fails.

    I tried everything - and as soon i ad just one line(that used to word) it crash. 

    Right now i have around 80 rules that stopped working, and I have no ide.

    I could really use some assistance. 

    Please login or register to see this code.

    Please login or register to see this image.

    /monthly_2021_09/2021-09-18_15-21-51.png.6928e996b0a677a911d7d29147daf91c.png" />

     

     

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    What is different with the old one?

    Please login or register to see this code.

    //Sjakie

    Link to comment
    Share on other sites

    18 hours ago, Sjakie said:

    What is different with the old one?

    Please login or register to see this code.

    //Sjakie

    Its strange what happend - but i follow you now

    What about this? This also used to work . but now i got tokenizer failed at  & keyPrim 

     

    i looks like that central.keyId is not working anymore

     

    Please login or register to see this code.

    matrix4Alarm = 439 -- Device for (Dis)arming the alarm
    rule([[matrix4Alarm:central & keyPrim =>
         post({type=fmt('%s_%s_%s',keyPrim,matrix4Alarm:central.keyId,matrix4Alarm:central.keyAttribute)}); 
         keyPrim=nil
    ]])
    Edited by ChristianSogaard
    P
    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...