Skip to content

rrazor/occupi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

occupi

occupi is a simple occupancy detector designed to run on the Raspberry Pi, using the passive infrared (PIR) sensor module from Adafruit.

Requirements

You will need the following Python modules:

  • python-daemon
  • requests
  • RPi.GPIO (if you set HAS_GPIO = True)

All are installable with pip.

Setup

Copy the config.template.py file and update API_KEY and API_URL.

Running from the command line

python occupi.py

Running as a daemon

python occupid.py start

Run on startup

See the init-script directory for a sample file you can place in /etc/init.d

About

Fun with Python, sensors, and the Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published