dhleong / wemore

A more awesome library for Belkin WeMo interactions
37 stars 12 forks source link

Fix finding only one emulated device in network #8

Closed timoclsn closed 6 years ago

timoclsn commented 6 years ago

The unique usn of the ssdp server is used by some apps to identify devices. Without initializing it, a default usn (always the same) is used. So the app will always find only one device in the network.

I'm note sure using the uuid.v4() function ist the best way here, but with this is unique at least.

dhleong commented 6 years ago

Seems reasonable to me, thanks!

Note: you might want to reset your branch to match this one so there aren't so many extra commits that do nothing; I tend to squash-merge PRs to keep the git history simple and clear.

timoclsn commented 6 years ago

Thanks – I reset my branch to your master! 😊