It is possible to list the connected devices by using the DishyPy/dish_get_status.py at d13212540431419ef20bcd173e25516604e014f7 · woodseowl/DishyPy · GitHub
Instead of the get status we can do the:
with grpc.insecure_channel("192.168.1.1:9000") as channel:
stub = device_pb2_grpc.DeviceStub(channel)
response = stub.Handle(device_pb2.Request(wifi_get_clients={}))
And the response we get is response.wifi_get_clients.clients a list of the connected devices.
Sample device object:
{
name: "the device name"
mac_address: "00:11:22:XX:XX:XX"
ip_address: "192.168.1.4"
rx_stats {
}
tx_stats {
}
iface: ETH
}