I have some problems with connecting D1 mini to controller and having it work through esphome.
This is how I connected it:
Comment on assembly
I know - I wanted first to test it before I move to solder.
So I connected everything as described on the page.
D1 mini is powered by an external power source. Cables touch the board - I even tested by pushing them a little bit - so I could be sure they have touch points.
Firmware
The code on ESP is exactly the same as described on the mentioned page. I changed nothing, literally.
Result
Nothing happens when I click buttons inside Home Assistant or through the ESPhome web interface.
Logs:
INFO Reading configuration /config/esphome/megadesk.yaml...
INFO Starting log output from megadesk.local using esphome API
INFO Successfully connected to megadesk.local
[11:33:28][I][app:102]: ESPHome version 2022.12.6 compiled on Jan 24 2023, 21:08:13
[11:33:28][C][wifi:504]: WiFi:
[11:33:28][C][wifi:362]: Local MAC: 8C:CE:4E:F7:34:09
[11:33:28][C][wifi:363]: SSID: 'office'[redacted]
[11:33:28][C][wifi:364]: IP Address: 192.168.1.38
[11:33:28][C][wifi:365]: BSSID: 70:8B:CD:B0:35:C8[redacted]
[11:33:28][C][wifi:367]: Hostname: 'megadesk'
[11:33:28][C][wifi:369]: Signal strength: -50 dB ▂▄▆█
[11:33:28][C][wifi:373]: Channel: 2
[11:33:28][C][wifi:374]: Subnet: 255.255.255.0
[11:33:28][C][wifi:375]: Gateway: 192.168.1.1
[11:33:28][C][wifi:376]: DNS1: 192.168.1.1
[11:33:28][C][wifi:377]: DNS2: 0.0.0.0
[11:33:28][C][logger:293]: Logger:
[11:33:28][C][logger:294]: Level: DEBUG
[11:33:28][C][logger:295]: Log Baud Rate: 0
[11:33:28][C][logger:296]: Hardware UART: UART0
[11:33:28][C][uart.arduino_esp8266:102]: UART Bus:
[11:33:28][C][uart.arduino_esp8266:103]: TX Pin: GPIO16
[11:33:28][C][uart.arduino_esp8266:104]: RX Pin: GPIO5
[11:33:28][C][uart.arduino_esp8266:106]: RX Buffer Size: 256
[11:33:28][C][uart.arduino_esp8266:108]: Baud Rate: 115200 baud
[11:33:28][C][uart.arduino_esp8266:109]: Data Bits: 8
[11:33:28][C][uart.arduino_esp8266:110]: Parity: NONE
[11:33:28][C][uart.arduino_esp8266:111]: Stop bits: 1
[11:33:28][C][uart.arduino_esp8266:115]: Using software serial
[11:33:28][C][template.number:050]: Template Number 'Megadesk Height (inches)'
[11:33:28][C][template.number:050]: Unit of Measurement: 'inches'
[11:33:28][C][template.number:051]: Optimistic: NO
[11:33:28][C][template.number:052]: Update Interval: never
[11:33:28][C][template.number:050]: Template Number 'Megadesk Height (cm)'
[11:33:28][C][template.number:050]: Unit of Measurement: 'cm'
[11:33:28][C][template.number:051]: Optimistic: NO
[11:33:28][C][template.number:052]: Update Interval: never
[11:33:28][C][template.number:050]: Template Number 'Megadesk Height (raw)'
[11:33:28][C][template.number:051]: Optimistic: NO
[11:33:28][C][template.number:052]: Update Interval: never
[11:33:28][C][captive_portal:088]: Captive Portal:
[11:33:28][C][web_server:125]: Web Server:
[11:33:28][C][web_server:126]: Address: megadesk.local:80
[11:33:28][C][mdns:103]: mDNS:
[11:33:28][C][mdns:104]: Hostname: megadesk
[11:33:28][C][ota:093]: Over-The-Air Updates:
[11:33:28][C][ota:094]: Address: megadesk.local:8266
[11:33:28][C][api:138]: API Server:
[11:33:28][C][api:139]: Address: megadesk.local:6053
[11:33:28][C][api:143]: Using noise encryption: NO
[11:33:34][D][button:013]: 'Desk Position 2' Pressed.
[11:33:35][D][button:013]: 'Desk Position 3' Pressed.
[11:33:36][D][button:013]: 'Desk Position 4' Pressed.
Last 3 entries in logs are caused by clicking particular buttons in HA.
Nothing is added to logs when I use controller buttons but it remain to work as expected.
I have some problems with connecting D1 mini to controller and having it work through esphome.
This is how I connected it:
Comment on assembly
I know - I wanted first to test it before I move to solder. So I connected everything as described on the page.
D1 mini is powered by an external power source. Cables touch the board - I even tested by pushing them a little bit - so I could be sure they have touch points.
Firmware
The code on ESP is exactly the same as described on the mentioned page. I changed nothing, literally.
Result
Nothing happens when I click buttons inside Home Assistant or through the ESPhome web interface.
Logs:
Last 3 entries in logs are caused by clicking particular buttons in HA. Nothing is added to logs when I use controller buttons but it remain to work as expected.
The question is what I'm doing wrong?