Skip to content
This repository was archived by the owner on Oct 31, 2020. It is now read-only.

Create gosund-WP3.md #29

Merged
merged 6 commits into from
Oct 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions _devices/gosund-WP3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
title: Gosund WP3
date-published: 2019-10-17
type: plug
standard: us
---

1. TOC
{:toc}

## GPIO Pinout

| Pin | Function |
|---------|------------------------------------|
| GPIO04 | Push Button inverted |
| GPIO12 | Status LED |
| GPIO14 | Relay 1 |

## Basic Configuration

```yaml
# Basic Config
---
esphome:
name: gosund_1
platform: ESP8266
board: esp01_1m


wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

manual_ip:
static_ip: !secret gosund_1_ip
gateway: !secret house_gateway
subnet: 255.255.255.0

# Enable logging
logger:

# Enable Home Assistant API
api:
password: !secret ha_esp_api_pw

ota:
password: !secret gosund_1_ota


binary_sensor:
- platform: gpio
pin:
number: GPIO4
mode: INPUT_PULLUP
inverted: True
name: "Gosund_1 button"
on_press:
- switch.toggle: relay

switch:
- platform: gpio
name: "Gosund_1 relay"
pin: GPIO14
id: relay

status_led:
pin:
number: GPIO12
inverted: yes

sensor:
- platform: wifi_signal
name: "Gosund_1 WiFi signal"
update_interval: 60s

- platform: uptime
name: "Gosund_1 uptime"

text_sensor:
- platform: version
name: "Gosund_1 ESPHome version"
```
112 changes: 112 additions & 0 deletions _devices/teckin-ss30.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
---
title: Teckin SS30
date-published: 2019-10-17
type: plug
standard: us
---

1. TOC
{:toc}

## GPIO Pinout

| Pin | Function |
|---------|------------------------------------|
| GPIO00 | Status LED |
| GPIO04 | Relay 1 inverted |
| GPIO05 | Push Button |
| GPIO12 | Relay 3 inverted |
| GPIO13 | Relay 2 inverted |
| GPIO14 | Relay 4 inverted |
| GPIO16 | Relay 5 not inverted |

## Basic Configuration

```yaml
# Basic Config
---
esphome:
name: bedroom_ss30
platform: ESP8266
board: esp01_1m

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

manual_ip:
static_ip: !secret bedroom_ss30_ip
gateway: !secret house_gateway
subnet: 255.255.255.0

# Enable logging
logger:

# Enable Home Assistant API
api:
password: !secret ha_esp_api_pw

ota:
password: !secret bedroom_ss30_ota


sensor:
- platform: wifi_signal
name: "Bedroom SS30 WiFi signal"
update_interval: 60s

- platform: uptime
name: "Bedroom SS30 uptime"

text_sensor:
- platform: version
name: "Bedroom SS30 ESPHome version"

switch:
- platform: gpio
name: "Bedroom SS30 relay 1"
pin: GPIO04
inverted: yes
id: relay1
- platform: gpio
name: "Bedroom SS30 relay 2"
pin: GPIO13
inverted: yes
id: relay2
- platform: gpio
name: "Bedroom SS30 relay 3"
pin: GPIO12
inverted: yes
id: relay3
- platform: gpio
name: "Bedroom SS30 relay 4"
pin: GPIO14
inverted: yes
id: relay4
- platform: gpio
name: "Bedroom SS30 relay 5"
pin: GPIO16
id: relay5

binary_sensor:
- platform: gpio
pin:
number: GPIO5
mode: INPUT_PULLUP
inverted: False
name: "Bedroom SS30 button"
on_press:
- switch.turn_off: relay1
- switch.turn_off: relay2
- switch.turn_off: relay3
- switch.turn_off: relay4
- switch.turn_off: relay5

- platform: status
name: "Bedroom SS30 Status"


status_led:
pin:
number: GPIO00
```