Changes

Jump to navigation Jump to search
1,732 bytes added ,  01:55, 26 September 2017
no edit summary
Line 1: Line 1: −
[[Category:IRC]]
+
Spacemon ... isn't being operated right now, is it? Ask [[User:Toba]] if you're interested in the status or functioning of spacemon.
Spacemon is our [[IRC]] bot that watches the 4 webcams in the space and shows how busy each part of the space is at any time.
+
 
 +
Spacemon is our [[IRC]] bot that watches the [[ip cameras|webcams]] in the space and shows how busy each part of the space is at any time. Spacemon is a project of [[User:Toba]].
    
IRC commands:
 
IRC commands:
Line 7: Line 8:  
   <+spacemon> garage: 0% busy, electronics: 34% busy, woodshop: 0% busy, space: 26% busy
 
   <+spacemon> garage: 0% busy, electronics: 34% busy, woodshop: 0% busy, space: 26% busy
   −
This shows that the electronics area and the main hangout space are busy but the rest of PS1 is empty. There is no camera in the classroom or the front lounge or the loft lounge.
+
This shows that the electronics area and the main hangout space are busy but the rest of PS1 is empty. There is no camera in the classroom or the front lounge or the loft lounge.
   −
Another command, !light, lets you check if the lights are on. This is a good indication that someone is either rude, present, or planning to come back...
+
Another command, !light, lets you check if the lights are on. This is a good indication that someone is either rude, present, or planning to come back...
    
   <+Toba> !light
 
   <+Toba> !light
Line 20: Line 21:  
This alert is based on the "space" camera.
 
This alert is based on the "space" camera.
   −
