Page 1 of 1

MTronic Pakistani 2-gang Touch Light Switches

Posted: Thu Jun 18, 2026 12:25 am
by Morc
We got our hands on a Pakistani 2-gang Touch Light Switch from MTronic. Touch light switches are a bad idea if you have weird power around your place :trol:. If you can, probably rather stick to smart light switches with physical buttons...


The Chronological and Visual Things:
03.06.2026 - We got light switches on GPN
18.06.2026 - I performed the pinout assessment and fixed the ESPHome config
12.07.2026 - Experimented with replacing the PSU and installed the light switch

20260613_112238.jpg
20260613_112244.jpg
handy pinout if you pull the smart board out and don't want to pull the whole switch off of the wall with it<br /><br />don't forget to short the download pin to ground, otherwise you will never get the ESP32 in flash mode
handy pinout if you pull the smart board out and don't want to pull the whole switch off of the wall with it

don't forget to short the download pin to ground, otherwise you will never get the ESP32 in flash mode

The Word Things:
There isn't really much to say. Both power supplies I tried with this light switch have some insane interference issues that cause the smart board of the light switch to randomly click one or the other button, so... your mileage may vary. The ESP32 as is feels okay, so I assume that the ATMEL QTouch IC is more to blame along with some oversights on the PCB designs. Atleast I assume.

Product Page:https://www.mtronic.ae/products/touch-panel/

Wiring PDF: https://support.mtronic.pk/wp-content/u ... t_v1.0.pdf

Fixed ESPHome Config: https://gist.github.com/TheMorc/9530574 ... 13452fc76c


Logs:
Default FW logs:

Code: Select all

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fcd6100,len:0x16cc
load:0x403ce000,len:0x930
load:0x403d0000,len:0x2d28
SHA-256 comparison failed:
Calculated: f6e9da4f30febfe678a93f55da1575548b89ec3954a25c5f7cf92375bb682b1d
Expected: 230d36e95bde7a9e70572522debe7eb21a0b9a272776dd0b09010f6d86eeea83
Attempting to boot anyway...
entry 0x403ce000
I (49) boot: ESP-IDF v4.4.1-581-gee2029c38a-dirty 2nd stage bootloader
I (49) boot: compile time 17:35:00
I (50) boot: chip revision: 3
I (53) boot.esp32c3: SPI Speed      : 40MHz
I (58) boot.esp32c3: SPI Mode       : DIO
I (62) boot.esp32c3: SPI Flash Size : 4MB
I (67) boot: Enabling RNG early entropy source...
I (73) boot: Partition Table:
I (76) boot: ## Label            Usage          Type ST Offset   Length
I (83) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (91) boot:  1 otadata          OTA data         01 00 0000f000 00002000
I (98) boot:  2 prod_part        WiFi data        01 02 00011000 00004000
I (106) boot:  3 factory          factory app      00 00 00020000 00140000
I (113) boot:  4 ota_0            OTA app          00 10 00160000 00140000
I (121) boot:  5 ota_1            OTA app          00 11 002a0000 00140000
I (129) boot: End of partition table
I (133) boot: Defaulting to factory image
I (138) esp_image: segment 0: paddr=00020020 vaddr=3c0d0020 size=32090h (204944) map
I (190) esp_image: segment 1: paddr=000520b8 vaddr=3fc91000 size=03190h ( 12688) load
I (194) esp_image: segment 2: paddr=00055250 vaddr=40380000 size=0adc8h ( 44488) load
I (207) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=c54ech (808172) map
I (381) esp_image: segment 4: paddr=00125514 vaddr=4038adc8 size=061f0h ( 25072) load
I (388) esp_image: segment 5: paddr=0012b70c vaddr=50000010 size=00010h (    16) load
I (393) boot: Loaded app from partition at offset 0x20000
I (393) boot: Disabling RNG early entropy source...
I (410) cpu_start: Pro cpu up.
I (419) cpu_start: Pro cpu start user code
I (419) cpu_start: cpu freq: 160000000
I (420) cpu_start: Application information:
I (422) cpu_start: Project name:     TOUCH_PANEL
I (428) cpu_start: App version:      v0.1.0-220-gf26d080-dirty
I (434) cpu_start: Compile time:     Sep 30 2022 15:05:10
I (440) cpu_start: ELF file SHA256:  5326d95b314b338a...
I (446) cpu_start: ESP-IDF:          v4.4.1-581-gee2029c38a-dirty
I (453) heap_init: Initializing. RAM available for dynamic allocation:
I (460) heap_init: At 3FC9C530 len 00023AD0 (142 KiB): DRAM
I (466) heap_init: At 3FCC0000 len 0001F060 (124 KiB): STACK/DRAM
I (473) heap_init: At 50000020 len 00001FE0 (7 KiB): RTCRAM
I (480) spi_flash: detected chip: generic
I (484) spi_flash: flash io: dio
I (489) sleep: Configure to isolate all GPIO pins in sleep state
I (495) sleep: Enable automatic switching of GPIO sleep configuration
I (502) coexist: coexist rom version 9387209
I (507) cpu_start: Starting scheduler.
I (512) MAIN: Booting...
I (512) MAIN: FIRMWARE VERSION : [0.2.0]
I (512) MAIN: HARDWARE VERSION : [Rev A]
I (522) MAIN: Initialized DEF_NVS_PARTITION successfully

