You can now send a tweet alert based on your sensor data from any of our sensing devices (USB or WiFi interface) per the following steps:
- You need to create a twitter account if you don't already have one.
- You need to create an account with ThingSpeak.com which is an IoT platform. The account is free.
- Create a Private channel and fill in the channel settings for your sensing device.
- Go to Apps menu and select ThingTweet app.
- On the ThingTweet page, click Link Twitter Account to link your Twitter account to your ThingSpeak account.
- Enter your user name and password of your Twitter account and click Authorize App. (See Figure 1). On the Authorization page, click back to ThingTweet and you will see that your Twitter account is linked to ThingSpeak.
- Go to Apps menu and select the React app. Click New React.
- You can now set the condition for when a tweet alert is sent. In this example, a tweet alert is sent every 10 minutes if Humidity is above 40%RH (See Figure 2). Click Save React.
- Go back to your channel / API keys tab and copy the Write API key code. Paste the code in the API key text box in our PC app. This will allow our PC app or our wireless device be connected to ThingSpeak for sending sensor data to cloud. You can check out our previous news post Sending sensor data directly to Cloud for more details.
Congratulations. You are now setup for sending tweet alerts based on your sensor data condition.
Figure 1 - ThingTweet Page
Figure 2 - React Page