After combining the sender, receiver and both Twitter sketches (and making some adjustments), I now present to you… the final result.
The following sketch
- checks for tweets with a specific hashtag every 40 seconds. When it finds one, it makes the doorbell ring and posts the screen name of the tweep as a new tweet;
- posts a tweet when someone pushes the doorbell button.
To avoid posting a duplicate tweet (which isn’t allowed by Twitter), the program appends a timestamp to each tweet.