I (522) ESP_CHIP_INFO: chip variant:ESP32-C3, core count:1, revision:3
I (532) ESP_CHIP_INFO: idf-version:v4.4.1-581-gee2029c38a-dirty
I (542) PRODUCTION_DATA: Initialized production data partition successfully...
I (552) PRODUCTION_DATA: Serial Number:000184
I (552) PRODUCTION_DATA: Part Number:402013
I (562) PRODUCTION_DATA: Hardware Revision:A
I (562) PRODUCTION_DATA: Internal order number:1095181
I (572) PRODUCTION_DATA: Environment:production
I (572) PRODUCTION_DATA: MCU Type:ESP32-C3
I (582) BLE OTA: OTA image -> ESP_OTA_IMG_VALID
I (582) BLE OTA: Booted into a valid OTA image
E (592) NVS: [boot_mode] The value is not initialized yet!
I (592) BLE OTA: nvs_get_boot_mode --> Boot mode: NORMAL OPERATION
I (602) MAIN: Entering into normal operation mode...
I (602) TOUCH PANEL: Initializing Touch Panel...
I (612) gpio: GPIO[7]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (622) TOUCH PANEL: Correct NVS space size

I (622) TOUCH PANEL: NVS data read successful 3

I (632) gpio: GPIO[10]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (642) gpio: GPIO[1]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (2152) i2c-master: Reconfiguring I2C driver on port 0
I (2152) i2c-master: I2C driver successfully reconfigured on port 0
I (2172) TOUCH PANEL: BLE update task created, err_code 0

I (2172) TOUCH PANEL: Panel update task created, err_code 0

I (2172) TOUCH PANEL: Reset sequence task created, err_code 0

I (2172) TOUCH PANEL: Touch detect task created, err_code 0

I (2182) MAIN: Touch Panel Initialized successfully

W (2192) BTDM_INIT: esp_bt_controller_mem_release not implemented, return OK
I (2192) BTDM_INIT: BT controller compile version [05195c9]
I (2202) phy_init: phy_version 912,d001756,Jun  2 2022,16:28:07
I (2242) system_api: Base MAC address is not set
I (2242) system_api: read default base MAC address from EFUSE
I (2242) BTDM_INIT: Bluetooth MAC: 34:b4:72:75:3a:12

