Skip to content

Simple HomeAssistant door sensor using python3 and GPIO

Notifications You must be signed in to change notification settings

edwardsnjd/pi-door-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-door-sensor

This is a simple door sensor integrating with HomeAssistant.

Usage

Install dependencies: make install

Check dependencies: make check

Set required configuration via environment variables:

cp .env.sh.example .env.sh
$EDITOR .env.sh    # edit to supply your specific configuration
source .env.sh

Start the monitor: make start

Tech

Python script using gpiozero to monitor a GPIO pin and using the HomeAssistant http integration to publish state changes.

About

Simple HomeAssistant door sensor using python3 and GPIO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published