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

8 stars 4 forks source link

How do I find the SID of my gateway ? #15

Closed realjax closed 5 years ago

realjax commented 5 years ago

See title..

Edit: I managed to find it because I happened to jot it down somewhere but if I hadn't (and new users too I guess) I'd have no clue.

igdr commented 5 years ago

image

When the gateway node connects to the network (you can leave SID empty when configuring), SID automatically appears in the node hint.

igdr commented 5 years ago

I see this might be simplified a bit - remove this field from the configuration and set automatically when receiving heartbeats from the Xiaomi Gateway.

realjax commented 5 years ago

Ah, I think it complained about not being configured correctly when I did leave it emptyt? Not sure.

igdr commented 5 years ago

I am going to remove SID from gateway config - so it would be confusing users

igdr commented 5 years ago

I removed SID from the gateway config, now it is assigned automatically when the gateway initializes.