Namespaces | |
| binary_sensor | |
| switch | |
Functions | |
| def | read_input (sensor) |
| def | setup_input (address, port, pull_mode, bouncetime) |
| def | setup_output (address, port, invert_logic) |
| def | write_output (switch, value) |
Variables | |
| string | CONF_BOUNCETIME = "bouncetime" |
| string | CONF_INVERT_LOGIC = "invert_logic" |
| string | CONF_PULL_MODE = "pull_mode" |
| int | DEFAULT_BOUNCETIME = 50 |
| bool | DEFAULT_INVERT_LOGIC = False |
| string | DEFAULT_PULL_MODE = "UP" |
| string | DOMAIN = "remote_rpi_gpio" |
Support for controlling GPIO pins of a Raspberry Pi.
| def homeassistant.components.remote_rpi_gpio.read_input | ( | sensor | ) |
Read a value from a GPIO.
Definition at line 55 of file __init__.py.
| def homeassistant.components.remote_rpi_gpio.setup_input | ( | address, | |
| port, | |||
| pull_mode, | |||
| bouncetime | |||
| ) |
Set up a GPIO as input.
Definition at line 28 of file __init__.py.
| def homeassistant.components.remote_rpi_gpio.setup_output | ( | address, | |
| port, | |||
| invert_logic | |||
| ) |
Set up a GPIO as output.
Definition at line 17 of file __init__.py.
| def homeassistant.components.remote_rpi_gpio.write_output | ( | switch, | |
| value | |||
| ) |
Write a value to a GPIO.
Definition at line 47 of file __init__.py.
| string homeassistant.components.remote_rpi_gpio.CONF_BOUNCETIME = "bouncetime" |
Definition at line 6 of file __init__.py.
| string homeassistant.components.remote_rpi_gpio.CONF_INVERT_LOGIC = "invert_logic" |
Definition at line 7 of file __init__.py.
| string homeassistant.components.remote_rpi_gpio.CONF_PULL_MODE = "pull_mode" |
Definition at line 8 of file __init__.py.
| int homeassistant.components.remote_rpi_gpio.DEFAULT_BOUNCETIME = 50 |
Definition at line 10 of file __init__.py.
| bool homeassistant.components.remote_rpi_gpio.DEFAULT_INVERT_LOGIC = False |
Definition at line 11 of file __init__.py.
| string homeassistant.components.remote_rpi_gpio.DEFAULT_PULL_MODE = "UP" |
Definition at line 12 of file __init__.py.
| string homeassistant.components.remote_rpi_gpio.DOMAIN = "remote_rpi_gpio" |
Definition at line 14 of file __init__.py.