GetRoutingTableLine

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
ScotsDon
Posts: 56
Joined: 28 Jul 2015 20:55

GetRoutingTableLine

Post by ScotsDon »

Using the Razberry on the Raspberry PI, I want to look at the zway routing table (BTW I know there is one in the Expert UI), using a browser from my PC. The ZwayDev manual says there is a Function Class "GetRoutingTableLine" and I believe the URL to use from the browser is:

http://192.168.1.10:8083/ZWaveAPI/Run/c ... bleLine(4)

where the (4) is the node ID. This produces an error:

TypeError: undefined is not a function

When I use the URL:

http://192.168.1.10:8083/ZWaveAPI/Run/controller

it lists all the "data" from the controller, including listing the "GetRoutingTableLine" as a function name, so the function exists in the Razberry zway, but I can't access it.

Any ideas?
ScotsDon
Posts: 56
Joined: 28 Jul 2015 20:55

Re: GetRoutingTableLine

Post by ScotsDon »

Thanks for reply. Your link just returns "null", which at least is not an error, but there is no other data. Have you tried it? With what result?
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: GetRoutingTableLine

Post by PoltoS »

corresponding dataholder is updated. See docs or log to see which. Should be devices[4].data.neighbours.value
ScotsDon
Posts: 56
Joined: 28 Jul 2015 20:55

Re: GetRoutingTableLine

Post by ScotsDon »

Yes, that gives me info. It says devices 2 and 5 are neighbours, which makes sense, and many thanks for that.
Now I know a little more about z-way, using:
devices[4].data.isRouting.value
gives me "true" for all my devices (4 of them).
What I'd like to know is the routing path to device(4). I surmise it is from the Razberry controller to device(2) then to (4), but is there a table that I can read which says that?
Devices 4 and 5 are in close proximity to each other and I think they interfere. Before I added device 5, device 4 seemed to connect directly to the Razberry. After adding device 5, I got connection errors, then used the Re-org function in the Expert UI, which seemed to calm things down. Now I believe both 4 and 5 connect via device 2, which is a bit closer to the Razberry/Pi.

Any comments?

PS Should I get an email to say I've got a reply? Because I don't, even though my email address in my profile is correct.
ScotsDon
Posts: 56
Joined: 28 Jul 2015 20:55

Re: GetRoutingTableLine

Post by ScotsDon »

Re email replies (PS above), I re-checked and, while the email address was right, the 'Confirm email address' had my user name in it - probably Firefox put it there unnoticed by me. So I may get an email to notify a reply this time.....
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: GetRoutingTableLine

Post by PoltoS »

Currently it is not possible to check which routes are used. But in next versions we will add this functionality.
ScotsDon
Posts: 56
Joined: 28 Jul 2015 20:55

Re: GetRoutingTableLine

Post by ScotsDon »

That will be useful. Thanks PoltoS
Post Reply