Node-RED control-device node throw an error

Your payload to control the device is apparently wrong.
Can you show me what device you used in control-device node?
You can findout what payload to use in help.

I take control data from SNZB-02D

msg.payload : array[1]
array[1]
0: object
serial_number: "84ba20fffed477c7"
name: null
manufacturer: "SONOFF"
model: "SNZB-02D"
firmware_version: "1.0.9"
display_category: "temperatureAndHumiditySensor"
capabilities: array[7]
protocol: "zigbee"
app_name: null
state: object
battery: object
temperature: object
temperature: 24.1
updated_at: 1696922866729
thermostat-mode-detect: object
humidity: object
rssi: object
tags: null
online: true

For SNZB-02D, it’s a temp and hum sensor. It cannot be switch on or off.
You mean you want to update the real temp and hum data to a virtual device in iHost?

Got it. My mistake…
Thanks for the help!
I will wait for updates and expanded functionality.

Hello.
I noticed that after updating iHost to 1.11.0, a warning began to pop up:
“control-device: Failed. Please check Node configuration.”
There are no device errors.

Screenshot 2023-12-01 190202

hi, after rebooting, iHost IP may change, please check your node-red settings

Hello.
I have a fixed IP.
This is a problem specifically in node. The description of the error is not displayed anywhere, and I can’t find where it occurs…

Hello, can you provide your node-red log and iHost syslogs, they can be submitted through the help center.

Hello.
For some reason it gives an error when sending.
I’m posting it here.
b9d1cf57-f121-414a-82c7-dcd9f8dd75b3.rar (1,5 МБ)

Hello.
Seems to have caught the problem.
It is connected with virtual devices.

eWeLink CUBE Version - 1.13.0
Node-Red - 3.1.3
node-red-contrib-ewelink-cube - 1.1.0


May you provide the log of node-red-contrib-ewelink-cube?
We’ll look into it.

Hello.
Unfortunately I can not. Due to the fact that Node-Red stopped working stably after the update, I now have Node-Red running on my external server. But everything is connected with iHost.
Above I posted one of the latest Node-Red logs. There are the same errors. It was just easier to figure out the type of error here. Error 110006 also began to appear frequently…
I’ll try to make an error log…

Here is a log that contains errors…
192.168.4.4-20240102-190351.rar (58,8 КБ)

I think I understand what the problem is.
After updating Node-Red to 3.1.3, an old problem with multi-channel devices appeared. Error 110006 after accessing one or more channels. If all channels are ON/OFF, then there is no error…

Hello.
I added a virtual device to nspanel pro. now I want to remove them from the nspanel pro screen but I don’t have this option.
I deleted the device in node-Red but it is still visible in nspanel pro.


4 Jan 13:32:00 - [info] [control-device:ВКЛ] MULTI DATA :  {"1":"keep","2":"on","3":"keep","4":"keep"}
4 Jan 13:32:00 - [info] [control-device:ВКЛ] reverse result --> {"1":"on","2":"on","3":"on","4":"on"}
4 Jan 13:32:00 - [info] [control-device:ВКЛ] DEVICE CONTROL DATA : {"id":"968e9d23d7928789","deviceId":"a4c138e5d8a62148","params":{"toggle":{"1":{"toggleState":"on"},"2":{"toggleState":"on"},"3":{"toggleState":"on"},"4":{"toggleState":"on"}}}}
4 Jan 13:32:00 - [info] [control-device:ВКЛ] commonAxiosRequest data :{"id":"968e9d23d7928789","deviceId":"a4c138e5d8a62148","params":"{\"toggle\":{\"1\":{\"toggleState\":\"on\"},\"2\":{\"toggleState\":\"on\"},\"3\":{\"toggleState\":\"on\"},\"4\":{\"toggleState\":\"on\"}}}"}
4 Jan 13:32:03 - [info] [control-device:ВКЛ] res>>>>>>>>>>>>>>>>>>>{"error":110006,"data":{}}
4 Jan 12:24:08 - [error] [put-device-state:Внешняя температура SRV] Error: read ECONNRESET
4 Jan 12:24:08 - [error] [put-device-state:Внешняя температура SRV] Error: read ECONNRESET

Problem does not occur on recent versions

Hello, I actually tested and found that there is no control device failure issue,
Or you can download the system log on the settings page and submit it via Feedback to the eWeLink team for troubleshooting. :thinking:



Hello.
I reinstalled Node-Red. Some errors have gone away, but 110006 with multi-channel devices remains.
I’ll take a log today and send it.

Like many people, my feedback form is not working.
I’m posting the log here. Error 110006 exists…

192.168.4.4-20240108-104520.rar (39,3 КБ)