mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-01 08:47:35 +00:00
1.3 KiB
1.3 KiB
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category |
---|---|---|---|---|---|---|---|---|---|
page | Arduino switch support | Instructions how to integrate Arduino boards within Home Assistant. | 2015-09-14 18:28 | false | false | true | true | arduino.png | Switch |

To enable the Arduino pins with Home Assistant, add the following section to your configuration.yaml
file:
# Example configuration.yaml entry
switch:
platform: arduino
pins:
11:
name: Fan Office
type: digital
12:
name: Light Desk
type: digital
Configuration variables:
- pins (Required): Array of pins to use. The number corresponds with the pin numbering schema of your board.
- name: Name that will be used in the frontend for the pin.
- type: The type of the pin. At the moment only 'digital' is supported.
The digital pins are numbered from 0 to 13. The available pins are 2 till 13. For testing purposes you can use pin 13 because with that pin you can control the internal LED.