A sample showing how to capture and log Dynamic Device Discovery messages has been added to the examples on Github here: https://github.com/domoticz/domoticz/bl ... scovery.py.
Tested successfully on Linux. Works on Windows for messages generated on the machine where Domoticz is running, Windows 10 appears to filter broadcast UDP from network devices even if a firewall rule exists permitting (anyone who knows how to stop that please post here).
Useful IP Address and Port combinations that can be set via the Hardware page:
- 239.255.250.250:9161-Dynamic Device Discovery (DDD) (default, shows Global Cache, Denon Amps and more)
- 239.255.255.250:1900 -Simple Service Discovery Protocol (SSDP), (shows Windows, Kodi, Denon, Chromebooks, Gateways, ...)
Code: Select all
self.BeaconConn = Domoticz.Connection(Name="Beacon", Transport="UDP/IP", Address=Parameters["Address"], Port=str(Parameters["Port"]))
self.BeaconConn.Listen()
Available in next beta or now if building from source.