Difference between revisions of "Space state"
Coolepascal (talk | contribs) |
|||
Line 4: | Line 4: | ||
|Description=Show the current state (open or closed) of our space | |Description=Show the current state (open or closed) of our space | ||
}} | }} | ||
− | For now we'll use our Skype account "ACK.space" to show whether the space is currently open or closed. | + | <strike>For now we'll use our Skype account "ACK.space" to show whether the space is currently open or closed. Later we'll have a better set up.</strike> |
− | Later we'll have a better set up. | ||
− | Although we forgot to update this page, the SpaceState switch is working fine now. | + | Although we forgot to update this page, the SpaceState switch is working fine now. This is how it's done |
− | This is how it's done | ||
− | We found an huge powerswitch which we mounted to the space wall | + | We found an huge powerswitch which we mounted to the space wall this switch is connected with a cable to the Space-Mac using an serial to usb converter. On the Mac a perl scripts reads the space state. If the space-state changes, the perlscripts uses wget to call an php script on the ACKspace website. The php scripts sets an space-state variable in a file. The same script is used to read the space-state variable and show the status on the webpage. |
− | this switch is connected with a cable to the Space- | + | |
− | On the | + | |
− | If the | + | |
− | The php scripts sets an space-state variable in a file. | + | [[Image:Spacestate_switch.jpg|left|400px]][[Image:Spacestate_closed.jpg|left]] |
− | The same script is used to read the space-state variable and show the status on the webpage. | + | |
+ | [[Image:Spacestate_open.jpg|left]] |
Revision as of 21:18, 19 July 2011
Project: Space state | |
---|---|
Featured: | |
State | Active |
Members | Vicarious, xopr |
GitHub | No GitHub project defined. Add your project here. |
Description | Show the current state (open or closed) of our space |
Picture | |
No project picture! Fill in form Picture or Upload a jpeg here |
For now we'll use our Skype account "ACK.space" to show whether the space is currently open or closed. Later we'll have a better set up.
Although we forgot to update this page, the SpaceState switch is working fine now. This is how it's done
We found an huge powerswitch which we mounted to the space wall this switch is connected with a cable to the Space-Mac using an serial to usb converter. On the Mac a perl scripts reads the space state. If the space-state changes, the perlscripts uses wget to call an php script on the ACKspace website. The php scripts sets an space-state variable in a file. The same script is used to read the space-state variable and show the status on the webpage.