Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Smart Home Automation with Linux- P22:I will end on a note of carefree abandon—learn to steal! Once you’ve learned the pieces of the puzzle and how to combine them, there is very little new to invent. Every new idea you discover is a mere permutation of the old ideas. And ideas are free! Every cool feature discussed on TV shows or presented in the brochures or web sites of commercial HA companies can be taken, adapted, and implemented with the information presented here using very little effort | CHAPTER 6 DATA SOURCES Tip Output each piece of data on a separate line making it easier for other tools to extract the information. You now have a way of knowing which are the next trains to leave. This could be incorporated into a daily news feed recited by a speech synthesizer while making breakfast added to a personal aggregator page or used to control the alarm clock. The method for this will be discussed later. Road Traffic With the whole world and his dog being in love with satellite navigation systems the role of web-based traffic reports has become less useful in recent years. And with the cost coming down every year it s unlikely to gain a resurgence any time soon. However if you have a choice of just one gadget a SatN av or a web-capable handheld PC the latter can still win out with one of the live traffic web sites. The United Kingdom has sites like Frixo www.frixo.com that report traffic speed on all major roads and integrate Google Maps so you can see the various hotspots. It also seems like they have thought of the HA market since much of the data is easily accessible with clear labels for the road speeds between each motorway junction with the roadwork locations and with travel news. Weather Sourcing weather data can occur from three sources an online provider a personal weather station or by looking out of the window I will consider only the first two in the following sections. Forecasts Although there appear to be many online weather forecasts available on the Web most stem from the Weather Channel s own Weather.com. This site provides a web plug-in www.weather.com services downloads and desktop app Windows-only alas to access its data but currently there s nothing more open than that in the way of an API. Fortunately many of the companies that have bought licenses to this data provide access to it for the visitors to their web site and with fewer restrictions. Yahoo Weather for example has data in an XML format that works well but requires a .