tailieunhanh - Apress - Smart Home Automation with Linux (2010)- P50

Apress - Smart Home Automation with Linux (2010)- P50:Linux users can now control their homes remotely! Are you a Linux user who has ever wanted to turn on the lights in your house, or open and close the curtains, while away on holiday? Want to be able to play the same music in every room, controlled from your laptop or mobile phone? Do you want to do these things without an expensive off-the-shelf kit | CHAPTER 7 CONTROL HUBS This uses the tweet command to update their Twitter status thereby using the configuration information from the given user with their credentials being stored in MINBASE etc users user external twitter. The Voice Conduit Input output. In its current state all voice recognition input is taken from an HTTP request on a separate page that triggers the msgrcv script with the given command. The output conduit has a direct connection to the Festival speech synthesis suite which has already been abstracted through Bearskin with say and announce. Vocal output is also a very good debugging conduit since the output is immediately accessible. Web Log Output only. This is the same as the standard logger but writes its output to a different file var log minerva weblog. Window Alert Output only. This displays the message on an X Window terminal using the basic kdialog program. The existing script exports the DISPLAY variable to display the box on the current system but could be set to any suitably configured installation of X Window on the network. If you need this to support Windows users then you must install some software such as Apache onto those machines to listen for an incoming message and then use it to trigger a small script once the appropriate message is received. The following code called will use the Windows Scripting Host WSH to display a suitable box message for i 0 i i message i message Note that the file extension is important since this is used to determine the particular scripting engine. Administering Conduits The administration of conduits is simple since the major work is handled by the commands themselves. The task of adding conduits to the system is processed by the msgconduit command. This command can either list the existing conduits shown earlier or add a new one like so msgconduit create newconduitname 228 CHAPTER 7 CONTROL HUBS or add a new command into an

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.