Tweet that meat!


 

Steve_M

TVWBB Guru
Using thingspeak.com I've enable the ThingTweet app integration and now have the HeaterMeter setup to send a tweet with any alarm.

In the HM Alarm Scripts > All Alarm Script box, I'm using this one liner.

Code:
curl -q -k -d "api_key=MY_THINGSPEAK_TWITTER_API_KEY" -d "status=$pn Alert: Alarm $al_type outside threshold $al_thresh, currently $pcurr" https://api.thingspeak.com/apps/thingtweet/1/statuses/update

All you need to do is change MY_THINGSPEAK_TWITTER_API_KEY with the one that thingspeak.com provides you when you link your twitter account.
 
Last edited:

 

Back
Top