/seeed_relay_board

Home assistant integration for Seeed's 4-Channel SPDT Relay Raspberry Pi Hat

Primary LanguagePython

seeed_relay_board

Home assistant integration for Seeed's 4-Channel SPDT Relay Raspberry Pi Hat relay board V1

It uses relay_lib_seeed.py written by @johnwargo

Using this integration should be simple as cloning this repo in you custom_integration folder and adding following lines to your configuration.yaml:

switch:
  - platform: seeed_relay_board
    ports:
      1: relay 1
      2: relay 2
      3: relay 3
      4: relay 4

By default this integration uses i2c adress 21, this can be changed at line 19 of relay_lib_seed.py

This integration is only tested on the first version of the relay board (released in 2015) but the newer version (released in 2021) should also work.