snOOrz / homebridge-aqara

HomeBridge plugin for Aqara gateway and devices
536 stars 74 forks source link

Set reuseAddr for compatibility with other Aqara libraries #65

Closed aholstenson closed 7 years ago

aholstenson commented 7 years ago

This change sets reuseAddr on the UDP socket so that several sockets can be created bound to port 9898. This allows several libraries (Node or otherwise) to interact with the Aqara gateway at the same time.