Component to integrate with MakerFocus 4 Channel Relay Board Module.
This component will set up the following platforms:
Platform | Description |
---|---|
switch |
Switch something True or False . |
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledmaker_focus_relay_board
. - Download all the files from the
custom_components/maker_focus_relay_board/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- Add sample config to
configuration.yaml
:
switch:
- platform: maker_focus_relay_board
i2c_address: 0x10
pins:
1: First
2: Second
3: Third
4: Fourth
If you want to contribute to this please read the Contribution guidelines