Skip to content

horia-alungulesei/iotp-connect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@aerosee/iotp-connect

Connects the DHT22 sensor to IBM's IoT Platform. To be used on a Raspberry Pi.

Prerequisites

Run the prereq.sh script, it should prompt for the root password to install the required BCM 2835 library.

chmod +x prereq.sh | ./prereq.sh
npm install

IBM IoT Configuration

Create a new device type and a new device in the IBM IoT platform. Details here: https://console.bluemix.net/docs/services/IoT/iotplatform_task.html#iotplatform_subtask1.

Configure fields in the config.json file with the respective org, device type, device ID and token from the IBM IoT platform.

Usage

npm start

About

Connects the DHT22 sensor to IBM's IoT Platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 74.4%
  • Shell 25.6%