SwissTiming manual
Setup guide
- ScoreLink+ device.
- 12v 1~2A power adapter for ScoreLink+ device.
- Two RJ 45 cables.
- TP-LINK USB A 3.0 to Ethernet adapter.
Example:
- One TCP data feed for GS will act as a client connecting to the venue server at 192.168.42.111 on port 1405.
- Additionally, one UDP data feed will be broadcasting at 192.168.42.101 on port 5001.
Local Venue Network:
- ip_address: 192.168.42.100
- Subnet_mask: 255.255.255.0
- local_port: 5001
Our bot to | with the controller:
- ip_address<:>
- local_port: 1405
To set up the connection:
1️⃣ Connect the Ethernet adapter to ScoreLink+ through the USB-A port.
2️⃣ Plug one end of the RJ45 cable into the female port of the Ethernet adapter, and connect the other end to the main switch which receives data from the SwissTiming controller.
3️⃣ Finally, connect the power adapter to ScoreLink+ and wait for it to turn on.
1️⃣ Log into ScoreConnectIII.
2️⃣ Go to Settings and select the following:
- Vendor: Swiss Timing TP.
- Sport: Swiss Timing STBP Basketball.
- Connection Type: UDP (User Datagram Protocol).
- UDP Port: 5001.
3️⃣ Click on Load and wait for the configuration process to finish.
4️⃣ If the configuration is successful, the status page will update.
1️⃣ Open the terminal on the PC to configure communication between the ScoreLink device and the controller, and execute the command below.
lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
2️⃣ Proceed to execute the command below.
az login
az account set --subscription < Sportzcast subscription ID >
3️⃣ Follow the 📄Bot remote support article to log into the AZURE via the terminal.
4️⃣ Connect via SSH to Control server and execute the command below.
az ssh vm --hostname remotesupport.sportzcast.net
5️⃣ In ScoreConnectIII go to "Other" and select “Support Tools“ to get the ID for the remote access.
6️⃣ Click on "Enable Remote Support".
7️⃣ The code for the remote access will be generated automatically.
8️⃣ Go back to the terminal, execute the command remotesupport and insert the Support Port Number. In this example it is
54057.
$ remotesupport
Enter Support Port Number: 54057
......
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
9️⃣ Check the network configuration by executing ifconfig
command:
ifconfig
1️⃣0️⃣ Add a new interface for eth1 by executing a command below.
$ sudo nano /etc/network/interfaces.d/00-static-eth1
1️⃣1️⃣ Check if eth1 is configured by executing a command below.
$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 eth0 ether routable unmanaged
3 wlan0 wlan no-carrier unmanaged
1️⃣2️⃣ Execute the nmcli command for managing network connections
on Linux
systems in the venue network.
$ nmcli
eth0: connected to wired
"eth0"
ethernet (bcmgenet), D8:3A:DD:05:A1:41, hw, mtu 1500
ip4 default
inet4 10.0.4.146/22
route4 0.0.0.0/0
route4 10.0.4.0/22
inet6 fe80::6e2c:19ef:d42c:63d7/64
route6 fe80::/64
route6 ff00::/8
eth1: disconnected
"Realtek RTL8153"
1 connection available
ethernet (r8152), 00:E0:4C:3B:71:B8, hw, mtu 1500
wlan0: disconnected
"Broadcom BCM43438 combo and Bluetooth Low Energy"
wifi (brcmfmac), 2E:8C:E2:C7:AB:D5, hw, mtu 1500
p2p-dev-wlan0: disconnected
"p2p-dev-wlan0"
wifi-p2p, hw
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
DNS configuration:
servers: 10.0.4.1
interface: eth0
1️⃣3️⃣ Run the command below to check the internet status.
nmcli device status
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected wired
eth1 ethernet disconnected --
wlan0 wifi disconnected --
p2p-dev-wlan0 wifi-p2p disconnected --
lo loopback unmanaged --
1️⃣4️⃣ Add static eth1 to enable the communication between SwissTiming and ScoreLink by executing the command below.
gsslplus@bot61907:~ sudo nmcli con add type ethernet ifname eth1 con-name eth1-static
Connection 'eth1-static' (614298e2-1c15-4b6e-bb99-c324bc4a858d) successfully added.
gsslplus@bot61907:~ $ sudo nmcli con modify eth1-static ipv4.addresses 192.168.42.111/24
gsslplus@bot61907:~ $ sudo nmcli con modify eth1-static ipv4.method manual
gsslplus@bot61907:~ $ sudo nmcli con up eth1-static
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/23)
communicatesorever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether d8:3a:dd:05:a1:41 brd ff:ff:ff:ff:ff:ff
inet 10.0.4.146/22 brd 10.0.7.255 scope global dynamic noprefixroute eth0
valid_lft 18137sec preferred_lft 18137sec
inet6 fe80::6e2c:19ef:d42c:63d7/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 3a:e9:d9:eb:64:75 brd ff:ff:ff:ff:ff:ff permaddr d8:3a:dd:05:a1:42
4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:e0:4c:3b:71:b8 brd ff:ff:ff:ff:ff:ff
inet 192.168.42.111/24 brd 192.168.42.255 scope global noprefixroute eth1
valid_lft forever preferred_lft forever
inet6 fe80::c832:1bd4:dbfb:5084/64 scope link noprefixroute
valid_lft forever preferred_lft forever
1️⃣5️⃣ Check if the main host can be pinged from the bot by executing the command below.
gsslplus@bot61907:~ $ ping 192.168.42.21
PING 192.168.42.21 (192.168.42.21) 56(84) bytes of data.
64 bytes from 192.168.42.21: icmp_seq=1 ttl=128 time=1.57 ms
64 bytes from 192.168.42.21: icmp_seq=2 ttl=128 time=0.940 ms
64 bytes from 192.168.42.21: icmp_seq=3 ttl=128 time=0.872 ms
64 bytes from 192.168.42.21: icmp_seq=4 ttl=128 time=0.965 ms
64 bytes from 192.168.42.21: icmp_seq=5 ttl=128 time=1.00 ms
64 bytes from 192.168.42.21: icmp_seq=6 ttl=128 time=0.878 ms
64 bytes from 192.168.42.21: icmp_seq=7 ttl=128 time=0.787 ms
64 bytes from 192.168.42.21: icmp_seq=8 ttl=128 time=1.02 ms
64 bytes from 192.168.42.21: icmp_seq=9 ttl=128 time=0.870 ms
64 bytes from 192.168.42.21: icmp_seq=10 ttl=128 time=0.980 ms
64 bytes from 192.168.42.21: icmp_seq=11 ttl=128 time=0.877 ms
64 bytes from 192.168.42.21: icmp_seq=12 ttl=128 time=0.944 ms
64 bytes from 192.168.42.21: icmp_seq=13 ttl=128 time=0.997 ms
64 bytes from 192.168.42.21: icmp_seq=14 ttl=128 time=0.874 ms
64 bytes from 192.168.42.21: icmp_seq=15 ttl=128 time=0.889 ms
64 bytes from 192.168.42.21: icmp_seq=16 ttl=128 time=0.870 ms
64 bytes from 192.168.42.21: icmp_seq=17 ttl=128 time=0.734 ms
^C
--- 192.168.42.21 ping statistics ---
17 packets transmitted, 17 received, 0% packet loss, time 16429ms
rtt min/avg/max/mdev = 0.734/0.945/1.569/0.172 ms
1️⃣6️⃣ Restart the device by running the command below.
gsslplus@bot61907:~ $ sudo systemctl restart SPZC.service