Pencom
Pencom Design is a manufacturer of computer-controlled relay, I/O and custom boards for commercial and industrial applications. This interface to Pencom’s Relay Control Boards is designed to work over an ethernet to serial adapter (NPort). Each switch (relay) can be turned on/off, and the state of the relay can be read.
Configuration
The Pencom relays can be daisy-chained to allow for up to 8 boards. To enable Pencom in your installation, add it to your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file, restart Home Assistant to apply the changes. To view the changes, go to Settings > Devices & services > Entities.
# Example configuration.yaml entry
switch:
- platform: pencom
host: host.domain.com
port: 4001
boards: 2
relays:
- name: "Irrigation"
addr: 0
- name: "Upper Entry Door"
addr: 1
- name: "Fountain"
addr: 0
board: 2
Configuration Variables
The IP address of the ethernet to serial adapter. It is assumed that the adapter has been preconfigured.