So, I am an encoder, I am doing PHP, JavaScript and Objective-C. I am currently working on the website for quite some time and, being 16, actually have no “office” except a table in my bedroom ... Therefore, I spend quite a bit of time in my room coding this website and I have little problem.
My bedroom is in the back of our house, with windows facing the West, so in the afternoon the sun shines in the windows, heating the room. Right now, when I print this, it is 28.5 degrees C, but it is getting as hot as 32, which is also too inconvenient for work.
Being a kind of geek, I wonder if it’s possible, or perhaps get a USB thermometer or the like that is Mac compatible, and then use AppleScript to detect when the temperature reaches a certain level. If, for example, up to 23 degrees, I would like to see a Growl notification saying: “Open a small window”, 25 degrees “Open both large windows”, and 28 degrees “Open all windows and door”, for example ...
I think it would be pretty neat, even if I were the only person who ever used it! So, is this possible, and where can I get a USB thermometer (if they even exist ...)? eBay? I also understand that this question is not directly related to programming, but I really did not know where else to ask it ... so is the programming question an opportunity to get data from USB devices via AppleScript? - there that will do.
Hurrah!
Jack
PS For all of you hardcore Arizona or Texans or something else, I live in the UK, and temperatures like 30 degrees make us leave;)