OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Error: Failure on multiple SendGet Functions

Open codekow opened this issue 4 months ago • 4 comments

Describe the bug

Command

Device fails to send multiple SendGet commands

alias scared_of_the_dark backlog sendGet http://10.0.40.51/cm?cmnd=Power0%20Toggle; sendGet http://10.0.40.52/cm?cmnd=Power0%20Toggle

addEventHandler OnDblClick 6 scared_of_the_dark

Error

Info:HTTP_CLIENT:HTTPClient_Async_SendGet for http://10.0.40.52/cm?cmnd=Power0%20Toggle, sizeof(httprequest_t) == 160!
Info:HTTP_CLIENT:Parse url http://10.0.40.51/cm?cmnd=Power0%20Toggle
Info:HTTP_CLIENT:Parse url http://10.0.40.52/cm?cmnd=Power0%20Toggle
Info:HTTP_CLIENT:host: '10.0.40.51', port: 80
Info:HTTP_CLIENT:host: '10.0.40.52', port: 80
Info:HTTP_CLIENT:HAL_TCP_Establish: created socket 2

Error:HTTP_CLIENT:getaddrinfo error
Error:HTTP_CLIENT:establish connection failed, error -1 
Error:HTTP_CLIENT:httpclient_connect is error,ret = -8

Firmware:

  • Version Built on Oct 11 2024 21:26:54 version 1.17.746
  • Device:
  • Chip/model: BK7231T
  • Device config:
{
  "vendor": "Tuya",
  "bDetailed": "0",
  "name": "Full Device Name Here",
  "model": "enter short model name here",
  "chip": "BK7231T",
  "board": "TODO",
  "flags": "1024",
  "keywords": [
    "TODO",
    "TODO",
    "TODO"
  ],
  "pins": {
    "6": "Btn;1",
    "8": "LED_n;2",
    "9": "LED_n;1",
    "24": "Rel;1",
    "26": "dInput;2"
  },
  "command": "",
  "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
  "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
}

Additional context

I've tried multiple versions and get the same error

codekow avatar Oct 14 '24 23:10 codekow