There is also a [http://apps.pumpingstationone.org/space-activity/ web interface], a [https://hackerspaces.nl/spaceapi/ SpaceAPI] [http://space.pumpingstationone.org:8000/spaceapi/ps1 endpoint] and the [https://github.com/eastein/lidless software, lidless] is open source and is available on github.
+
There is also a [http://spacemon.pumpingstationone.org/ web interface], a [https://hackerspaces.nl/spaceapi/ SpaceAPI] [http://spacemon.pumpingstationone.org/spaceapi/ps1 endpoint], and the [https://github.com/eastein/lidless software, lidless] is open source and is available on github.
       
== lidless config ==
 
== lidless config ==
   −
  [
+
    [
  {
+
      {
    "role" : "work1",
+
        "username": "REDACTED",  
    "type" : "camera",
+
        "name": "electronics",  
    "name" : "space",
+
        "url": "http://10.100.0.30/mjpg/video.mjpg",  
    "url" : "http://10.100.0.61/mjpg/video.mjpg",
+
        "zmq_url": "tcp://*:7200",  
    "zmq_url" : "tcp://127.0.0.1:7200",
+
        "role": "work1",  
    "username" : "REDACTED",
+
        "password": "REDACTED",  
    "password" : "REDACTED"
+
        "type": "camera",  
  },
+
        "store": false
  {
+
      },
    "role" : "work2",
+
      {
    "type" : "camera",
+
        "username": "REDACTED",  
    "name" : "electronics",
+
        "name": "lasercutter",  
    "url" : "http://10.100.0.62/mjpg/video.mjpg",
+
        "url": "http://10.100.0.31/mjpg/video.mjpg",  
    "zmq_url" : "tcp://127.0.0.1:7201",
+
        "zmq_url": "tcp://*:7206",  
    "username" : "REDACTED",
+
        "role": "work2",
    "password" : "REDACTED"
+
        "snapshot": false,  
  },
+
        "password": "REDACTED",  
  {
+
        "type": "camera",  
    "role" : "work1",
+
        "store": false,  
    "type" : "camera",
+
        "snapshot_base_url": "http://spacemon.pumpingstationone.org"
    "name" : "woodshop",
+
      },  
    "url" : "http://10.100.0.63/mjpg/video.mjpg",
+
      {
    "zmq_url" : "tcp://127.0.0.1:7202",
+
        "username": "REDACTED",
    "username" : "REDACTED",
+
        "name": "kitchen",  
    "password" : "REDACTED"
+
        "url": "http://10.100.15.149/goform/capture",  
  },
+
        "zmq_url": "tcp://*:7207",  
  {
+
        "role": "work3",  
    "role" : "work2",
+
        "mode": "jpegpoll",  
    "type" : "camera",
+
        "snapshot": false,
    "name" : "garage",
+
        "password": "REDACTED",
    "url" : "http://zm.pumpingstationone.org/cgi-bin/nph-zms?mode=jpeg&monitor=3&scale=100&maxfps=5&buffer=1000&auth=",
+
        "type": "camera",  
    "zmq_url" : "tcp://127.0.0.1:7203",
+
        "store": false,
    "username" : "REDACTED",
+
        "snapshot_base_url": "http://spacemon.pumpingstationone.org"
    "password" : "REDACTED",
+
      },  
    "zm_auth_hash_secret" : "REDACTED"
+
      {
  },
+
        "username": "REDACTED",  
  {
+
        "name": "shop",  
    "role" : "frontend",
+
        "url": "http://10.100.0.32/mjpg/video.mjpg",  
    "type" : "alert",
+
        "zmq_url": "tcp://*:7201",  
    "mode" : "sustain",
+
        "role": "work3",  
    "low_level" : 20,
+
        "snapshot": false,  
    "duration" : 1800,
+
        "password": "REDACTED",  
    "message" : "I see PS:One is packed with people. Time to release the neurotoxin into the enrichment center.",
+
        "type": "camera",  
    "camera" : "space",
+
        "store": false,
    "throttle" : 9400
+
        "snapshot_base_url": "http://spacemon.pumpingstationone.org"
  },
+
      },  
  {
+
      {
    "role" : "frontend",
+
        "username": "REDACTED",  
    "type" : "alert",
+
        "name": "crafts",  
    "mode" : "sustain",
+
        "url": "http://10.100.0.33/mjpg/video.mjpg",
    "high_level" : 0,
+
        "zmq_url": "tcp://*:7202",  
    "duration" : 73200,
+
        "role": "work2",  
    "message" : "I've been sitting here in the woodshop for like a day and nobody came in. Will nobody touch my wood?",
+
        "password": "REDACTED",  
    "camera" : "woodshop",
+
        "type": "camera",  
    "throttle" : 86400
+
        "store": false
  },
+
      },  
  {
+
      {
    "role" : "frontend",
+
        "throttle": 9400,  
    "type" : "alert",
+
        "camera": "shop",  
    "mode" : "sustain",
+
        "low_level": 20,  
    "high_level" : 0,
+
        "mode": "sustain",  
    "duration" : 63200,
+
        "duration": 1800,  
    "message" : "The laser is lonely. Excite a laser today.",
+
        "role": [
    "camera" : "electronics",
+
          "frontend",  
    "throttle" : 86400
+
          "announcer"
  },
+
        ],
  {
+
        "message": "There's loads of people working in the shop. Yay, hacking!",  
    "role" : "frontend",
+
        "type": "alert"
    "type" : "alert",
+
      },  
    "mode" : "sustain",
+
      {
    "high_level" : 10,
+
        "throttle": 86400,  
    "low_level" : 4,
+
        "high_level": 10,  
    "duration" : 1500,
+
        "camera": "electronics",  
    "message" : "The people in the main space are being so boring. Break a leg, slackers!",
+
        "low_level": 4,  
    "camera" : "space",
+
        "mode": "sustain",  
    "throttle" : 86400
+
        "duration": 1500,  
  },
+
        "role": [
  {
+
          "frontend",
    "role" : "frontend",
+
          "announcer"
    "type" : "alert",
+
        ],
    "mode" : "sustain",
+
        "message": "The people in the electronics shop are being so boring. Break a leg, slackers!",  
    "high_level" : 0,
+
        "type": "alert"
    "duration" : 43200,
+
      },  
    "message" : "I'm so alone.  Nobody wants to hang out with me.",
+
      {
    "camera" : "space",
+
        "throttle": 86400,  
    "throttle" : 86400
+
        "high_level": 0,  
  },
+
        "camera": "electronics",  
  {
+
        "role": [
    "type" : "spaceapi",
+
          "frontend",
    "name" : "ps1",
+
          "announcer"
    "metadata" : {
+
        ],  
      "space" : "Pumping Station: One",
+
        "mode": "sustain",  
      "url" : "http://pumpingstationone.org",
+
        "duration": 43200,  
      "address" : "3354 N Elston, Chicago IL 60618, USA",
+
        "message": "I'm so alone.  Nobody wants to hang out with me.",  
      "contact" : {
+
        "type": "alert"
        "twitter" : "@pumpingstation1",
+
      },  
        "irc" : "irc://irc.freenode.net/#pumpingstationone",
+
      {
        "email" : "[email protected]",
+
        "name": "ps1",  
        "ml" : "http://groups.google.com/group/pumping-station-one-public"
+
        "cameras": {
      },
+
          "shop": 7,  
      "logo" : "http://wiki.pumpingstationone.org/thumb.php?f=Psone-logo-w-name.svg&width=576",
+
          "electronics": 30,
      "lat" : 41.942387,
+
          "crafts": 20
      "lon" : -87.702911,
+
        },  
      "cam" : "http://apps.pumpingstationone.org/space-activity/"
+
        "status_note": "Only members have access 24/7. If you are not a member, check http://pumpingstationone.org/events/ for public events.",  
    },
+
        "type": "spaceapi",  
    "cameras" : {
+
        "needed_activity": 1,  
      "space" : 10,
+
        "metadata": {
      "woodshop" : 7,
+
          "space": "Pumping Station: One",  
      "electronics" : 30
+
          "url": "http://pumpingstationone.org",  
    },
+
          "issue_report_channels": [
    "needed_activity" : 1,
+
        "twitter"
    "status_note" : "Check http://pumpingstationone.org/events/ for public events."
+
          ],  
  },
+
          "state": {
  {
+
        "icon": {
    "role" : "frontend",
+
          "open": "https://wiki.pumpingstationone.org/images/pumpingstationone.org.wiki.logo.png",  
    "type" : "irc",
+
          "closed": "https://wiki.pumpingstationone.org/images/pumpingstationone.org.wiki.logo.png"
    "server" : "irc.freenode.org",
+
        }
    "nick" : "spacemon",
+
          },  
    "channel" : "#pumpingstationone"
+
          "contact": {
  },
+
        "ml": "http://groups.google.com/group/pumping-station-one-public",  
  {
+
        "twitter": "@pumpingstation1",  
    "role" : "work1",
+
        "irc": "irc://irc.freenode.net/#pumpingstationone",  
    "type" : "web",
+
        "email": "[email protected]"
    "port" : 8001
+
          },  
  },
+
          "location": {
  {
+
        "lat": 41.945321,
    "role" : "work2",
+
        "lon": -87.706631,  
    "type" : "web",
+
        "address": "3519 N Elston, Chicago IL 60618, USA"
    "port" : 8002
+
          },  
  },
+
          "cam": [
  {
+
        "https://spacemon.pumpingstationone.org/"
    "role" : "frontend",
+
          ],  
    "type" : "web",
+
          "logo": "https://wiki.pumpingstationone.org/images/pumpingstationone.org.wiki.logo.png"
    "proxy_mode" : "auto",
+
        }
    "port" : 8000
+
      },  
  }
+
      {
  ]
+
        "type": "irc",  
 +
        "nick": "spacemon",  
 +
        "role": "frontend",  
 +
        "channel": "#pumpingstationone",  
 +
        "server": "irc.freenode.net"
 +
      },  
 +
      {
 +
        "type": "announced",  
 +
        "role": "announcer",  
 +
        "zmq_url": "tcp://10.100.0.16:4503"
 +
      },  
 +
      {
 +
        "type": "web",
 +
        "role": "work1",
 +
        "port": 8001,
 +
        "zmq_url": "tcp://*:8201"
 +
      },
 +
      {
 +
        "type": "web",
 +
        "role": "work2",
 +
        "port": 8002,
 +
        "zmq_url": "tcp://*:8202"
 +
      },
 +
      {
 +
        "type": "web",
 +
        "role": "work3",
 +
        "port": 8003,
 +
        "zmq_url": "tcp://*:8203"
 +
      },
 +
      {
 +
        "type": "web",
 +
        "proxy_mode": "auto",
 +
        "role": "frontend",
 +
        "port": 8000
 +
      }
 +
    ]
 +
 
 +
== Things Bus ==
 +
 
 +
Fields:
 +
* ratio_busy (0.0 -> 1.0) float, how busy the room is
 +
* luminance (0.0 -> 255.0) float, average pixel brightness of camera source
 +
 
 +
[[Category:Cameras]]
 +
[[Category:IRC]]
 +
[[Category:Things Bus Data Sources]]
1,524

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu