Hi,
Can anyone point me in the right direction to figure out how to update states of switches by listening to UDP announcements?
Change switch state on UDP announcement?
Moderator: leecollings
- Dnpwwo
- Posts: 819
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Change switch state on UDP announcement?
@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.
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.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 9
- Joined: Sunday 01 May 2016 19:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Change switch state on UDP announcement?
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
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
Who is online
Users browsing this forum: No registered users and 0 guests