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
  • 8 hours ago, Sjakie said:

    I am surprised that fasted is having so Manny dead devices.

    I was expecting that all my devices should be dead but I have zero dead devices.

    Note:

    My HC3 is in the livingroom, all my devices are boxed (not connected) or must my device status becomes dead for the becomes true?

    If they are not connected I guess they are not listed with api.get("/devices?interface=zwave")

    ...or do you say that they show up in the HC3 GUI as dead/live?

    Link to comment
    Share on other sites

  • Topic Author
  • 17 hours ago, fastvd said:

    the rule is cool, but it would be good if it issued only on a rooted device (Parent)... otherwise, in such an edition, it ALL pours...


     

    Please login or register to see this code.

    This filter and only keep devices with root parent, visible and enabled.

    Edited by jgab
    Link to comment
    Share on other sites

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

     

    Link to comment
    Share on other sites

    19 minutes ago, jgab said:

    Please login or register to see this code.

     

    a have error

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    47 minutes ago, jgab said:


     

    Please login or register to see this code.

    This filter and only keep devices with root parent, visible and enabled.

    I put this function at the top of the main tab, where all the functions are additional.. and it also gives me an error (((

     

    Please login or register to see this image.

    /monthly_2022_09/image.png.93cd85e933758b5c95407c426be435f6.png" />

    Link to comment
    Share on other sites

  • Topic Author
  • 1 hour ago, fastvd said:

    I put this function at the top of the main tab, where all the functions are additional.. and it also gives me an error (((

     

    Please login or register to see this link.

    No, you need to put it inside main(), in the beginning

    Link to comment
    Share on other sites

    9 hours ago, jgab said:

    No, you need to put it inside main(), in the beginning

    I understand...I did!

     

    Please login or register to see this attachment.

    11 hours ago, fastvd said:

    a have error

    Please login or register to see this attachment.

    ???

    Link to comment
    Share on other sites

    Jan, excellent now I see a Hugh list of dead devices.
    Thanks for this awesome tool.

    Question is summer/winter time already standard in ER so I can remove mine from main in all QA's?

    Link to comment
    Share on other sites

  • Topic Author
  • No, what is the code you are using now?

    Link to comment
    Share on other sites

    Jan, can you show how to correctly write the function and the rule about dead devices?

    Link to comment
    Share on other sites

    Jan this code you provide long ago

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    Jan, may I bother you with iCall question?

    iCall version v0.11 id=1998

    I see in iCall 2 events for next Friday so far so good

    How to import in ER QA id=1906?

    1998  sends "events" to  1906 and in 1906 I see events received

    Rule.eval([[@07:30 =>

    list all events of this day

    ]])

    Thanks in advance

     

    Link to comment
    Share on other sites

    On 9/7/2022 at 11:18 AM, jgab said:

    No, you need to put it inside main(), in the beginning

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

  • Topic Author
  • inside function QuickApp:main() - like on ~line 48 in your screen shot.

    Link to comment
    Share on other sites

    17 hours ago, jgab said:

    inside function QuickApp:main() - like on ~line 48 in your screen shot.

     

    no matter where I put this code - it gives an error!
    please tell me clearly where to insert it!

    Please login or register to see this attachment.

    Please login or register to see this attachment.

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

  • Topic Author
  • Sorry, you are in the right place (QuickApp:main() )

    but there was a spelling error. It should be fibaro.utils.reduce - with and 's'

    Link to comment
    Share on other sites

    On 9/9/2022 at 9:59 AM, jgab said:

    Sorry, you are in the right place (QuickApp:main() )

    but there was a spelling error. It should be fibaro.utils.reduce - with and 's'

    Yes, the error is gone...thanks.
    BUT: the rule does not filter only parent devices

     

    on the screen we see the parent device with ID 1090 (I always put parent in the name at the end of _Z )...and after 1090 we see a message about the unavailability of children 1091 and 1092

    Please login or register to see this image.

    /monthly_2022_09/image.png.88e56ebff1550684afe0df7d116b2616.png" />

    Link to comment
    Share on other sites

    or I don't understand how to use use the new function with the old rule...
    can you comprehensively show how this connection should work?

    Link to comment
    Share on other sites

  • Topic Author
  • The function that creates the 'allZWaveDevice' variable  only takes devices that have .parentId==0 or .parentId==nil. What is the .parentId for 1091 and 1092?

    Please login or register to see this code.

    Link to comment
    Share on other sites

    52 minutes ago, jgab said:

    The function that creates the 'allZWaveDevice' variable  only takes devices that have .parentId==0 or .parentId==nil. What is the .parentId for 1091 and 1092?

    Please login or register to see this code.

    1090

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