Skip to content

Use RPI GPIO sensors as ST devices (contact/motion)

Notifications You must be signed in to change notification settings

kecorbin/rpi-smartthings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

rpi-smartthings

Use RPI GPIO sensors as ST devices (contact/motion) I found a lot of samples of using RPI for controlling relays/switches and such, but nothing that just did plain old input sensors. With minor modification, this can be used to integrate any digitalIn Pi sensor.

Hopefully others find this useful.

Based upon work by @Ibeech https://github.com/iBeech/SmartThings

Requirements

  • Smartthings Hub
  • Raspberry Pi
  • Various Contact/Motion Sensors.
  • WebIOPi

NOTE: RPi2/RPi3 are not officially supported by WebIOPi. I've posted a patched version Here to save you some time.

Usage

  1. Install device type handlers
  2. Install WebIOpi SmartApp
  3. Publish WebIOpi SmartApp
  4. Add SmartApp from the Smarthings Mobile App

Troubleshooting

Depending on your sensor type, you might want to mess with the internal pullup/pulldowns on the GPIO's.

TODO

  • Update / better documentation
  • Code cleanup

About

Use RPI GPIO sensors as ST devices (contact/motion)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages