Dev module xiaomi v4

Is the Gateway on the same network as the pi? No repeaters? (I know it caused me trouble at one point)

I also have the gateway v3 and I haven’t had any issues following the tutorial :confused:
Maybe the problem is that it is linked to another system and its number of connections is therefore limited?
I can’t wait to get rid of this gateway with the zigbee module!

The gateway and gladys must be on the same Wi-Fi network, at least locally, no need for an internet connection. Therefore, the Raspberry (or any other hardware hosting Gladys) must be connected to a network and the Xiaomi gateway to the same.

You can use the Net Analyser app to see your network.
You will see if everything is on the same network.

For information, I installed the latest version on a gladys development environment and it only recognizes my gateway, no sensors, whereas on my « real » gladys I have all my sensors.

the same version, just on a development environment (macOS), I misspoke

@anode How did you install Gladys? Via the official Raspbian image?

If you installed Gladys manually, it is necessary for your Gladys to be installed via Docker in network=host mode.

Okay, it’s normal that it doesn’t work then. Docker only runs on Linux (by design), to make it work on macOS and Windows, Docker runs a Linux VM that has its own network isolated from your computer’s network.

Why are you running Gladys on Windows? Mainly for testing? Installation on Windows/macOS is really just for testing or to help with development/debugging, but Gladys is primarily designed to run in production on a Linux machine (a Raspberry Pi, a Synology, a home server).

@pierre-gilles arrives and finds a lead, see the flaw… He’s frustrating, this little one… :stuck_out_tongue:

You can try something

In your container creation command for Gladys, add the following bind

-p 9898:9898

This port corresponds to the UART port of the Xiaomi gateway

I think we don’t understand each other. How did you launch Gladys? More specifically, which command did you use? The one from the documentation?

Hello,
I have a problem with the Xiaomi gateway. I managed to connect it for the first time in a house, but when I got home I reset everything and now I can’t enter the gateway information (no config page anymore).

Hello,
I just upgraded to v4. I was on v3.
It’s very different and it’s great.
Regarding Xiaomi integration, I can see my temperature and humidity sensors.
I don’t see my simple switch buttons. Is this normal?

Yes, only the managed sensors

Is it planned to complete the Xiaomi Aqara range?

Hello,

For my part, my double-button switches are well reported but on the other hand, the single-button one that I just acquired does not report back.

Surprising, I don’t understand why?

This sensor might be more recent and not supported by the Xiaomi service :slight_smile:

Do you have the sensor details?

As far as I know, no one is working on it. If you want to take over development, you are welcome :slight_smile:

Hello @pierre-gilles

The sensor details are as follows: D1 wall switch without neutral

With the new version of xiaomi home, it’s difficult to get more elements, however.

I just received my CC2531 key, I just finished the installation. However, no devices are reporting at the moment. Do I not have an antenna on my USB stick???

But otherwise, my switch is in the list of compatible xiaomi / zigbee2mqtt products

Best regards

I assume it’s this one:

https://zigbee.blakadder.com/Xiaomi_QBKG11LM.html

Its Xiaomi ID is « lumi.ctrl_ln1.aq1 » / « lumi.ctrl_ln1 », and I confirm that we do not support it in Gladys yet.

For Zigbee2mqtt, you might want to discuss it in the Zigbee2Mqtt topic? Here we talk about Xiaomi integration outside of Zigbee2mqtt :slight_smile:

I’m not very available with family life. I’d like to try setting up the development environment first and then resume development. For help with setting up the development environment, that’s on another topic. If I have any questions, it will be on this topic that I should ask them.