Use HTTP GET to log your TWINE triggers
I see people trying to get their device working and there are issue about 'Did Rules Trigger?' or 'Did it not trigger or did I just not get the SMS'.
I created a way for anyone (with a twine and internet access) to configure their twine with an HTTP POST rule and have it log their trigger actions.
Example:
Rule is "When TEMP is GREATER THAN 72 degrees"
Action is "Send me an SMS"
For some reason, I'm not getting SMS alerts. Is my twine really triggering? Well to find out I can add a HTTP POST call to my rule. When the rule triggers, that HTTP POST will create a record on my server and then when you view my server, it will show all the requests that have come from your IP.
Note that you must supply a URL variable with the GET REQUEST.
Here's how to set it up:
2. Click on the 'Rules >' button to view your rules.
3. On an existing rule, click 'Add an Action' and select 'HTTP Request'.
4. Enter the following into the field for URL to log the temperature.
5. Click the 'Test URL' button.
Note:
YOU MUST HAVE A URL VARIABLE FOR THIS TO WORK.
TWINE WILL ONLY SEND THE FIRST VARIABLE
This is an issue with Twine's servers as only the first variable is sent in the request string.
Post questions and comments below and I'll do my best to help and address things.
Comments
http://nimbits1.appspot.com/service//service/currentvalue?value=[Temperature]&point=test&email=bsautner@gmail.com&format=double&secret=yournimbitssecet
Submit to: http://nimbits1.appspot.com/service//service/currentvalue
The rest of it will be truncated.