Closed yegong closed 1 year ago
Fix: multicast bind should be MULTICAST_ADDRESS, it will be help in some environment
According to examples I found, lots of them indicate the binding address of muilticast should be the MULTICAST_GROUP instead of local address. https://huichen-cs.github.io/course/CISC7334X/20FA/lecture/pymcast/#the-receiver-program-mcastrecvpy is one of them.
It helps solving issue like not receiving any message from XiaomiGateway. Tested and works in local home-assistant environment.
Fix: multicast bind should be MULTICAST_ADDRESS, it will be help in some environment
According to examples I found, lots of them indicate the binding address of muilticast should be the MULTICAST_GROUP instead of local address. https://huichen-cs.github.io/course/CISC7334X/20FA/lecture/pymcast/#the-receiver-program-mcastrecvpy is one of them.
It helps solving issue like not receiving any message from XiaomiGateway. Tested and works in local home-assistant environment.