i2crelay

A library and command line tool to control PCF8574 I2C relay boards


Keywords
relay, i2c, pcf8574, raspberry, automation
License
GPL-2.0
Install
pip install i2crelay==0.1.0

Documentation

I2CRelay: A library to control 8-channel relay boards via PCF8574 I2C

WORK IN PROGRESS - Not really usable yet.

Hardware

I2C Device Permissions

The user running the scripts needs access to the i2c devices in the /dev tree. Instead of running the code as root you can add your user to the i2c group.