Spacecontrol
From Whitespace (Hackerspace Gent)
(Difference between revisions)
m (→Usage) |
m (→Insanity mode) |
||
| Line 26: | Line 26: | ||
Use FireBug or the Chromium thing to add ids 'on' and 'off' to the 'all on' and 'all off' buttons. Then run: | Use FireBug or the Chromium thing to add ids 'on' and 'off' to the 'all on' and 'all off' buttons. Then run: | ||
| − | < | + | <syntax lang="javascript"> |
function hax( time ){ document.getElementById('on').click(); document.getElementById('off').click(); setTimeout( "hax( " + time + " )", time ); } hax( 1000 ); | function hax( time ){ document.getElementById('on').click(); document.getElementById('off').click(); setTimeout( "hax( " + time + " )", time ); } hax( 1000 ); | ||
| − | </ | + | </syntax> |
Revision as of 22:33, 30 May 2011
| Spacecontrol |
|---|
|
| What: |
| We automate because we can! |
| Participants: |
| Koen, Piet |
| Locations: |
| Whitespace |
| Events: |
| How to electrocute an elephant 2, How to electrocute an elephant 4 |
|
|
Current Configuration
The spacecontrol project consists of two hardware parts. A small one and a big one. For more documentation on how they where both build look on the subpages. There is also a purely software part to do a remote soft poweroff some servers.
Currently only the small version is active.
- This first version can control up to 4 220V devices.
- It can do a soft poweroff of four servers in the space.
- Software running on the audio server.
- Currently 4 lamps in the main room are hooked up.
Usage
Just visit http://spacecontrol while in the space and click the buttons.
Insanity mode
Use FireBug or the Chromium thing to add ids 'on' and 'off' to the 'all on' and 'all off' buttons. Then run:
<syntax lang="javascript"> function hax( time ){ document.getElementById('on').click(); document.getElementById('off').click(); setTimeout( "hax( " + time + " )", time ); } hax( 1000 ); </syntax>
