Skip to content

Commit 0582ebc

Browse files
davegravyfabaff
authored andcommitted
Created new documentation for GC100 component and platforms (home-assistant#3789)
* Create gc100.markdown * Create binary_sensor.gc100.markdown * Create switch.gc100.markdown * Fixed formatting of configuration variables * Elaborated on what gc100 is * Implemented fabaff's requested changes removed blank line, updated yaml example to be a list of ports, added period to ports parameter description. * Implemented changes requested by fabaff removed blank line, fixed yaml format, added period to ports parameter description * Fixed ha_release and ha_category * Fixed ha_release and ha_category * Implemented changes requested by fabaff. fixed ha_release and added parameters. * Updated introduciton description Implemented suggestion by upsert and referenced iTach library.
1 parent b8b9190 commit 0582ebc

File tree

3 files changed

+91
-0
lines changed

3 files changed

+91
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: page
3+
title: gc100 Binary Sensor
4+
description: "Instructions on how to set up an gc100 binary sensor within Home Assistant."
5+
date: 2017-10-27 17:26
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
ha_category: Binary Sensor
11+
ha_release: 0.57
12+
ha_iot_class: "Local Polling"
13+
---
14+
15+
To enable this sensor, you first have to set up [gc100](/components/gc100/), and add the following lines to your `configuration.yaml` file:
16+
17+
```yaml
18+
# Example configuration.yaml entry
19+
binary_sensor:
20+
- platform: gc100
21+
ports:
22+
- '3:1': Doorchime
23+
- '3:2': Garage Obstruction
24+
```
25+
26+
Configuration variables:
27+
28+
- **ports** (*Required*): A list of module-address to name mappings in the format 'x:y': name, where x is module #, y is address.
29+

source/_components/gc100.markdown

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: page
3+
title: "gc100"
4+
description: "Instructions on how to integrate gc100 with Home Assistant."
5+
date: 2017-10-26 17:20
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
ha_category: Hub
11+
ha_release: 0.57
12+
---
13+
14+
The Global Caché [GC-100](https://www.globalcache.com/products/gc-100/) can be integrated into Home Assistant. GC-100 is a TCP-controllable
15+
hardware device which has an array of relays, RS232 serial ports, and flexible ports which can be programmed to be either digital inputs or IR blaster outputs. There are a variety of submodels of the GC-100 which have different amounts of each I/O type.
16+
17+
Currently, only relays and ports configured to be digital inputs are supported in Home Assistant. For IR support, please use the iTach remote platform (https://home-assistant.io/components/remote.itach/), but note that it will likely not function concurrently on the same GC100 due to limitations in the TCP socket server implementation used by Global Caché.
18+
19+
To enable this device, add the following lines to your `configuration.yaml`:
20+
21+
```yaml
22+
# Example configuration.yaml entry
23+
gc100:
24+
host: 192.168.1.114
25+
port: 4998
26+
```
27+
28+
Configuration variables:
29+
30+
- **host** (*Required*): The hostname/IP address of your GC100 device.
31+
- **port** (*Optional*): The port on which the GC100 is listening.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: page
3+
title: gc100 Switch
4+
description: "Instructions on how to set up an gc100 switch within Home Assistant."
5+
date: 2017-10-27 17:26
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
ha_category: Switch
11+
ha_release: 0.57
12+
ha_iot_class: "Local Polling"
13+
---
14+
15+
This allows you to control and monitor the relay state on your GC100.
16+
17+
To enable this switch, you first have to set up [gc100](/components/gc100/), and add the following lines to your `configuration.yaml` file:
18+
19+
```yaml
20+
# Example configuration.yaml entry
21+
switch:
22+
- platform: gc100
23+
ports:
24+
- '4:1': Siren
25+
- '4:2': Sprinkler
26+
```
27+
28+
Configuration variables:
29+
30+
- **ports** (*Required*): A list of module-address to name mappings in the format 'x:y': name, where x is module #, y is address.
31+

0 commit comments

Comments
 (0)