Pamela

From Whitespace
Jump to: navigation, search

PamLogo A1blu3.png

Pamela is a program that tracks in real time what people and which devices are present in the space. It originated at the Hackerspace Brussels. It scans the internal network to see which devices are online and maps the mac addresses of online devices to names of members and devices. This gives a clear picture of who and what is running in the space. This list is updated ~every 5 minutes.

The information is exposed in the following ways.

Registering your mac[edit]

Do you want Pamela to recognize you? You can add the mac addresses of your devices so Pamela knows they're yours. The mac addresses are stored on the hackerspace.gent server in '/var/www/html/pam/macs.csv'. Ask sasja or Merlijn to add your mac address.

How does it work?[edit]

Our Pamela instance is running on the gatekeeper.

  1. Pamela scans the space's LAN to see which devices are online and saves the MAC addresses of those devices locally.
  2. Pamela downloads a key-value list from [hackerspace.gent/pam/macs.csv hackerspace.gent/pam/macs.csv]. This list maps each MAC address to a name. Pamela uses this mapping to generate a list of names and pushes this list back to the hackerspace.gent server using the upload.php script.
  3. The push script adds this to an sqlite database and makes the list accessible here: https://hackerspace.gent/pam/data

Application consuming this should count each device without brackets in its name as a human. The landing page, for example, counts like that.

Historical information (might not be relevant/correct anymore)[edit]

The name is short for Pretty Amazing Member Enabled Localization Application. It originated at the Hackerspace Brussels. Check out the page at the HSB wiki for more info on installation and configuration. It was written by [Sandb] so check with him if you have questions.

Pamela is a program that tracks what people and which devices are present in the space. The name is short for Pretty Amazing Member Enabled Localization Application. It originated at the Hackerspace Brussels. Check out the page at the HSB wiki for more info on installation and configuration. It was written by Sandb so check with him if you have questions. The widget used on the home page was written by .


  • The now broken widget on our [Main Page|front page] informed who is present, and who is a server or a device of a specific member. It was written by Jeroen De Dauw.
  • There is also a Android client available.
  • The source is available on Github.

Pamela's data in 0x20 is based on mac's translated to names. The translation info is pulled off of the wiki using the keyvalue data from Special:KeyValue, category mac.

You insert your mac by using the [Template:Mac] template on the wiki somewhere (e.g. your user page). Servers and mac addresses of users that either have no home page or are not migrated to user home pages yet can be found on the [Macs Macs] page.