Ultima attività 1 week ago

ESP32 Code for QIACHIP fan

Revisione 1342030b8a2d329f195f49640a8080f5d33bc6fb

esp01.yaml Raw
1esphome:
2 name: esp01
3 friendly_name: esp01
4
5esp8266:
6 board: esp01_1m
7
8# Enable logging
9logger:
10
11web_server:
12 port: 80
13
14# Enable Home Assistant API
15api:
16 encryption:
17 key: !key
18
19ota:
20 - platform: esphome
21 password: "2a80b28e2421acb6450186a6c61d518f"
22
23wifi:
24 ssid: !secret wifi_ssid
25 password: !secret wifi_password
26
27 # Enable fallback hotspot (captive portal) in case wifi connection fails
28 ap:
29 ssid: "Esp01 Fallback Hotspot"
30 password: "t9LCsi5ZTxbV"
31
32captive_portal:
33
34# remote_receiver:
35# pin: GPIO0
36# dump: raw
37
38remote_transmitter:
39 pin: GPIO4
40 # RF uses a 100% carrier signal
41 carrier_duty_percent: 100%
42
43button:
44 - platform: template
45 name: Big Light
46 id: light
47 on_press:
48 - remote_transmitter.transmit_raw:
49 code: [
50 -198, 685, -289, 773, -196, 835, -122, 1185, -6793, 910,
51 -2978, 674, -298, 643, -328, 1545, -406, 2429, -488, 508,
52 -464, 462, -510, 1424, -521, 452, -526, 1876, -1039, 896,
53 -1016, 429, -577, 384, -592, 390, -584, 389, -584, 385,
54 -586, 854,
55 -107, 848, -130, 360, -619, 354, -617, 357, -615, 362,
56 -608, 364, -7593, 414, -557, 882, -61, 892, -94, 391,
57 -600, 371, -600, 373, -596, 853, -109, 379, -612, 830,
58 -135, 830, -143, 347, -634, 341, -627, 348, -622, 819,
59 -149, 340, -641, 330, -645, 813,
60 -154, 810, -163, 327, -651, 808, -155, 810, -164, 323,
61 -656, 316, -656, 310, -668, 319, -655, 315, -654, 795,
62 -171, 794, -180, 312, -667, 300, -673, 302, -667, 305,
63 -666, 306, -7644, 355, -615, 839, -123, 841, -134, 354,
64 -629, 330, -640, 329, -644,
65 808, -158, 330, -656, 797, -168, 796, -178, 313, -665,
66 306, -669, 302, -664, 793, -172, 315, -664, 309, -669,
67 794, -167, 804, -169, 316, -666, 781, -183, 788, -185,
68 304, -677, 293, -678, 295, -682, 297, -674, 306, -669,
69 782, -177, 788, -188, 302, -678,
70 294, -678, 295, -676, 295, -677, 295]
71 repeat: 1
72