Last active
February 26, 2023 05:49
-
-
Save evilmarty/48c81b3a76558a7489fb4168d02d916c to your computer and use it in GitHub Desktop.
Revisions
-
evilmarty revised this gist
Feb 26, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ substitutions: ac_platform: "coolix" dashboard_import: package_import_url: https://gist.github.com/evilmarty/48c81b3a76558a7489fb4168d02d916c/raw/dd8dc2e216cad8e36cfb4d60dbd0d0527c10aaee/genio-ir-controller-template.yaml esphome: name: "${name}" -
evilmarty revised this gist
Feb 26, 2023 . 1 changed file with 14 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,10 @@ substitutions: name: "genio-ir-controller" # Get this value from https://esphome.io/components/climate/climate_ir.html ac_platform: "coolix" dashboard_import: package_import_url: https://gist.github.com/evilmarty/48c81b3a76558a7489fb4168d02d916c/raw/4d9cabceaa6eca2434d5185885f6455966c8dbe5/genio-ir-controller-template.yaml esphome: name: "${name}" @@ -49,13 +51,9 @@ script: transition_length: 100ms climate: - platform: "${ac_platform}" name: "Air Conditioner" receiver_id: rcvr on_state: - script.execute: blink_red_led @@ -68,8 +66,16 @@ remote_receiver: pin: number: GPIO5 inverted: True # Uncomment your supported remote provider or check support at https://esphome.io/components/remote_receiver.html #on_coolix: #on_lg: #on_midea: #on_panasonic: #on_samsung: #on_samsung36: #on_sony: #on_toshiba_ac: # - script.execute: blink_red_led binary_sensor: - platform: gpio -
evilmarty revised this gist
Feb 26, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ substitutions: name: "genio-ir-controller" dashboard_import: package_import_url: https://gist.github.com/evilmarty/48c81b3a76558a7489fb4168d02d916c/raw/895d77c715ff8748486969eae05d5993baf5dfae/genio-ir-controller-template.yaml esphome: name: "${name}" -
evilmarty revised this gist
Feb 26, 2023 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,9 @@ substitutions: name: "genio-ir-controller" dashboard_import: package_import_url: https://gist.github.com/evilmarty/48c81b3a76558a7489fb4168d02d916c/raw/919989199d6ff35db7134565cade836e130f54a1/genio-ir-controller-template.yaml esphome: name: "${name}" on_boot: -
evilmarty created this gist
Feb 26, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,92 @@ substitutions: name: "genio-ir-controller" esphome: name: "${name}" on_boot: priority: 100 # Highest priority, ensures light turns on without delay. then: - script.execute: blink_red_led esp8266: board: esp01_1m # Enable logging logger: # Enable Home Assistant API api: encryption: key: !secret ha_encryption_key ota: password: !secret ota_password wifi: ssid: !secret wifi_ssid password: !secret wifi_password # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Lounge-Ac-Controller" password: !secret ap_password captive_portal: web_server: script: - id: blink_red_led then: - light.turn_on: id: light_red_led transition_length: 100ms - delay: 500ms - light.turn_off: id: light_red_led transition_length: 100ms climate: - platform: coolix name: "Air Conditioner" receiver_id: rcvr visual: min_temperature: 17.0 max_temperature: 30.0 temperature_step: 1.0 on_state: - script.execute: blink_red_led remote_transmitter: pin: GPIO14 carrier_duty_percent: 50% remote_receiver: id: rcvr pin: number: GPIO5 inverted: True on_coolix: - script.execute: blink_red_led binary_sensor: - platform: gpio pin: number: GPIO13 mode: INPUT_PULLUP inverted: True name: "Button" internal: True output: - platform: esp8266_pwm id: red_led pin: number: GPIO4 inverted: True light: - platform: monochromatic name: "Red LED" output: red_led id: light_red_led internal: True