10-20-2006, 01:39 AM
Hi folks,
I'm into home automation and use programs such as Girder to automate things like morning alarm and lights when I'm not home (using X10). Recently I added a function in Girder to read out loud the current weather and forecast. The data retrieval and parsing is done with QuickMacros. I am attaching the QM scripts I use to do this.
The scripts are not generic currently. I have hard coded my geographic location and folder/file paths. You will need to change those before you can run them in you environment.
The data is from the national weather service and is returned in XML format. I use the Microsoft XML COM object to parse it and extract the data I need.
I'm into home automation and use programs such as Girder to automate things like morning alarm and lights when I'm not home (using X10). Recently I added a function in Girder to read out loud the current weather and forecast. The data retrieval and parsing is done with QuickMacros. I am attaching the QM scripts I use to do this.
The scripts are not generic currently. I have hard coded my geographic location and folder/file paths. You will need to change those before you can run them in you environment.
The data is from the national weather service and is returned in XML format. I use the Microsoft XML COM object to parse it and extract the data I need.