Skip to content

nitsewg/iot-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Simple python script to interface a Raspberry Pi with an IoT relay power strip.

This monitors a network device, and when it detects the remote device is offline, it kills power to the IoT relay outlets.

Simple setup:

Connect ground from the relay to ground on the Raspi. Connect positive from the relay to GPIO18 on the Raspi.

Set the IP address you want to monitor in the code.

Optional: Create crontab entry to start script on boot.

About

interface raspi with iot relay

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages