Is it possible to create a UDP multicast listener

Simply put I may be starting on a integration that uses UDP multicat allot. It looks like UDP can be used to send messages, but i don't see any examples of creating a way for UDP multicast calls to be listened to.

Is that function a Hubitat internal only ability or can we create custom integrations that can as well.

AFAIK, this isn't permitted as of now. But I know it has been requested in the past.

Edit - for the couple instances where I need this, I just do it by setting up a listener in Node-RED and use decoded data to populate a virtual Hubitat device with the desired capabilities/attributes.

1 Like

That wasy my suspicion. Thanks for confirmation.

The Node-Red trick did cross my mind as i do some similar stuff for other things.

@gopher.ny

I was just hoping you could confirm what aaiyar is saying here. The reason I am asking for confirmation is that i just completed the work i could to integrate the Govee Local Lan control options into my integration. A big miss though is i need to be able to join a UDP Multicast group and send/receive communications on port 4001 and 4002.

Without this I can't retrieve the IP's of the devices or receive device status updates. I know recently we had some exchange about the new Wiz Integration, and you explained it uses UDP to receive the bulb status updates.

The API documentation is located at https://app-h5.govee.com/user-manual/wlan-guide

I see the value and will need to think about how to fit this into existing architecture. Definitely not an item for 2.3.3, though.

7 Likes

@gopher.ny Has there been any discussion around this becoming a possibility with a future release. I am just really anxious to make some progress for this and want to make sure I can jump on it as soon as it is available.

1 Like

@gopher.ny I just wanted to bump this to maybe get a status as to if this is anywhere on the horizon or on the list of things to maybe be put in?

1 Like