Java client for discovering UPNP devices with SSDP (Simple Service Discovery Protocol)
For exemple, if you want to discover all SONOS devices on your network.
(for information, Sonos Service Type: "urn:schemas-upnp-org:device:ZonePlayer:1")
public static void main(String[] args) throws IOException {
List<Device> devices = SSDPClient.discover(1000, "urn:schemas-upnp-org:device:ZonePlayer:1");
System.out.println(devices.size() + " sonos devices found");
}
The current lead maintainer is [Valentin Michalak] (https://github.com/vmichalak)