Hi, I'd like to automate the shutdown of SB server:
I have a magic button at home that turns off all lights when we go to sleep or when leaving home (=when I turn the alarm on). This is extremely handy because I stopped counting the times kids leave the light on. Turning the alarm on, also reduces temperature of central heating. For those who are interested, this is all managed with a PLC Crouzet Millenium XD26 so it's a bit smarter than cutting everything off : 1 push on the button turns external lights off, 2nd push turns lights off in peripheral rooms, 3rd and 4th push turns lights off in the all rooms. When turning the alarm on (=when leaving home), the sequence is automatic but at nigh, the external lights stays on for 5 minutes. When coming home (=when turning the alarm off) at night only, some lights go on automatically for some time. Imagination is the limit. It must be smart and transparent enough but eventually wife is happy. Kids are even more happy because now, they have an excuse for leaving everything on since they say it's all taken care of magically :( I still need to deal about that. I'd like to go one step further and also turn off some equipments that are unlikely to be used at home when we sleep or when we're out i.e. oven, hi-fi stuffs, adsl modem/wi-fi repeater/TV decoders, printers, PCs, VoIP phones, TVs, countless battery chargers, Nintendo, PS3, a PopcornHour C-200 on order, a Touch and two Radios, etc... that have pervasively entered our home. All together these stuffs takes at least 70W on a permanent basis when idle. This is the power that I need to maintain the jacuzzi at 36°C ! I tested that I can pull the plug of Touch; it always restarts OK (so far). My problem is to shutdown the SQ server nicely. It's a Dockstar/debian. Perhaps I'll go to vortexbox in a near future. Coming back to the QUESTION : How can I generate a clean shutdown based on a contact on a relay ? Also, I have battery packs in the two radios. Shutting power off is therefore useless because I consume power to charge the battery later. In the worst case, batteries are empty when I need them. So I'd like to initiate a clean shutdown of the Radios as well. Any magic mechanism that the server send a CLI command before shutting down ? Thanks for your ideas. -- reniera ------------------------------------------------------------------------ reniera's Profile: http://forums.slimdevices.com/member.php?userid=40705 View this thread: http://forums.slimdevices.com/showthread.php?t=85017
_______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