I (2332) BTMESH: ESP_BLE_MESH_PROV_REGISTER_COMP_EVT, err_code 0
W (2332) BLE_MESH: bt_mesh_proxy_server_prov_disable, Already
I (2332) BTMESH: BLE Mesh Node initialized
E (2342) NVS: [scene_0] The value is not initialized yet!
E (2342) NVS: [scene_1] The value is not initialized yet!
E (2352) NVS: [scene_2] The value is not initialized yet!
E (2362) NVS: [scene_3] The value is not initialized yet!
E (2362) NVS: [scene_4] The value is not initialized yet!
E (2372) NVS: [scene_5] The value is not initialized yet!
E (2372) NVS: [scene_6] The value is not initialized yet!
E (2382) NVS: [scene_7] The value is not initialized yet!
E (2392) NVS: [scene_8] The value is not initialized yet!
E (2392) NVS: [scene_9] The value is not initialized yet!
E (2402) NVS: [scene_10] The value is not initialized yet!
E (2412) NVS: [scene_11] The value is not initialized yet!
E (2412) NVS: [scene_12] The value is not initialized yet!
E (2422) NVS: [scene_13] The value is not initialized yet!
E (2422) NVS: [scene_14] The value is not initialized yet!
E (2432) NVS: [scene_15] The value is not initialized yet!
E (2442) NVS: [scene_16] The value is not initialized yet!
E (2442) NVS: [scene_17] The value is not initialized yet!
E (2452) NVS: [scene_18] The value is not initialized yet!
E (2452) NVS: [scene_19] The value is not initialized yet!
E (2462) NVS: [scene_20] The value is not initialized yet!
E (2472) NVS: [scene_21] The value is not initialized yet!
E (2472) NVS: [scene_22] The value is not initialized yet!
E (2482) NVS: [scene_23] The value is not initialized yet!
E (2492) NVS: [scene_24] The value is not initialized yet!
E (2492) NVS: [scene_25] The value is not initialized yet!
E (2502) NVS: [scene_26] The value is not initialized yet!
E (2502) NVS: [scene_27] The value is not initialized yet!
E (2512) NVS: [scene_28] The value is not initialized yet!
E (2522) NVS: [scene_29] The value is not initialized yet!
E (2522) NVS: [scene_30] The value is not initialized yet!
E (2532) NVS: [scene_31] The value is not initialized yet!
I (2542) BTMESH: ESP_BLE_MESH_NODE_SET_UNPROV_DEV_NAME_COMP_EVT
I (2542) TP_BLE_MAIN: Unprovisioned device name set successfully to 2G Touch Panel
Queue Send Success
I (102602) TOUCH PANEL: touch detect queue rcv: 1

Queue Send Success
E (102882) TOUCH PANEL: Queue data 1

Queue Send Success
I (102882) TOUCH PANEL: Opcode received in Queue is 0x20

ESP:OK
Queue Send Success
I (103682) TOUCH PANEL: touch detect queue rcv: 1

Queue Send Success
E (103962) TOUCH PANEL: Queue data 1

Queue Send Success
I (103962) TOUCH PANEL: Opcode received in Queue is 0x20

I (117602) TOUCH PANEL: Device is unprovisioned, starting advertising...
I (117612) TOUCH PANEL: Started advertising BLE beacons...
Queue Send Success
E (157532) TOUCH PANEL: Queue data 0
ESPHome logs for consistency:

