eightBEC / dht11IoTF

IoT Playground

Home Page:https://twitter.com/8B_EC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dht11IoTF

Temperature and Humidity IoT Sample

This repository contains sample code for measuring temperature and humidity on the Raspberry Pi model B+.

Installation

Clone this repository to your RPi and create a configuration file /home/pi/device.cfg containing your IBM Bluemix IoT Foundation configuration

[device]
org=$YourOrgId
type=$DeviceType
id=$DeviceId
auth-method=token
authKey=$authKey
auth-token=$authToken

Content

By running the following command on your RPi, every 60 seconds an event get published containing the current temperature and humidity.

$ python iot.py 

See this example to visualize your events.

About

IoT Playground

https://twitter.com/8B_EC


Languages

Language:Python 100.0%