My twine is setup to email me if the garage door has been open for more than 30min. After some initial email delivery hiccups this is now working well.
I also wanted to write a program for my Android phone so that I could query the garage door's status directly. Yes, I know I can bookmark the twine's page but that's not as fun as writing a program that pops up a simple "OPEN" or "CLOSED" alert panel :-)
If you're interested in doing the same thing, here are some tips...
On my Android 4.1 Jellybean phone (Nexus S) StartCom, the CA for twine.supermechanical.com, isn't trusted. When I hit my twine's page with a browser I get a certificate error. It's easy enough to hit "Continue" in the browser, but more annoying to deal with this programmatically.
So I downloaded the following certs to root directory my phone and then imported them with System Settings -> Security ->Install from storage:https://www.startssl.com/certs/ca.cerhttps://www.startssl.com/certs/sub.class1.client.ca.crt
(You may only need the second one but I loaded both to be sure)
Once completed you should no longer get certificate errors in your browser.
The next step is getting your twine's status. I used Firefox + Live HTTP Headers to watch the http traffic when I load the twine's page and isolate the call the retrieves the JSON-encoded twine status.
My JSON status URL looks something like this:https://twine.supermechanical.com/rt/<1>?cached=1&_=<2>
<1> is the twine's id # (long number that's in your twine's status page URL
<2> is another long number, I assume a timestamp, I haven't played with this, just grabbed it verbatim from the HTTP request. Maybe one of the Twine team members can comment?
The other item you want from that request is your user_id cookie. You'll need to supply it when your program makes a GET request.
Parsing the JSON is easy, I just look for a substring of "top" or "front" which, on my twine, maps to the garage door being "CLOSED" or "OPEN".
I used Tasker to write the program itself. A very handy tool for quick prototyping, writing productivity apps, or customizing your phone's behavior. If you have an Android phone and have read this far, my guess is that you'll find it useful! :-)http://tasker.dinglisch.net/
Hope this helps, have fun!