Merge pull request #89 from knobunc/add-ota-ids

Add ids to OTA platform entries in all device configs
This commit is contained in:
Aiden
2026-07-24 14:03:03 +08:00
committed by GitHub
23 changed files with 111 additions and 22 deletions
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.1Gang Switch" project_name: "China Athom Technology.1Gang Switch"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.0.2" project_version: "v3.0.3"
# Restore the relay (GPO switch) upon reboot to state: # Restore the relay (GPO switch) upon reboot to state:
light_restore_mode: RESTORE_DEFAULT_OFF light_restore_mode: RESTORE_DEFAULT_OFF
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
@@ -105,13 +105,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -119,6 +122,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-1gang-switch.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-1gang-switch.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -4,7 +4,7 @@ substitutions:
room: "" room: ""
device_description: "athom esp32 2ch relay board" device_description: "athom esp32 2ch relay board"
project_name: "Athom Technology.ESP32 2CH Relay Board" project_name: "Athom Technology.ESP32 2CH Relay Board"
project_version: "v2.0.6" project_version: "v2.0.7"
update_interval: 60s update_interval: 60s
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
@@ -81,13 +81,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -95,6 +98,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-2ch-relay-board.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-2ch-relay-board.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.2Gang Switch" project_name: "China Athom Technology.2Gang Switch"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.0.2" project_version: "v3.0.3"
# Restore the relay (GPO switch) upon reboot to state: # Restore the relay (GPO switch) upon reboot to state:
light1_restore_mode: RESTORE_DEFAULT_OFF light1_restore_mode: RESTORE_DEFAULT_OFF
light2_restore_mode: RESTORE_DEFAULT_OFF light2_restore_mode: RESTORE_DEFAULT_OFF
@@ -108,13 +108,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -122,6 +125,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-2gang-switch.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-2gang-switch.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.3Gang Switch" project_name: "China Athom Technology.3Gang Switch"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.0.2" project_version: "v3.0.3"
# Restore the relay (GPO switch) upon reboot to state: # Restore the relay (GPO switch) upon reboot to state:
light1_restore_mode: RESTORE_DEFAULT_OFF light1_restore_mode: RESTORE_DEFAULT_OFF
light2_restore_mode: RESTORE_DEFAULT_OFF light2_restore_mode: RESTORE_DEFAULT_OFF
@@ -111,13 +111,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -125,6 +128,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-3gang-switch.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-3gang-switch.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -4,7 +4,7 @@ substitutions:
room: "" room: ""
device_description: "athom esp32 4ch relay board" device_description: "athom esp32 4ch relay board"
project_name: "Athom Technology.ESP32 4CH Relay Board" project_name: "Athom Technology.ESP32 4CH Relay Board"
project_version: "v2.0.6" project_version: "v2.0.7"
update_interval: 60s update_interval: 60s
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
@@ -83,13 +83,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -97,6 +100,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-4ch-relay-board.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-4ch-relay-board.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.4Gang Switch" project_name: "China Athom Technology.4Gang Switch"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.0.2" project_version: "v3.0.3"
# Restore the relay (GPO switch) upon reboot to state: # Restore the relay (GPO switch) upon reboot to state:
light1_restore_mode: RESTORE_DEFAULT_OFF light1_restore_mode: RESTORE_DEFAULT_OFF
light2_restore_mode: RESTORE_DEFAULT_OFF light2_restore_mode: RESTORE_DEFAULT_OFF
@@ -114,13 +114,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -128,6 +131,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-4gang-switch.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-4gang-switch.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -4,7 +4,7 @@ substitutions:
room: "" room: ""
device_description: "athom esp32 8ch relay board" device_description: "athom esp32 8ch relay board"
project_name: "Athom Technology.ESP32 8CH Relay Board" project_name: "Athom Technology.ESP32 8CH Relay Board"
project_version: "v2.0.6" project_version: "v2.0.7"
update_interval: 60s update_interval: 60s
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
@@ -87,13 +87,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -101,6 +104,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-8ch-relay-board.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-8ch-relay-board.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: China Athom Technology.Athom Dual Plug V3 project_name: China Athom Technology.Athom Dual Plug V3
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: v3.0.1 project_version: v3.0.2
# Restore the relay (GPO switch) upon reboot to state: # Restore the relay (GPO switch) upon reboot to state:
relay1_restore_mode: RESTORE_DEFAULT_ON relay1_restore_mode: RESTORE_DEFAULT_ON
relay2_restore_mode: RESTORE_DEFAULT_ON relay2_restore_mode: RESTORE_DEFAULT_ON
@@ -118,13 +118,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -132,6 +135,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-dual-smart-plug-v3.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-dual-smart-plug-v3.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -5,7 +5,7 @@ substitutions:
room: "" room: ""
device_description: "athom bl0906 energy meter (2 channels)" device_description: "athom bl0906 energy meter (2 channels)"
project_name: "Athom Technology.Athom Energy Meter(2 Channels)" project_name: "Athom Technology.Athom Energy Meter(2 Channels)"
project_version: "3.0.2" project_version: "3.0.3"
update_interval: 5s update_interval: 5s
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
@@ -85,13 +85,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -99,6 +102,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-energy-monitor-x2.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-energy-monitor-x2.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -5,7 +5,7 @@ substitutions:
room: "" room: ""
device_description: "athom bl0906 energy meter (6 channels)" device_description: "athom bl0906 energy meter (6 channels)"
project_name: "Athom Technology.Athom Energy Meter(6 Channels)" project_name: "Athom Technology.Athom Energy Meter(6 Channels)"
project_version: "3.0.3" project_version: "3.0.4"
update_interval: 5s update_interval: 5s
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
@@ -105,13 +105,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -119,6 +122,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-energy-monitor-x6.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-energy-monitor-x6.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.Garage Door Opener" project_name: "China Athom Technology.Garage Door Opener"
# Project version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Project version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.1.3" project_version: "v3.1.4"
# Status inverted # Status inverted
status_inverted: "true" status_inverted: "true"
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
@@ -80,13 +80,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -94,6 +97,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-garage-door.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-garage-door.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -4,7 +4,7 @@ substitutions:
room: "" room: ""
device_description: "athom esp32c3 ld2450 motion target tracking sensor" device_description: "athom esp32c3 ld2450 motion target tracking sensor"
project_name: "China Athom Technology.PS02C3MZ LD2450" project_name: "China Athom Technology.PS02C3MZ LD2450"
project_version: "v2.0.5" project_version: "v2.0.6"
update_interval: 60s update_interval: 60s
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: "" dns_domain: ""
@@ -66,13 +66,16 @@ web_server:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -80,6 +83,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-ld2450-sensor.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-ld2450-sensor.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.Mini Relay V2" project_name: "China Athom Technology.Mini Relay V2"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.1.1" project_version: "v3.1.2"
# Restore the relay (GPO switch) upon reboot to state: # Restore the relay (GPO switch) upon reboot to state:
light_restore_mode: RESTORE_DEFAULT_OFF light_restore_mode: RESTORE_DEFAULT_OFF
# Set the update interval for sensors # Set the update interval for sensors
@@ -88,13 +88,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -102,6 +105,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-mini-relay-v2.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-mini-relay-v2.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "Athom Technology.Athom PS01C3 Presence Sensor" project_name: "Athom Technology.Athom PS01C3 Presence Sensor"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v4.0.1" project_version: "v4.0.2"
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
# Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney") # Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney")
@@ -83,13 +83,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -97,6 +100,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-presence-sensor-v3.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-presence-sensor-v3.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.Athom RF IR Remote" project_name: "China Athom Technology.Athom RF IR Remote"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.0.5" project_version: "v3.0.6"
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
# Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney") # Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney")
@@ -127,13 +127,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -141,6 +144,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-rf-ir-remote.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-rf-ir-remote.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.Athom RGBCW Bulb" project_name: "China Athom Technology.Athom RGBCW Bulb"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.2.3" project_version: "v3.2.4"
# Restore the light (GPO switch) upon reboot to state: # Restore the light (GPO switch) upon reboot to state:
light_restore_mode: RESTORE_DEFAULT_ON light_restore_mode: RESTORE_DEFAULT_ON
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
@@ -204,13 +204,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -218,6 +221,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-rgbcw-bulb.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-rgbcw-bulb.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.Athom 12W RGBCW Bulb" project_name: "China Athom Technology.Athom 12W RGBCW Bulb"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.1.5" project_version: "v3.1.6"
# Restore the light (GPO switch) upon reboot to state: # Restore the light (GPO switch) upon reboot to state:
light_restore_mode: RESTORE_DEFAULT_ON light_restore_mode: RESTORE_DEFAULT_ON
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
@@ -204,13 +204,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -218,6 +221,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-rgbcw-light.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-rgbcw-light.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -5,7 +5,7 @@ substitutions:
room: "" room: ""
device_description: "athom scd40 CO₂ sensor" device_description: "athom scd40 CO₂ sensor"
project_name: "China Athom Technology.CO₂ Sensor" project_name: "China Athom Technology.CO₂ Sensor"
project_version: "1.0.9" project_version: "1.0.10"
update_interval: 5s update_interval: 5s
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
@@ -88,13 +88,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -102,6 +105,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-scd40-sensor.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-scd40-sensor.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -5,7 +5,7 @@ substitutions:
room: "" room: ""
device_description: "athom sht40 temperature and humidity sensor" device_description: "athom sht40 temperature and humidity sensor"
project_name: "China Athom Technology.Temperature Humidity Sensor" project_name: "China Athom Technology.Temperature Humidity Sensor"
project_version: "1.0.8" project_version: "1.0.9"
update_interval: 5s update_interval: 5s
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
@@ -93,13 +93,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -107,6 +110,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-sht40-sensor.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-sht40-sensor.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+1
View File
@@ -112,6 +112,7 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
logger: logger:
baud_rate: 0 # 0 Enables logging, but disables serial-port logging to free CPU and memory baud_rate: 0 # 0 Enables logging, but disables serial-port logging to free CPU and memory
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.Athom Plug V3" project_name: "China Athom Technology.Athom Plug V3"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v2.0.3" project_version: "v2.0.4"
# Restore the relay (GPO switch) upon reboot to state: # Restore the relay (GPO switch) upon reboot to state:
relay_restore_mode: RESTORE_DEFAULT_ON relay_restore_mode: RESTORE_DEFAULT_ON
# Set the update interval for sensors # Set the update interval for sensors
@@ -115,13 +115,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -129,6 +132,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-smart-plug.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-smart-plug.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.Athom Wall Outlet V3" project_name: "China Athom Technology.Athom Wall Outlet V3"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v3.0.2" project_version: "v3.0.3"
# Restore the relay (GPO switch) upon reboot to state: # Restore the relay (GPO switch) upon reboot to state:
relay_restore_mode: RESTORE_DEFAULT_OFF relay_restore_mode: RESTORE_DEFAULT_OFF
# Set the update interval for sensors # Set the update interval for sensors
@@ -114,13 +114,16 @@ api:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -128,6 +131,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-wall-outlet-v3.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-wall-outlet-v3.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)
+5 -1
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name # Project Name
project_name: "China Athom Technology.Athom Zigbee Gateway" project_name: "China Athom Technology.Athom Zigbee Gateway"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v2.0.9" project_version: "v2.0.10"
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local" dns_domain: ".local"
# Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney") # Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney")
@@ -105,13 +105,16 @@ logger:
ota: ota:
- platform: esphome - platform: esphome
id: ota_esphome
# Enables OTA firmware flashing from a URL (used by the update component below) # Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request - platform: http_request
id: ota_http_request
# Required by the ota http_request platform and the update component. # Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during # verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing. # the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request: http_request:
id: http_request_component
verify_ssl: false verify_ssl: false
update: update:
@@ -119,6 +122,7 @@ update:
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages # and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs. # manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request - platform: http_request
id: update_http_request
name: "Firmware Update" name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-zigbee-gateway.manifest.json source: https://athom-tech.github.io/esp32-configs/firmware/athom-zigbee-gateway.manifest.json
# update_interval defaults to 6h (how often it checks, not installs) # update_interval defaults to 6h (how often it checks, not installs)