Page 1 of 1

Change switch state on UDP announcement?

Posted: Wednesday 03 January 2018 10:31
by johos
Hi,

Can anyone point me in the right direction to figure out how to update states of switches by listening to UDP announcements?

Re: Change switch state on UDP announcement?

Posted: Wednesday 03 January 2018 11:39
by Dnpwwo
@johos,

If you know Python at all you could create a plugin for it.

There is a sample that shows the basics for listening for UDP here: https://github.com/domoticz/domoticz/bl ... scovery.py. It works well on Linux but Windows seemed to be filtering the UDP messages out. Never looked into why that was.

Re: Change switch state on UDP announcement?

Posted: Wednesday 03 January 2018 14:38
by johos
Thanks Dnpwwo,

Thank you so much for your reply!

I’m very rusty, but yes i do know some python. I will give it a try!

Best regards,
J