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:
- 184.108.40.206:9161-Dynamic Device Discovery (DDD) (default, shows Global Cache, Denon Amps and more)
- 220.127.116.11: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.