Code: Select all

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x153c
load:0x403cbf10,len:0xc60
load:0x403ce710,len:0x302c
entry 0x403cbf10
I (30) boot: ESP-IDF 5.5.4 2nd stage bootloader
I (30) boot: chip revision: v0.3
I (30) boot: efuse block revision: v1.1
I (30) boot.esp32c3: SPI Speed      : 80MHz
I (33) boot.esp32c3: SPI Mode       : DIO
I (37) boot.esp32c3: SPI Flash Size : 4MB
I (41) boot: Enabling RNG early entropy source...
I (45) boot: Partition Table:
I (48) boot: ## Label            Usage          Type ST Offset   Length
I (54) boot:  0 otadata          OTA data         01 00 00009000 00002000
I (61) boot:  1 phy_init         RF data          01 01 0000b000 00001000
I (67) boot:  2 app0             OTA app          00 10 00010000 001c0000
I (74) boot:  3 app1             OTA app          00 11 001d0000 001c0000
I (80) boot:  4 nvs              WiFi data        01 02 00390000 00070000
I (87) boot: End of partition table
I (90) esp_image: segment 0: paddr=00010020 vaddr=3c120020 size=36750h (223056) map
I (133) esp_image: segment 1: paddr=00046778 vaddr=3fc94200 size=031ech ( 12780) load
I (135) esp_image: segment 2: paddr=0004996c vaddr=40380000 size=066ach ( 26284) load
I (141) esp_image: segment 3: paddr=00050020 vaddr=42000020 size=113c9ch (1129628) map
I (320) esp_image: segment 4: paddr=00163cc4 vaddr=403866ac size=0db38h ( 56120) load
I (331) esp_image: segment 5: paddr=00171804 vaddr=50000000 size=00020h (    32) load
I (337) boot: Loaded app from partition at offset 0x10000
I (337) boot: Disabling RNG early entropy source...
[I][logger:120]: Log initialized
[C][safe_mode:189]: Unsuccessful boot attempts: 1
[D][preferences:148]: Writing 1 items: 0 cached, 1 written, 0 failed
[I][app:060]: Running through setup()
[I][i2c.idf:205]: Performing bus recovery
[W][ledc.output:123]: Not yet initialized
[W][ledc.output:123]: Not yet initialized
[W][ledc.output:123]: Not yet initialized
[W][ledc.output:123]: Not yet initialized
[C][wifi:645]: Starting
[D][wifi:1298]: Starting scan
[C][component:246]: Setup wifi took 51ms
[W][component:389]: api set Warning flag: waiting for client connection
[I][app:117]: setup() finished successfully!
[D][esp32_ble:525]: Enabling
[W][component:522]: esp32_ble took a long time for an operation (230 ms), max is 30 ms
[W][component:389]: wifi set Warning flag: scanning for networks
[I][app:151]: ESPHome version 2026.5.3 compiled on 2026-06-18 00:36:02 +0200
[I][app:158]: ESP32 Chip: ESP32-C3 rev0.3, 1 core(s)
[C][logger:219]: Logger:
Max Level: DEBUG
Initial Level: DEBUG
[C][logger:226]:   Log Baud Rate: 115200
Hardware UART: UART0
[C][logger:235]:   Task Log Buffer Size: 768 bytes
[D][at42qt:015]: chip ID is 0x3E.
[D][at42qt:127]: Set charge_time to 128.
[D][at42qt:132]: Set toward_touch_drift to 20.
[D][at42qt:137]: Set away_touch_drift to 5.
[D][at42qt:142]: Set detection_integrator to 4.
[D][at42qt:147]: Set charge_time to 255.
[D][at42qt:152]: Set drift_hold_time to 25.
[D][at42qt:117]: Set channel 8 threshold to 5.
[D][at42qt:121]: Set channel 8 oversampling to 0x20.
[D][at42qt:117]: Set channel 0 threshold to 5.
[D][at42qt:121]: Set channel 0 oversampling to 0x20.
[W][component:522]: at42qt took a long time for an operation (58 ms), max is 30 ms
[D][at42qt:053]: touch=0 overflow=0 calibrating=1 keys=0x0000
[C][i2c.idf:092]: I2C Bus:
[C][i2c.idf:093]:   SDA Pin: GPIO6
SCL Pin: GPIO5
Frequency: 50000 Hz
[C][i2c.idf:103]:   Recovery: bus successfully recovered
[C][i2c.idf:113]: Results from bus scan:
[C][i2c.idf:119]: Found device at address 0x1C
[C][status_led:022]: Status LED:
[C][status_led:152]:   Pin: GPIO9
[C][template.binary_sensor:016]: Template Binary Sensor 'authorize_improv'
[C][template.binary_sensor:016]: Template Binary Sensor 'touch_any'
[D][esp32_ble_server:084]: BLE server setup successfully
[C][switch.gpio:088]: GPIO Switch 'Relay 1 (X4)'
Restore Mode: always OFF
[C][switch.gpio:152]:   Pin: GPIO10
[C][switch.gpio:088]: GPIO Switch 'Relay 2 (X3)'
Restore Mode: always OFF
[C][switch.gpio:152]:   Pin: GPIO1
[C][ledc.output:208]: Output:
Channel: 0
PWM Frequency: 1000.0 Hz
Phase angle: 0.0°
Bit depth: 14
[C][ledc.output:152]:   Pin GPIO19
[C][ledc.output:208]: Output:
Channel: 1
PWM Frequency: 1000.0 Hz
Phase angle: 0.0°
Bit depth: 14
[C][ledc.output:152]:   Pin GPIO0
[C][template.number:016]: Template Number 'LED On-Brigthness'
[C][template.number:049]:   Optimistic: YES
[C][template.number:451]:   Update Interval: 60.0s
[C][template.number:016]: Template Number 'LED Off-Brigthness'
[C][template.number:049]:   Optimistic: YES
[C][template.number:451]:   Update Interval: 60.0s
[C][at42qt:087]: Touch-Hub:
Chip: AT42QT2120
Spec: 0x3c142e14
Keycount: 12
Correct Chip-ID: 0x3E
Pulse Length: 128
Toward Touch-Drift: 20
Away Touch-Drift: 5
Deglitch: 4
Touch Recal Delay: 255
Drift Hold Time: 25
[C][at42qt:110]:   Address: 0x1C
[C][at42qt:016]: at42qt Touch Key 'Touch 1'
[C][at42qt:166]:  Channel: 8
Threshold: 5
Oversampling: 0x20
[C][at42qt:016]: at42qt Touch Key 'Touch 2'
[C][at42qt:166]:  Channel: 0
Threshold: 5
Oversampling: 0x20
[C][status:016]: Status Binary Sensor 'Online'
[C][status:232]:   Device Class: 'connectivity'
[C][at42qt:189]: Debug Sensor
Channel: 8
[C][at42qt:017]: at42qt Signal-Sensor 'Touch 1 Signal'
at42qt  State Class: ''
at42qt  Unit of Measurement: '#'
at42qt  Accuracy Decimals: 0
[C][at42qt:223]: at42qt  Icon: 'mdi:signal-variant'
[C][at42qt:017]: at42qt Reference-Sensor 'Touch 1 Reference'
at42qt  State Class: ''
at42qt  Unit of Measurement: '#'
at42qt  Accuracy Decimals: 0
[C][at42qt:223]: at42qt  Icon: 'mdi:waveform'
[C][at42qt:189]: Debug Sensor
Channel: 0
[C][at42qt:017]: at42qt Signal-Sensor 'Touch 2 Signal'
at42qt  State Class: ''
at42qt  Unit of Measurement: '#'
at42qt  Accuracy Decimals: 0
[C][at42qt:223]: at42qt  Icon: 'mdi:signal-variant'
[C][at42qt:017]: at42qt Reference-Sensor 'Touch 2 Reference'
at42qt  State Class: ''
at42qt  Unit of Measurement: '#'
at42qt  Accuracy Decimals: 0
[C][at42qt:223]: at42qt  Icon: 'mdi:waveform'
[D][at42qt:053]: touch=0 overflow=0 calibrating=0 keys=0x0000
[C][bluetooth_proxy:117]: Bluetooth Proxy:
Active: NO
Connections: 0
[C][esp32_ble:663]: BLE:
MAC address: 34:B4:72:75:3A:12
IO Capability: none
[C][esp32_ble_server:242]: ESP32 BLE Server:
Max clients: 1
[C][esp32_improv.component:306]: ESP32 Improv:
[C][esp32_improv.component:016]:   Authorizer 'authorize_improv'
[C][esp32_improv.component:311]:   Status Indicator: 'NO'
[D][at42qt:053]: touch=1 overflow=0 calibrating=0 keys=0x0101
[C][esp32_ble_tracker:702]: BLE Tracker:
[C][esp32_ble_tracker:703]:   Scan Duration: 300 s
Scan Interval: 320.0 ms
Scan Window: 30.0 ms
Scan Type: ACTIVE
Continuous Scanning: YES
[C][esp32_ble_tracker:711]:   Scanner State: RUNNING
Connecting: 0, discovered: 0, disconnecting: 0, active: 0
[C][captive_portal:133]: Captive Portal:
[C][wifi:1526]: WiFi:
Local MAC: 34:B4:72:75:3A:10
Connected: NO
[C][web_server:450]: Web Server:
Address: doppeltouch-relais.local:80
[C][esphome.ota:097]: Over-The-Air updates:
Address: doppeltouch-relais.local:3232
Version: 2
[C][esphome.ota:104]:   Password configured
[C][safe_mode:058]: Safe Mode:
Successful after: 60s
Invoke after: 10 attempts
Duration: 300s
[C][safe_mode:079]:   Bootloader rollback: support unknown
[C][web_server.ota:256]: Web Server OTA
[C][api:238]: Server:
Address: doppeltouch-relais.local:6053
Listen backlog: 4
Max connections: 5
[C][api:250]:   Noise encryption: NO
[C][improv_serial:062]: Improv Serial:
[C][mdns:230]: mDNS:
Hostname: doppeltouch-relais-753a10
[C][debug:017]: Debug component:
[C][debug:016]:   Device info 'Device Info'
[C][debug:223]:     Icon: 'mdi:chip'
[C][debug:017]:   Free space on heap 'Heap Free'
State Class: 'measurement'
Unit of Measurement: 'B'
Accuracy Decimals: 0
[C][debug:223]:     Icon: 'mdi:counter'
[C][debug:017]:   Largest free heap block 'Heap Max Block'
State Class: 'measurement'
Unit of Measurement: 'B'
Accuracy Decimals: 0
[C][debug:223]:     Icon: 'mdi:counter'
[C][debug:017]:   CPU frequency 'CPU Frequency'
State Class: 'measurement'
Unit of Measurement: 'Hz'
Accuracy Decimals: 0
[C][debug:232]:     Device Class: 'frequency'
[C][debug:223]:     Icon: 'mdi:speedometer'
[D][debug:031]: ESPHome version 2026.5.3
[D][debug:035]: Free Heap Size: 98620 bytes
[D][debug:255]: ESP32 debug info:
Chip: ESP32-C3
Cores: 1
Revision: 3
CPU Frequency: 160 MHz
ESP-IDF Version: 5.5.4
EFuse MAC: 34:B4:72:75:3A:10
Reset Reason: power-on event
Wakeup Cause: undefined
[D][debug:275]:   Framework: ESP-IDF
[C][debug:158]: Partition table:
Name         Type Subtype  Address    Size
[C][debug:165]:   otadata      1    0        0x00009000 0x00002000
[C][debug:165]:   phy_init     1    1        0x0000B000 0x00001000
[C][debug:165]:   app0         0    16       0x00010000 0x001C0000
[C][debug:165]:   app1         0    17       0x001D0000 0x001C0000
[C][debug:165]:   nvs          1    2        0x00390000 0x00070000
[D][wifi:1458]: Found networks:
[I][wifi:1429]: - 'Puf&Muf' (F4:92:BF:54:A1:ED) ▂▄▆█ Ch: 1 -62dB P:0
[D][wifi:1852]: Retry phase: INITIAL_CONNECT → SCAN_CONNECTING
[I][wifi:1097]: Connecting to 'Puf&Muf' (F4:92:BF:54:A1:ED) (priority 0, attempt 1/2 in phase SCAN_CONNECTING)...
[I][wifi:1570]: Connected
[D][wifi:1587]: Disabling AP
[C][wifi:1237]:   IP Address: 192.168.1.179
[C][wifi:1248]:   SSID: 'Puf&Muf'
BSSID: F4:92:BF:54:A1:ED
Hostname: 'doppeltouch-relais-753a10'
Signal strength: -52 dB ▂▄▆█
Channel: 1
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS1: 192.168.1.1
DNS2: 0.0.0.0
[W][component:422]: wifi cleared Warning flag
[D][at42qt:053]: touch=1 overflow=0 calibrating=0 keys=0x0000
[D][at42qt:053]: touch=0 overflow=0 calibrating=1 keys=0x0000
[D][at42qt:053]: touch=0 overflow=0 calibrating=0 keys=0x0000
[D][at42qt:053]: touch=0 overflow=0 calibrating=1 keys=0x0000
[D][at42qt:053]: touch=0 overflow=0 calibrating=0 keys=0x0000
[D][at42qt:053]: touch=1 overflow=0 calibrating=0 keys=0x0001
[D][at42qt:053]: touch=0 overflow=0 calibrating=0 keys=0x0000
[D][at42qt:053]: touch=1 overflow=0 calibrating=0 keys=0x0001
[D][at42qt:053]: touch=0 overflow=0 calibrating=0 keys=0x0000
[D][at42qt:053]: touch=1 overflow=0 calibrating=0 keys=0x0100
[D][at42qt:053]: touch=0 overflow=0 calibrating=0 keys=0x0000
[D][at42qt:053]: touch=1 overflow=0 calibrating=0 keys=0x0001
[D][at42qt:053]: touch=0 overflow=0 calibrating=0 keys=0x0000
[D][at42qt:053]: touch=0 overflow=0 calibrating=1 keys=0x0000
[D][at42qt:053]: touch=0 overflow=0 calibrating=0 keys=0x0000
[I][safe_mode:142]: Boot seems successful; resetting boot loop counter
[D][api:223]: Accept 192.168.1.3
[W][component:422]: api cleared Warning flag
[D][api.connection:2461]: aioesphomeapi (192.168.1.3): connected
[D][api.connection:2461]: aioesphomeapi (192.168.1.3): disconnected
[W][api.connection:2467]: aioesphomeapi (): Reading failed CONNECTION_CLOSED errno=128
[W][component:389]: api set Warning flag: waiting for client connection
[D][api:223]: Accept 192.168.1.3
[W][component:422]: api cleared Warning flag
[D][api.connection:2461]: Home Assistant 2026.5.4 (192.168.1.3): connected