Closed ferdoo closed 5 years ago
olso before was here on the configuration node possible to define devices with name and ssid now its missing ..
this is missing
Hi. The reason is you updated to the new version 2.0. In this version, I used the new simpler approach controlling Xiaomi devices - now you do not need to count all devices then select the proper device in node configuration.
Just add a new Xiaomi device and set SID directly to the device node.
Regarding the switch here is the example, more detailed you can take a look at "wall switch" node:
msg.payload = {
"channel_0": "on"
};
return msg;
Yes - but this not work.
My Node-Red run on android TV Box. - i tried to uninstal and new instal.
After inject can i on debug node see this message :
{"fromip":"192.168.0.10:9898","ip":"192.168.0.10","port":9898,"payload":{"cmd":"write","sid":"100d0d11955c7c","data":{"channel_0":"on","key":"23b642647cb43b762496f04a4d7a0dcc"}},"_msgid":"4d1329eb.f00018"}
Any other idea ?
I try instal node-red on other android device but this is the same. Can not control xiaomi dev.
In a new version, the only way is to add the "switch node", select the switch type and pass the next message.
msg.payload = {
"channel_0": "on"
};
return msg;
No activity, so I close this issue
Hi after update, i can not control my xiaomi devices. Before i can control my switches but now not. All others sames to work. Now this mesage not work :
msg.payload = { "cmd":"write", "model":"ctrl_neutral2", "sid":"100d0d11955c7c", "short_id":23971, "data":{"channel_0":"on"} }; return msg;
Thanks for help.