Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.remote_rpi_gpio Namespace Reference

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"
 

Detailed Description

Support for controlling GPIO pins of a Raspberry Pi.

Function Documentation

◆ read_input()

def homeassistant.components.remote_rpi_gpio.read_input (   sensor)
Read a value from a GPIO.

Definition at line 55 of file __init__.py.

◆ setup_input()

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.

◆ setup_output()

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.

◆ write_output()

def homeassistant.components.remote_rpi_gpio.write_output (   switch,
  value 
)
Write a value to a GPIO.

Definition at line 47 of file __init__.py.

Variable Documentation

◆ CONF_BOUNCETIME

string homeassistant.components.remote_rpi_gpio.CONF_BOUNCETIME = "bouncetime"

Definition at line 6 of file __init__.py.

◆ CONF_INVERT_LOGIC

string homeassistant.components.remote_rpi_gpio.CONF_INVERT_LOGIC = "invert_logic"

Definition at line 7 of file __init__.py.

◆ CONF_PULL_MODE

string homeassistant.components.remote_rpi_gpio.CONF_PULL_MODE = "pull_mode"

Definition at line 8 of file __init__.py.

◆ DEFAULT_BOUNCETIME

int homeassistant.components.remote_rpi_gpio.DEFAULT_BOUNCETIME = 50

Definition at line 10 of file __init__.py.

◆ DEFAULT_INVERT_LOGIC

bool homeassistant.components.remote_rpi_gpio.DEFAULT_INVERT_LOGIC = False

Definition at line 11 of file __init__.py.

◆ DEFAULT_PULL_MODE

string homeassistant.components.remote_rpi_gpio.DEFAULT_PULL_MODE = "UP"

Definition at line 12 of file __init__.py.

◆ DOMAIN

string homeassistant.components.remote_rpi_gpio.DOMAIN = "remote_rpi_gpio"

Definition at line 14 of file __init__.py.