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


  • 3

Yet Another lastWorkingRoute visualiser


10der

Question

Please stop forcing the use this app!

Edited by 10der
  • Like 7
  • Thanks 4
Link to comment
Share on other sites

Recommended Posts

  • 0
On 8/31/2018 at 11:47 PM, 10der said:

06/09/2018 23:00 - some minor UI updates

 

Thanks

Please login or register to see this attachment.

 

Edited by AutoFrank
higher res image
Link to comment
Share on other sites

  • 0
  • Inquirer
  • @AutoFrank

    Quote

    BTW - how long does it take to load and render ?

     

     

    : just 2 call API with devices & rooms, but rendering is not quickly cuz, for example, chrome rise some warning exception on hooking each node.  and I do not know how to prevent this.

    Please login or register to see this image.

    Link to comment
    Share on other sites

    • 0

    Hello @10der

     

    I did some comparings between your output and /api/devices of HC. It seems that some routes are in a sorted order in the graph. The routes (I can see in HC) are different. Let me explain with a picture 8-)

     

    Please login or register to see this attachment.

     

    You see screenshots of api/devices/ of HC and firefox with debug console. There seems to be a kind of sorting process and then routing displayed wrong. I hope it is understandable what I mean :) Any ideas? Thank you for your efforts.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @Hey @petergebruers . Yes, I hear from you more times what Z-devices do not operate with the concept "distance/etc". but it looks like crazy: 519 - UBS. it located near HC2... 40 cm (sic!) - shy of within arm's reach. 

    • lastWorkingRoute: "[1,815,465]",

    815 - upstairs (lol) bedroom

    465 - upstairs (lol) bathroom

     

    it's like a trip to Belgium via Moskow... , particularly given what I am living near Poland...

     

    kill me! ;D

    Edited by 10der
    Link to comment
    Share on other sites

    • 0

    @10der LOL

     

    I have to guess... But this explanation seems plausible.

     

    If your UBS sends data, because its input changed or the temperature probe wants to report... It will try to deliver its message 3 times...

     

    (a) If the network is very busy... It might collide, collide an collide again. That means "three failed attempts = try next available route"

    (b) If you have another source of interference, data or ACK might get lost 3 times.

    (c) If the HC does not respond in a timely manner (I don't know if that is technically possible, I don't know if and how the controller chip could be "to late", maybe because a queue fills up) again after 3 attempts the UBS decides "I cannot get to node 1, have to try routes".

     

    Can you please tell me the "node IDS" of 815 and 416? Here's why!

     

    I just tested an old HSP02 motion sensor. I took out of direct range, and observed the captured data:

     

    - 3x node ID 1 -> direct connection failed.

    - 3x node ID 3 -> NOK

    - 3x node ID 5 -> NOK

    - 3x node ID 7 -> NOK

     

     

    After this, the HSP gives up, for now, and the data never reaches the HC2. The device is really orphaned now.

     

    Why that sequence? Impair numbers only? No... Node 2 does not exist and neither does node 4. I probably did a few exclude and includes when I built the network. Then node 6 exists, but is battery operated so it is not a candidate repeater.

     

    In other words... It's trying three mains device ordered by node ID.

     

    It learned those node IDs when I included it very close to the HC (and far way from where it is failing now.).

     

    Because I have moved the device, the neighbors it stored  are no longer really neighbors.

     

    Then I bring the HC2 a bit closer to the HC2, because I want to send it a "update neighbor" command.

     

    After this:

     

    - 3x node ID 1 -> direct connection failed.

    - 3x node ID 5 -> NOK

    - 3x node ID 3 -> NOK

    - node 31 Ok -> node 23 OK -> node I OK

    - Routed ACK 1 -> 23 -> 31

     

    Now the device has established it can reach the controller via route 31, 23.

     

    The I do "mesh reconfigure again" so the HC2 gets the LWR. This would appear on your chart with device IDs and if you look at the raw data on your HC you will see

     

    LWR: [1,X,Y]

     

    X is master ID of node ID 23 and Y is master ID of node ID 31

     

    When I move the sensor about 1 meter... It selects a one-hop route over node ID 8

     

    If you do not have a sniffer, and you do not "update mesh" before you run your visualizer, then you completely miss the dynamic nature of routing. You'll be looking at a snapshot of 03:00 AM.

     

     

     

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 8 minutes ago, petergebruers said:

    Can you please tell me the "node IDS" of 815 and 416?

    815   nodeId: "143",

    465  nodeId: "80",

     

    519 - patient :)  nodeId: "88",

    Link to comment
    Share on other sites

    • 0

    OK, looks random. Can you please mesh reconfigure that UBS... What LWR do you get? Do you have a Zniffer?

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Just now, petergebruers said:

    Do you have a Zniffer?

    had. sold. too expensive to have such tools, considering the fact that I am not distributor or developer z-devices... and now I am back to Ukraine and jobless homeowner :D

     

    [12:45:46] 519: Requesting neighbor list from the node is in progress
    [12:45:59] 519: Requesting neighbor list from the node is in progress
    [12:46:07] 519: New neighbor list received

     

    A-ha-ha

     

    • lastWorkingRoute: "[1]",
    Link to comment
    Share on other sites

    • 0
    2 minutes ago, morpheus75 said:

    how do you get the rooms.json and devices.json files?

    thanks

     

    http://HC2IP/devices

    http://HC2IP/api/rooms

     

    right click and save.

    • Like 1
    • Thanks 1
    Link to comment
    Share on other sites

    • 0
    56 minutes ago, morpheus75 said:

    how do you get the rooms.json and devices.json files?

     

    copy and save from browser

     

    Please login or register to see this attachment.

    • Like 1
    Link to comment
    Share on other sites

    • 0

    So anyone figured why the Fibaro double relay Plus doesn't work when doing a manual get neighbor command ?

    Link to comment
    Share on other sites

    • 0

    Not yet, because... I do not own an FGS-223. The older versions, in my house, are all OK.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Just now, petergebruers said:

    The older versions, in my house, are all OK.

    Can also confirm that’s fact, colleague!

    Link to comment
    Share on other sites

    • 0
    7 minutes ago, 10der said:

    that’s fact, colleague!

    Thank you, "master of the visualizer"!

    • Thanks 1
    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
    Answer this question...

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