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?
GetRoutingTableLine
Re: GetRoutingTableLine
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?
Re: GetRoutingTableLine
corresponding dataholder is updated. See docs or log to see which. Should be devices[4].data.neighbours.value
Re: GetRoutingTableLine
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.
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.
Re: GetRoutingTableLine
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.....
Re: GetRoutingTableLine
Currently it is not possible to check which routes are used. But in next versions we will add this functionality.
Re: GetRoutingTableLine
That will be useful. Thanks PoltoS