Spacemon: Difference between revisions
From Pumping Station One
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
There is also a [http://apps.pumpingstationone.org/space-activity/ web interface] and the [https://github.com/eastein/lidless software, lidless] is open source and is available on github. | There is also a [http://apps.pumpingstationone.org/space-activity/ web interface] and the [https://github.com/eastein/lidless software, lidless] is open source and is available on github. | ||
== lidless config == | |||
[ | |||
{ | |||
"role" : "work1", | |||
"type" : "camera", | |||
"name" : "space", | |||
"url" : "http://10.100.0.61/mjpg/video.mjpg", | |||
"zmq_url" : "tcp://127.0.0.1:7200", | |||
"username" : "REDACTED", | |||
"password" : "REDACTED" | |||
}, | |||
{ | |||
"role" : "work2", | |||
"type" : "camera", | |||
"name" : "electronics", | |||
"url" : "http://10.100.0.62/mjpg/video.mjpg", | |||
"zmq_url" : "tcp://127.0.0.1:7201", | |||
"username" : "REDACTED", | |||
"password" : "REDACTED" | |||
}, | |||
{ | |||
"role" : "work1", | |||
"type" : "camera", | |||
"name" : "woodshop", | |||
"url" : "http://10.100.0.63/mjpg/video.mjpg", | |||
"zmq_url" : "tcp://127.0.0.1:7202", | |||
"username" : "REDACTED", | |||
"password" : "REDACTED" | |||
}, | |||
{ | |||
"role" : "work2", | |||
"type" : "camera", | |||
"name" : "garage", | |||
"url" : "http://zm.pumpingstationone.org/cgi-bin/nph-zms?mode=jpeg&monitor=3&scale=100&maxfps=5&buffer=1000&auth=", | |||
"zmq_url" : "tcp://127.0.0.1:7203", | |||
"username" : "REDACTED", | |||
"password" : "REDACTED", | |||
"zm_auth_hash_secret" : "REDACTED" | |||
}, | |||
{ | |||
"role" : "frontend", | |||
"type" : "alert", | |||
"mode" : "sustain", | |||
"level" : 20, | |||
"duration" : 1800, | |||
"message" : "I see PS:One is packed with people. Time to release the neurotoxin into the enrichment center.", | |||
"camera" : "space", | |||
"throttle" : 5400 | |||
}, | |||
{ | |||
"role" : "frontend", | |||
"type" : "irc", | |||
"server" : "irc.freenode.org", | |||
"nick" : "spacemon", | |||
"channel" : "#pumpingstationone" | |||
}, | |||
{ | |||
"role" : "work1", | |||
"type" : "web", | |||
"port" : 8001 | |||
}, | |||
{ | |||
"role" : "work2", | |||
"type" : "web", | |||
"port" : 8002 | |||
}, | |||
{ | |||
"role" : "frontend", | |||
"type" : "web", | |||
"proxy_mode" : "auto", | |||
"port" : 8000 | |||
} | |||
] | |||