Nothing… same result.
I just installed the latest version.
I haven’t added the “refresh: 0s” (It’s not necessary, right?)
But the source is correct.
I’m attaching the log from the installation, up to two attempts I’ve made with the pair
INFO ESPHome 2024.7.3
INFO Reading configuration /config/esphome/daiconesp.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing daiconesp (board: esp32dev; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 2.1.3
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.2.2
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- noise-c @ 0.1.4
RAM: [== ] 16.2% (used 52968 bytes from 327680 bytes)
Flash: [========= ] 90.3% (used 1656649 bytes from 1835008 bytes)
========================= [SUCCESS] Took 5.80 seconds =========================
INFO Successfully compiled program.
INFO Connecting to 192.168.1.102
INFO Uploading /data/build/daiconesp/.pioenvs/daiconesp/firmware.bin (1662416 bytes)
Uploading: [============================================================] 100% Done...
INFO Upload took 15.03 seconds, waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.1.102 using esphome API
INFO Successfully connected to daiconesp @ 192.168.1.102 in 11.322s
INFO Successful handshake with daiconesp @ 192.168.1.102 in 0.087s
[09:57:23][I][app:100]: ESPHome version 2024.7.3 compiled on Aug 1 2024, 09:34:56
[09:57:23][C][wifi:599]: WiFi:
[09:57:23][C][wifi:427]: Local MAC: E8:6B:EA:36:77:54
[09:57:23][C][wifi:432]: SSID: [redacted]
[09:57:23][C][wifi:435]: IP Address: 192.168.1.102
[09:57:23][C][wifi:439]: BSSID: [redacted]
[09:57:23][C][wifi:440]: Hostname: 'daiconesp'
[09:57:23][C][wifi:442]: Signal strength: -73 dB ▂▄▆█
[09:57:23][C][wifi:446]: Channel: 1
[09:57:23][C][wifi:447]: Subnet: 255.255.255.0
[09:57:23][C][wifi:448]: Gateway: 192.168.1.1
[09:57:23][C][wifi:449]: DNS1: 80.58.61.250
[09:57:23][C][wifi:450]: DNS2: 80.58.61.254
[09:57:23][C][logger:185]: Logger:
[09:57:23][C][logger:186]: Level: DEBUG
[09:57:23][C][logger:188]: Log Baud Rate: 115200
[09:57:23][C][logger:189]: Hardware UART: UART0
[09:57:23][C][light:103]: Light 'First Light'
[09:57:23][C][light:105]: Default Transition Length: 0.0s
[09:57:23][C][light:106]: Gamma Correct: 2.80
[09:57:23][C][ble_adv_light:024]: BleAdvLight
[09:57:23][C][ble_adv_light:149]: Controller 'my_controller'
[09:57:23][C][ble_adv_light:026]: Base Light 'First Light'
[09:57:23][C][ble_adv_light:027]: Cold White Temperature: 167.000000 mireds
[09:57:23][C][ble_adv_light:028]: Warm White Temperature: 333.000000 mireds
[09:57:23][C][ble_adv_light:029]: Minimum Brightness: 0xA0000000
[09:57:23][C][ble_adv_fan:022]: BleAdvFan 'my fan'
[09:57:23][C][ble_adv_fan:149]: Controller 'my_controller'
[09:57:23][C][ble_adv_button:011]: BleAdvButton 'Pair'
[09:57:23][C][ble_adv_button:149]: Controller 'my_controller'
[09:57:23][C][esp32_ble:383]: ESP32 BLE:
[09:57:23][C][esp32_ble:385]: MAC address: E8:6B:EA:36:77:56
[09:57:23][C][esp32_ble:386]: IO Capability: none
[09:57:23][C][ble_adv_controller:052]: BleAdvController 'my_controller'
[09:57:23][C][ble_adv_controller:053]: Hash ID '388E6F12'
[09:57:23][C][ble_adv_controller:054]: Transmission Min Duration: 0 ms
[09:57:23][C][ble_adv_controller:055]: Transmission Max Duration: 3000 ms
[09:57:23][C][ble_adv_controller:056]: Transmission Sequencing Duration: 50 ms
[09:57:23][C][ble_adv_controller:057]: Configuration visible: YES
[09:57:23][C][captive_portal:088]: Captive Portal:
[09:57:23][C][mdns:116]: mDNS:
[09:57:23][C][mdns:117]: Hostname: daiconesp
[09:57:23][C][esphome.ota:073]: Over-The-Air updates:
[09:57:23][C][esphome.ota:074]: Address: daiconesp.local:3232
[09:57:23][C][esphome.ota:075]: Version: 2
[09:57:23][C][esphome.ota:078]: Password configured
[09:57:23][C][safe_mode:018]: Safe Mode:
[09:57:23][C][safe_mode:020]: Boot considered successful after 60 seconds
[09:57:23][C][safe_mode:021]: Invoke after 10 boot attempts
[09:57:23][C][safe_mode:023]: Remain in safe mode for 300 seconds
[09:57:23][C][api:139]: API Server:
[09:57:23][C][api:140]: Address: daiconesp.local:6053
[09:57:23][C][api:142]: Using noise encryption: YES
[09:58:16][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[09:58:16][D][esp32.preferences:114]: Saving 1 preferences to flash...
[09:58:16][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[10:00:08][D][api.connection:197]: Home Assistant 2024.7.4 (192.168.1.51) requested disconnected
[10:00:08][D][api:102]: Accepted 192.168.1.51
[10:00:08][D][api.connection:1375]: Home Assistant 2024.7.4 (192.168.1.51): Connected successfully
[10:00:18][D][select:062]: 'my_controller - Encoding' - Setting
[10:00:18][D][select:115]: 'my_controller - Encoding' - Set selected option to: FanLamp - All
[10:00:18][D][select:015]: 'my_controller - Encoding': Sending state FanLamp - All (index 0)
[10:00:22][D][button:010]: 'Pair' Pressed.
[10:00:22][D][ble_adv_button:016]: BleAdvButton::press_action called
[10:00:22][D][fanlamp_pro:241]: FanLamp - v1a - ID: '0x388E6F12', tx: 1, Command: '0x28', Args: [18,96,129]
[10:00:22][D][fanlamp_pro:241]: FanLamp - v1b - ID: '0x388E6F12', tx: 1, Command: '0x28', Args: [18,96,129]
[10:00:22][D][fanlamp_pro:295]: FanLamp - v2 - ID: '0x388E6F12', tx: 1, Command: '0x28', Args: [0,0,0,0]
[10:00:22][D][fanlamp_pro:295]: FanLamp - v3 - ID: '0x388E6F12', tx: 1, Command: '0x28', Args: [0,0,0,0]
[10:00:22][D][ble_adv_controller:130]: my_controller - request start advertising: 77.F8.B6.5F.2B.5E.00.FC.31.51.CC.F2.9E.40.22.4A.BB.FC.02.D0.C5.A6.ED.B2.A8.1A (26)
[10:00:22][D][ble_adv_controller:130]: my_controller - request start advertising: F9.08.49.13.F0.69.25.4E.31.51.BA.AE.D0.0E.6C.CD.BA.7C.71.41.16.3A.0A.2A.C0.4C (26)
[10:00:22][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.0A.EB.31.BE.3E.DC.A0.03.A9.E3.C2.0E.9B.5C.9E.D4.BA.0F.29.31.D6.CA (26)
[10:00:22][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.DC.34.11.01.D1.48.49.24.92.29.9E.03.16.84.E6.32.91.B6.04.5B.33.D2 (26)
[10:00:22][W][component:237]: Component ble_adv_controller took a long time for an operation (63 ms).
[10:00:22][W][component:238]: Components should block for at most 30 ms.
[10:00:24][D][button:010]: 'Pair' Pressed.
[10:00:24][D][ble_adv_button:016]: BleAdvButton::press_action called
[10:00:24][D][fanlamp_pro:241]: FanLamp - v1a - ID: '0x388E6F12', tx: 2, Command: '0x28', Args: [18,96,129]
[10:00:24][D][fanlamp_pro:241]: FanLamp - v1b - ID: '0x388E6F12', tx: 2, Command: '0x28', Args: [18,96,129]
[10:00:24][D][fanlamp_pro:295]: FanLamp - v2 - ID: '0x388E6F12', tx: 2, Command: '0x28', Args: [0,0,0,0]
[10:00:24][D][fanlamp_pro:295]: FanLamp - v3 - ID: '0x388E6F12', tx: 2, Command: '0x28', Args: [0,0,0,0]
[10:00:24][W][component:237]: Component api took a long time for an operation (51 ms).
[10:00:24][W][component:238]: Components should block for at most 30 ms.
[10:00:24][D][ble_adv_controller:142]: my_controller - request stop advertising
[10:00:24][D][ble_adv_controller:130]: my_controller - request start advertising: 77.F8.B6.5F.2B.5E.00.FC.31.51.CC.F2.9E.40.22.4A.7B.FC.DC.0E.4E.78.63.6F.8E.3F (26)
[10:00:24][D][ble_adv_controller:130]: my_controller - request start advertising: F9.08.49.13.F0.69.25.4E.31.51.BA.AE.D0.0E.6C.CD.BA.BC.71.3D.6A.AB.76.45.14.4C (26)
[10:00:24][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.25.49.FE.EF.F5.40.9A.D4.7D.15.29.A9.00.E9.CD.DC.1F.FB.D8.59.88.DE (26)
[10:00:24][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.AF.49.AB.71.EC.02.7C.57.7A.C0.8A.83.4F.DA.1D.0F.C3.FB.68.48.3C.7D (26)
[10:00:24][W][component:237]: Component ble_adv_controller took a long time for an operation (63 ms).
[10:00:24][W][component:238]: Components should block for at most 30 ms.
[10:00:25][D][button:010]: 'Pair' Pressed.
[10:00:25][D][ble_adv_button:016]: BleAdvButton::press_action called
[10:00:25][D][fanlamp_pro:241]: FanLamp - v1a - ID: '0x388E6F12', tx: 3, Command: '0x28', Args: [18,96,129]
[10:00:25][D][fanlamp_pro:241]: FanLamp - v1b - ID: '0x388E6F12', tx: 3, Command: '0x28', Args: [18,96,129]
[10:00:25][D][fanlamp_pro:295]: FanLamp - v2 - ID: '0x388E6F12', tx: 3, Command: '0x28', Args: [0,0,0,0]
[10:00:25][D][fanlamp_pro:295]: FanLamp - v3 - ID: '0x388E6F12', tx: 3, Command: '0x28', Args: [0,0,0,0]
[10:00:25][D][ble_adv_controller:142]: my_controller - request stop advertising
[10:00:25][D][ble_adv_controller:130]: my_controller - request start advertising: 77.F8.B6.5F.2B.5E.00.FC.31.51.CC.F2.9E.40.22.4A.FB.FC.14.C6.9E.B0.2B.62.73.A4 (26)
[10:00:25][D][ble_adv_controller:130]: my_controller - request start advertising: F9.08.49.13.F0.69.25.4E.31.51.BA.AE.D0.0E.6C.CD.BA.3C.71.DC.8B.B8.97.E6.D9.4C (26)
[10:00:25][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.0B.99.DA.CF.5C.88.80.12.3B.D0.1C.FC.27.A9.3A.A5.38.2D.3F.D4.B5.33 (26)
[10:00:25][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.33.BE.2E.B0.3E.56.25.F1.C0.24.99.5E.9C.D6.B8.5F.10.14.2B.A5.B1.07 (26)
[10:00:25][W][component:237]: Component ble_adv_controller took a long time for an operation (62 ms).
[10:00:25][W][component:238]: Components should block for at most 30 ms.
[10:00:28][D][ble_adv_controller:142]: my_controller - request stop advertising
[10:00:30][D][number:054]: 'my_controller - Duration' - Setting number value
[10:00:30][D][number:113]: New number value: 500.000000
[10:00:30][D][number:012]: 'my_controller - Duration': Sending state 500.000000
[10:00:40][D][button:010]: 'Pair' Pressed.
[10:00:40][D][ble_adv_button:016]: BleAdvButton::press_action called
[10:00:40][D][fanlamp_pro:241]: FanLamp - v1a - ID: '0x388E6F12', tx: 4, Command: '0x28', Args: [18,96,129]
[10:00:40][D][fanlamp_pro:241]: FanLamp - v1b - ID: '0x388E6F12', tx: 4, Command: '0x28', Args: [18,96,129]
[10:00:40][D][fanlamp_pro:295]: FanLamp - v2 - ID: '0x388E6F12', tx: 4, Command: '0x28', Args: [0,0,0,0]
[10:00:40][D][fanlamp_pro:295]: FanLamp - v3 - ID: '0x388E6F12', tx: 4, Command: '0x28', Args: [0,0,0,0]
[10:00:40][D][ble_adv_controller:130]: my_controller - request start advertising: 77.F8.B6.5F.2B.5E.00.FC.31.51.CC.F2.9E.40.22.4A.1B.FC.7E.AC.A9.DA.44.60.5F.57 (26)
[10:00:40][D][ble_adv_controller:130]: my_controller - request start advertising: F9.08.49.13.F0.69.25.4E.31.51.BA.AE.D0.0E.6C.CD.BA.DC.71.1C.4B.D7.57.9D.E1.4C (26)
[10:00:40][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.4A.FB.EF.E7.3C.7A.63.44.3C.00.A8.01.E8.CC.DD.1E.FA.1A.D9.6F.3C.E3 (26)
[10:00:40][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.5C.48.45.8C.A4.21.51.A7.8B.23.A2.4B.6F.7E.BD.16.21.62.7A.2F.26.E1 (26)
[10:00:40][W][component:237]: Component ble_adv_controller took a long time for an operation (53 ms).
[10:00:40][W][component:238]: Components should block for at most 30 ms.
[10:00:41][D][button:010]: 'Pair' Pressed.
[10:00:41][D][ble_adv_button:016]: BleAdvButton::press_action called
[10:00:42][D][fanlamp_pro:241]: FanLamp - v1a - ID: '0x388E6F12', tx: 5, Command: '0x28', Args: [18,96,129]
[10:00:42][D][fanlamp_pro:241]: FanLamp - v1b - ID: '0x388E6F12', tx: 5, Command: '0x28', Args: [18,96,129]
[10:00:42][D][fanlamp_pro:295]: FanLamp - v2 - ID: '0x388E6F12', tx: 5, Command: '0x28', Args: [0,0,0,0]
[10:00:42][D][fanlamp_pro:295]: FanLamp - v3 - ID: '0x388E6F12', tx: 5, Command: '0x28', Args: [0,0,0,0]
[10:00:42][W][component:237]: Component api took a long time for an operation (52 ms).
[10:00:42][W][component:238]: Components should block for at most 30 ms.
[10:00:42][D][ble_adv_controller:142]: my_controller - request stop advertising
[10:00:42][D][ble_adv_controller:130]: my_controller - request start advertising: 77.F8.B6.5F.2B.5E.00.FC.31.51.CC.F2.9E.40.22.4A.9B.FC.98.4A.14.3C.24.1F.64.CD (26)
[10:00:42][D][ble_adv_controller:130]: my_controller - request start advertising: F9.08.49.13.F0.69.25.4E.31.51.BA.AE.D0.0E.6C.CD.BA.5C.71.B3.E4.2F.F8.27.FF.4C (26)
[10:00:42][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.BA.2C.B6.2A.2C.C3.40.FF.0B.B6.59.9B.D1.BF.0A.1A.13.DB.2C.70.A6.53 (26)
[10:00:42][D][ble_adv_controller:130]: my_controller - request start advertising: F0.08.10.80.94.B5.A1.63.94.09.33.0B.A0.17.A2.B7.25.47.4E.4A.5A.D0.A5.2C.E7.5E (26)
[10:00:42][W][component:237]: Component ble_adv_controller took a long time for an operation (52 ms).
[10:00:42][W][component:238]: Components should block for at most 30 ms.
[10:00:45][D][ble_adv_controller:142]: my_controller - request stop advertising
[10:00:45][D][number:054]: 'my_controller - Duration' - Setting number value
[10:00:45][D][number:113]: New number value: 240.000000
[10:00:45][D][number:012]: 'my_controller - Duration': Sending state 240.000000