For those that want 4 relays cheaply using a clone of the Seeed studio V2.0 relay board available on AliExpress here, this is how it's configured in HA. Simply follow the Arduino instructions to load the Firmata firmware on your board then plug the Arduino board into your Raspberry Pi.
arduino:
port: /dev/ttyACM0
switch:
platform: arduino
pins:
4:
name: Relay 4
5:
name: Relay 3
6:
name: Relay 2
7:
name: Relay 1
13:
name: Internal LED
The manual for the relay board is here.
Comments
Post a Comment