mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-11 04:50:29 +02:00
Update boneio-32x10_switches_v0_4.yaml
This commit is contained in:
@@ -8,8 +8,8 @@ esphome:
|
|||||||
friendly_name: '${friendly_name}'
|
friendly_name: '${friendly_name}'
|
||||||
name_add_mac_suffix: true
|
name_add_mac_suffix: true
|
||||||
project:
|
project:
|
||||||
name: boneio.32x10-lights
|
name: boneio.32x10-switches
|
||||||
version: '0.4'
|
version: '0.4PP'
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
board: nodemcu-32s
|
board: nodemcu-32s
|
||||||
@@ -22,6 +22,7 @@ ethernet:
|
|||||||
clk_mode: GPIO0_IN
|
clk_mode: GPIO0_IN
|
||||||
phy_addr: 1
|
phy_addr: 1
|
||||||
power_pin: GPIO16
|
power_pin: GPIO16
|
||||||
|
#use_address:
|
||||||
|
|
||||||
dashboard_import:
|
dashboard_import:
|
||||||
package_import_url: github://boneIO-eu/esphome/boneio-32x10_switches_v0_4.yaml@latest
|
package_import_url: github://boneIO-eu/esphome/boneio-32x10_switches_v0_4.yaml@latest
|
||||||
@@ -47,7 +48,9 @@ logger:
|
|||||||
api:
|
api:
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
platform: esphome
|
||||||
|
password: boneio
|
||||||
|
|
||||||
|
# disable web server - for testing only
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
local: true
|
local: true
|
||||||
@@ -56,7 +59,12 @@ time:
|
|||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
timezone: Europe/Warsaw
|
timezone: Europe/Warsaw
|
||||||
id: homeassistant_time
|
id: homeassistant_time
|
||||||
|
# instead try to synchronize via network repeatedly ...
|
||||||
|
on_time_sync:
|
||||||
|
then:
|
||||||
|
# ... and update the RTC when the synchronization was successful
|
||||||
|
ds1307.write_time:
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: output
|
- platform: output
|
||||||
name: 'Switch 01'
|
name: 'Switch 01'
|
||||||
|
|||||||
Reference in New Issue
Block a user