Skip to content

Commit

Permalink
Make ethernet optional (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored Jan 10, 2024
1 parent 84629a3 commit 8671c37
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions coordinator-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ packages:
ref: main
files:
- packages/core.yaml
- packages/ethernet.yaml
- packages/status_led.yaml
- packages/i2c.yaml
- packages/button_zigbee_reset.yaml
Expand Down
2 changes: 1 addition & 1 deletion packages/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ esphome:
comment: ${device_description}
project:
name: "syssi.esphome-zb-gw03"
version: 1.0.0
version: 2.0.0
on_boot:
priority: 600
then:
Expand Down
7 changes: 7 additions & 0 deletions packages/ethernet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 1
power_pin: GPIO16
3 changes: 3 additions & 0 deletions packages/wifi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
1 change: 1 addition & 0 deletions router-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ packages:
ref: main
files:
- packages/core.yaml
- packages/ethernet.yaml
- packages/status_led.yaml
- packages/button_pairing_mode.yaml
refresh: 0s

0 comments on commit 8671c37

Please sign in to comment.