Closed pilip87 closed 5 years ago
I fixed it v1.0.16, could you check it up?
Don't understand why, but I still see only versione 1.0.15 available in palette manager
Could you check it up now, it was some delay on the Node-Red side, now should be ok.
Now I can save address and port and add the devices but then Node-Red crashes.
Error: addMembership EINVAL at Socket.addMembership (dgram.js:639:11) at Socket.XiaomiGatewayNode.socket.on (/home/redacted/.node-red/node_modules/node-red-contrib-xiaomi-smart-devices/devices/gateway/gateway.js:88:18) at Socket.emit (events.js:197:13) at startListening (dgram.js:134:10) at state.handle.lookup (dgram.js:307:7) at processTicksAndRejections (internal/process/next_tick.js:76:17)
What address and port did you set as parameters?
Address is the Xiaomi Gateway Local IP and port 9898
224.0.0.50?
192.168.178.34
You should set 224.0.0.50 or leave the address field empty.
The error occurs when the gateway node cannot connect to the gateway (192.168.178.34), I will fix this error and display the correct error message.
fixed, v1.0.17
If we dont put in an IP address how does the gateway node know where to look for the hub?
You should set 224.0.0.50 or leave the address field empty.
The error occurs when the gateway node cannot connect to the gateway (192.168.178.34), I will fix this error and display the correct error message.
Thanks, it's working now!
@beccsjb by default 224.0.0.50 is set as IP address and 9898 as a port
I have the same problem and I am on the latest version, 1.0.15. I also updated Node Red to the latest version but the issue remains (I have removed the key from the screenshot).
Originally posted by @BoMatt in https://github.com/igdr/node-red-contrib-xiaomi-smart-devices/issues/11#issuecomment-486616357