Hi,
This is continuation of the posts :
1. Getting started with Raspberry Pi using DHT11 Temperature and Humidity Sensor :
https://johnsylvester-johnsylvester.blogspot.com/2018/07/getting-started-with-raspberry-pi-dht11.html
2. Publish Temperature and Humidity to Telegram :
https://johnsylvester-johnsylvester.blogspot.com/2018/07/publish-temperature-humidity-to.html
If you have not completed above two , complete it and then continue this post.
Lets see how to publish the temperature & humidity to Twitter using Raspberry Pi 3 B+
I. Twitter Setup
a) Login into your twitter account to https://apps.twitter.com
b) Create a new Twitter Application as follows:
Note down the Consumer Key , Consumer Secret
b) Click "Create my access token " and generate Access token , Access Token Secret and note it down.
II. Node Flow Setup
a) Get the Node Red flow from "Publish Temperature and Humidity to Telegram Post :
https://johnsylvester-johnsylvester.blogspot.com/2018/07/publish-temperature-humidity-to.html"
b) Drag and drop "twitter out" from the left palette and complete the Node Red Flow diagram
c) Configure the twitter out node as follows :
1) Click the edit icon
2) Provide the Consumer Key , Secret , Access Token and Access secret and click "Done".
III. Deploy and test the flow :
Now , you have successfully got the temperature & humidity from DHT11 Sensor published to twitter.
Kindly share your comments to improve my posting.
No comments:
Post a Comment