Configuring Xideco - MrYsLab/xideco GitHub Wiki
Xideco requires that the file called port_map.py be updated with the IP address of the computer that will be running the Xideco Router.
After installing Xideco, choose the computer that will run the Xideco Router. Open a command window and type:
xirt
You should see console output that will look similar output below.
Make note of the IP address. This is address of the computer that the router is running on.
Xideco Router
******************************************
Using router IP address = 192.168.2.192
******************************************
If using the port map, port_map.py is located at:
/usr/local/lib/python3.5/dist-packages/xideco/data_files/port_map
NOTE: The path to port_map.py may be different for each Operating System/Computer
Set the router_ip_address entry in port_map.py to the address printed above
for each computer running Xideco, or optionally set the address manually for each Xideco module
using the command line options.
Then open port_map.py using the path provided, and enter the IP address into the router_ip_address field and then save the file. For Linux and Mac you may need to use sudo to edit the files.
Every computer that is running Xideco, must have its port_map.py file updated with this same address!
You may either update the port_map.py file with the IP address of your router, or you may enter the router IP address through command line options when starting each Xideco module using the "-r" option.
port_map = {"router_ip_address": "192.168.2.192",
"publish_to_router_port": "43124", "subscribe_to_router_port": "43125"}