cflurin / xiaomi-mqtt

A Bridge between the Xiaomi Mi Smart Home Gateway and the Mqtt broker.
Apache License 2.0
50 stars 14 forks source link

Version 3 gateway #14

Closed Merlin83b closed 4 years ago

Merlin83b commented 4 years ago

I've recently bought a "version 3" gateway, the type that has a USB socket for power rather than plugging stright into the wall. I'm running xiaomi-mqtt and see the start "xiaomi-mqtt started." message but nothing after that. On using tcpdump, I don't see any multicast messages coming out of the gateway, but instead see a broadcast every 90 seconds to port 54321 with 32 bytes in a UDP packet.

I see that this version was mentioned in another thread and wonder if you might have a working theory as to how to proceed? I'm more than happy to provide further debug info if you can tell me what's needed.

Attached is a pcap of the packets coming out of the gateway every 30 seconds.

xg.zip

cflurin commented 4 years ago

Hi, I'm still using one gateway (version 2) for a few devices but I've moved to zigbee2mqtt for most of my devices (approy. 30).

So I don't see any advantages for the future. Feel free to fork this project and modify it for your requaraments.

Merlin83b commented 4 years ago

Thanks, I've ordered a USB device for that so will give it a go.

cflurin commented 4 years ago

FYI I'm using the adapter CC2531 with antenna and one router CC2530 + CC2591