- House temp greater than 70.
Outside temp at least 5 degrees cooler.
Window A open.
Window B open.
I'm using Wunderground for the outside temp. In the standard rules I can access "Current Conditions - Temperature." How do I access it from an AppleScript? There is no device property that syncs up with the temperature. Here's the portion of the script setting variables.
- Code: Select all
set HouseTemp to temperatures of device named "Dining Room Thermostat (Nest)"
log HouseTemp
#set OutsideTemp to temperatures of device named "Temperature"
#log OutsideTemp
set DiffTemp to HouseTemp #-OutsideTemp
log DiffTemp
I have looked at possibly using Wunderground's API. However, considering they require a website address when registering and I don't have one since this is for personal use, I am leery of going through all the registration process, scripting and configuration only to have WU pull my API key. Thoughts?