Garaj / status

Simple and beautiful webpage that shows open/close status of Garaj Coworking Space
Apache License 2.0
4 stars 0 forks source link

Counting only phone mac addresses #4

Open hakanakgun opened 9 years ago

hakanakgun commented 9 years ago

Currently we are showing all connected devices as a person in status page. We can improve this algorithm with considering only phones.

  1. We should search which mac addresses belongs to the phones. We could not identify all phones from their mac addresses because some brands don't have such a pattern in their mac addresses.
  2. Optionally, If can get names of connected phones from router, we can make a better decision about number of connected phones. According to @tasomaniac, most of Android phones -except which have custom roms- have "Android" prefix in their names. We can use this information as a start point.
tasomaniac commented 9 years ago

Thank you for openning up the discussion here. I think we cannot trust this information but it would be valuable as an extra information.

I think we should do both of above. But first, we can do the second option as it is really easy. It is really easy to get the device names from the router.