Search found 2 matches

by Veda
Saturday 17 November 2018 22:51
Forum: Python
Topic: Python Plugin Framework: UDP/IP Discovery Added
Replies: 3
Views: 1839

Re: Python Plugin Framework: UDP/IP Discovery Added

I figured out why the segmentation fault happened (I debugged the C++ code...). You need to put the "Protocol" thing in there. Adding Protocol="None" solved the segmentation fault. Now with what I was trying to do, the devices do not answer in the broadcast channel but do only answer to the caller ...
by Veda
Monday 12 November 2018 23:15
Forum: Python
Topic: Python Plugin Framework: UDP/IP Discovery Added
Replies: 3
Views: 1839

Re: Python Plugin Framework: UDP/IP Discovery Added

I am going to shamelessly bump this. I was trying your example. It lacks a way to "ask" on the UDP port to 'ask' so to say which devices are there. I tried a couple of ways, but none did work: The way I think it should work: sAddress = "239.255.255.250" sPort = "1900" self.BeaconConn = Domoticz ...