Hello,
I was debugging my own environment and wanted a quick way to get a list of each node in the network including its neighbors. I found some old information in this forum but didn’t manage to get it working. Therefore I wrote something like that myself and like to share it in case other may find it useful.
The program zneigh.py is a python script to run on a remote machine. I use CentOS 7 Linux, but since it is Python I think it may run on any machine.
Here is the code: vera-tools/zneigh.py at master · on1dds/vera-tools · GitHub
So, when I run the program from my remote machine, with the IP or hostname of the Vera device, I get the following result.
# ./zneigh.py -H 10.0.100.3
id;parent;nodeid;manufacturer;model;name;neighbors;1;2;4;5;6;8;9;15;17;18;24;28;30;31;34;36;37;40;
4;1;1;;;_Scene Controller;
5;1;2;Fibar;;Rol Keuken; ;1;;4;;6;;9;15;;18;;;30;31;;36;;;;
7;1;4;Fibar;;Rol Voorgevel; ;1;2;;5;6;;9;15;17;18;;28;;31;;36;;;;
8;1;5;Fibaro;FGRM222;Rol Zijgevel; ;1;;4;;6;8;9;15;;18;24;28;30;31;;36;;40;;
11;1;6;Fibaro;FGS221;wc; ;1;2;4;5;;8;;15;17;18;24;28;30;31;;36;;40;;
17;1;8;Fibaro;FGS221;dressing; ;1;;;5;6;;9;15;17;;24;28;30;31;;36;;40;;
20;1;9;Fibaro;FGS221;keuken; ;;2;4;5;;8;;15;17;;;28;;31;;;;40;;
30;1;15;Fibar;;overloop licht; ;1;2;4;5;6;8;9;;;;24;28;30;31;;36;;40;;
31;1;17;Fibaro;FGS221;achterdeur; ;1;;4;;6;8;9;;;18;24;28;30;31;;;;40;;
34;1;18;Fibaro;FGS221;tuin; ;1;2;4;5;6;;;;17;;24;28;30;;;36;37;;;
72;1;24;Fibaro;FGRM222;Rol Berging2; ;1;;;5;6;8;;15;17;18;;28;30;31;;36;;;;
89;1;28;Fibaro;FGD-212;Slaapkamer; ;1;;4;5;6;8;9;15;17;18;24;;30;31;;36;;40;;
99;1;30;Fibaro;FGS221;Eetkamer; ;1;2;;5;6;8;;15;17;18;24;28;;31;;36;;40;;
102;1;31;Fibaro;FGS221;Zithoek/Trap; ;1;2;4;5;6;8;9;15;17;;24;28;30;;;36;;40;;
106;1;34;;;knop slaapkamer;
107;1;36;;;Piano; ;1;2;4;5;6;8;;15;;18;24;28;30;31;;;;40;;
108;1;37;Everspring;;Sensor auto; ;;;;;;;;;;18;;;;;;;;;;
112;1;40;Philio;PSR04;Smart Color Button; ;;;;;6;;;15;17;;;28;;31;;;;;;
You can easily copy the output, past it into Excel and do a Data/Text To Columns for a clean output.
I hope anyone finds this useful, otherwise, just ignore.
kind regards.
Joachim