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

Add Shelly i3 config #142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
68 changes: 68 additions & 0 deletions _devices/Shelly-i3/Shelly-i3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
title: Shelly i3
date-published: 2020-09-24
type: switch
standard: uk, us, eu
---

1. TOC
{:toc}

## GPIO Pinout

| Pin | Function |
| ------ | -------- |
| GPIO12 | Relay |
| GPIO13 | Relay |
| GPIO14 | Relay |

## Basic Configuration

Since the Shelly i3 has floating inputs there needs to be a delayed_on_off present. 50ms should be sufficient.

```yaml
# Basic Config
substitutions:
devicename: shelly_i3

esphome:
name: ${devicename}
platform: ESP8266
board: esp01_1m

wifi:
ssid: !secret ssid1
password: !secret ssid1_pass

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

# Device Specific Config
binary_sensor:
- platform: gpio
pin:
number: GPIO12
mode: INPUT
name: ${devicename} Switch 1
filters:
- delayed_on_off: 50ms
- platform: gpio
pin:
number: GPIO13
mode: INPUT
name: ${devicename} Switch 2
filters:
- delayed_on_off: 50ms
- platform: gpio
pin:
number: GPIO14
mode: INPUT
name: ${devicename} Switch 3
filters:
- delayed_on_off: 50ms
```