This tutorial presents how Beebotte can be used to monitor temperature and humidity of your home or office. We will use a
Raspberry Pi to report data to Beebotte and a
DHT11 sensor to detect humidity and temperature.
This tutorial assumes that you have successfully
registered to Beebotte and obtained your
API and Secret keys.
We will connect a low cost DHT11 humidity and temperature sensor to a Raspberry Pi board and report readings to Beebotte using the Python SDK (REST API). We need the following:
Follow the following wiring diagram to setup your hardware:
Before sensding data to Beebotte, we need to create a
Channel. For this experiment, we need to create two resources for humidity and temperature.
In your account home page, click on
Create New and follow the instructions to create your channel.
We use Beebotte Python SDK to send sensor data to the created channel. We need to specify the API access and secret keys of our account, and to indicate the names of the created channel and resources.
In order to run the code, we need first to install the required packages:
Python SDK can be downloaded with:
In your account page, goto
My Dashboards and click
Create Dashboard; enter a friendly name and a short description of your dashboard then add 2
Attribute Widgets and 2
Timeline widgets. For every widget, indicate the channel and resource where data will be read from. Voilà.
If you wish, you can set your dashboard as
In this tutorial we learned how to connect a Raspberry Pi to Beebotte. You can enhance your project by: