igdr / node-red-contrib-xiaomi-smart-devices

8 stars 4 forks source link

error: "No key" #24

Open MarcoBruh opened 5 years ago

MarcoBruh commented 5 years ago

Hi,

I removed the old nodered contrib mi devices palette and installed this newer version.

however, now im getting this No key error in the debug text: 14-7-2019 21:31:57node: a94b06de.92b828 msg.payload : Object object cmd: "write_ack" sid: "7811dcb791c5" data: object error: "No key"

Trying to inject this JSON: {"payload":{"rgb":440038609}} screen1 screen2

Really can't figure out what i'm missing here :)

igdr commented 5 years ago

Hi, can you show me Inject node? I guess the problem is there.

MarcoBruh commented 5 years ago

Trying to inject this JSON: {"payload":{"rgb":440038609}}

I used this as an example to verify it is working.

MarcoBruh commented 5 years ago

Ok, so now all my xiaomi components stopped working. Knipsel

Turns out i can only use Xiaomi in HASS, OR Node red, not both at the same time. When i do, node-red gives me a 502 Bad Gateway (nginx) error and wont let me deploy my flows.

After removing the plugin from Node-red and restarting home assistant, everything starts working again.