Difference between revisions of "Spacecontrol"

From Whitespace (Hackerspace Gent)
Jump to: navigation, search
(Android App)
(Current Configuration)
Line 14: Line 14:
 
'''Currently only the [[/CapeCanaveral|small]] version is active.'''
 
'''Currently only the [[/CapeCanaveral|small]] version is active.'''
  
* This first version can control up to '''4 2'''20V devices.
+
* This first version can control up to '''4''' 220V devices.
 
* It can do a soft poweroff of four servers in the space.
 
* It can do a soft poweroff of four servers in the space.
 
* Software running on the audio server.
 
* Software running on the audio server.

Revision as of 21:29, 17 June 2011


Spacecontrol
WhitespaceLogo.gif
What:
We automate because we can!
Participants:
Koen, Piet
Locations:
Whitespace
Events:
How to electrocute an elephant 2, How to electrocute an elephant 4
Cornify
Mission-control.jpg

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

webinterface

Just visit http://spacecontrol while in the space and click the buttons.

Android App

The current version of spacecontrol supports the DomoticHome Android app. This application can be found in the Android market. The first time you use the app go to settings and fill in the following:

IP: 172.22.32.21
PORT: 80

Click save and then when you hit Sync the current Spacecontrol configuration should be loaded. A menu structure will then appear in the main application window allowing you to control the connected appliances.

Insanity mode

Use FireBug or the Chromium thing to add ids 'on' and 'off' to the 'all on' and 'all off' buttons. Then run:

function hax( time ){ if (typeof foo != 'undefined') {return 'bar';}; document.getElementById('on').click(); document.getElementById('off').click(); setTimeout( "hax( " + time + " )", time ); } hax( 1000 );