Skip to content

Commit 76e4734

Browse files
authored
Add missing Shelly i4 Gen3 pins (#1366)
1 parent 0de1437 commit 76e4734

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

src/docs/devices/Shelly-i4-Gen3/index.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ Generation 3 of Shelly Plus i4.
1313

1414
## GPIO Pinout
1515

16-
| Pin | Function |
17-
| ------ | -------- |
18-
| ? | LED |
19-
| GPI03 | NTC |
20-
| GPIO10 | Switch 1 |
21-
| GPIO7 | Switch 2 |
22-
| GPIO6 | Switch 3 |
23-
| GPIO5 | Switch 4 |
16+
| Pin | Function |
17+
| ------ | -------------- |
18+
| GPIO9 | LED (inverted) |
19+
| GPI03 | NTC |
20+
| GPIO10 | Switch 1 |
21+
| GPIO7 | Switch 2 |
22+
| GPIO6 | Switch 3 |
23+
| GPIO5 | Switch 4 |
24+
| GPIO4 | Reset Button |
2425

2526
## Programming Interface
2627

@@ -65,6 +66,8 @@ sensor:
6566
unit_of_measurement: "°C"
6667
accuracy_decimals: 1
6768
icon: "mdi:thermometer"
69+
device_class: temperature
70+
entity_category: diagnostic
6871
calibration:
6972
b_constant: 3350
7073
reference_resistance: 10kOhm
@@ -128,9 +131,19 @@ binary_sensor:
128131
- logger.log: "Switch 4 released"
129132
filters:
130133
- delayed_on_off: 50ms
134+
- platform: gpio
135+
name: "Reset Button"
136+
id: reset_button
137+
pin:
138+
number: 4
139+
inverted: yes
140+
mode:
141+
input: true
142+
pullup: true
131143

132144
status_led:
133145
pin:
134-
number: ?
146+
number: 9
135147
inverted: true
148+
ignore_strapping_warning: true
136149
```

0 commit comments

Comments
 (0)