Smart Home Automation Forum
KC868-A16 V3 – HTTPS GET request to Telegram fails (ESP_ERR_HTTP_CONNECT / TLS config - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: "KCS" v3 firmware system (https://www.kincony.com/forum/forumdisplay.php?fid=74)
+--- Forum: "KCS" v3 firmware (https://www.kincony.com/forum/forumdisplay.php?fid=75)
+--- Thread: KC868-A16 V3 – HTTPS GET request to Telegram fails (ESP_ERR_HTTP_CONNECT / TLS config (/showthread.php?tid=9968)



KC868-A16 V3 – HTTPS GET request to Telegram fails (ESP_ERR_HTTP_CONNECT / TLS config - PrivatePerson - 11-20-2026

Hello Kincony team,
I am trying to send sensor readings from my KinCony KC868-A16 V3 controller to a Telegram bot using the Custom Protocol (HTTP GET) and IFTTT.

Hardware and firmware:
• Controller: KC868-A16 V3
• Firmware: KCS 3.27.4
• Custom Protocol: Protocol ID 2
• Router: HTTP GET
• IFTTT: Enabled
• Telegram Bot API: https://api.telegram.org/bot<TOKEN>/sendMessage
The Telegram API URL contains the correct bot token and chat ID. I have also tested the Telegram bot separately.

What works:
• RS485 Modbus sensors work correctly.
• Temperature, humidity, pH, EC readings are received automatically.
• IFTTT rules can be created, saved and manually triggered using the Run button.
• The controller successfully starts the IFTTT rule.
The problem:
When I press Run, the controller attempts to execute the HTTPS GET request, but the Telegram message is not delivered.
The system log shows the following errors:
web_handle_ifttt: cmd run
web_handle_ifttt: id 1
web_handle_ifttt: run ifttt rule 2
ifttt: run ifttt rule :2

esp-tls-mbedtls: No server verification option set in esp_tls_cfg_t
esp-tls-mbedtls: Failed to set client configurations
esp-tls: create_ssl_handle failed
esp-tls: Failed to open new connection
transport_base: Failed to open a new connection
HTTP_CLIENT: Connection failed, sock < 0
communication: HTTP GET request failed: ESP_ERR_HTTP_CONNECT

My questions:
1. Does KCS firmware 3.27.4 support HTTPS GET requests in Custom Protocol?
2. Is it necessary to configure a CA certificate or TLS certificate verification somewhere?
3. Is this a firmware issue with the ESP-TLS configuration?
4. Is there a recommended way to send Telegram Bot API messages directly from the KC868-A16 V3 without Home Assistant or an external gateway?
I would appreciate any advice or a firmware fix.
Thank you!