I got myself a Xiaomi Gateway and some Sensors and Buttons.
Now the following is happening.
My openHAB is running in WLAN 192.168.107.2
and the Xiaomi 192.178.111.4
Installed the Xiaomi Binding.
Could not find the Gateway, so I added it myself manual via Paper UI. Inserted the Ip, Dev-Key and all Sensors showed up in my Inbox. I thought HEY that’s awesome.
But here starts the Trouble. Bridge and Motion Sensor added
Channel Linked via Items created from PaperUI
But no values at all, what did I do wrong?
What do you mean by that? Are your OH and Xiaomi is a different subnet?
When you plug a network cable and connect to the wi-fi do you get the IP address in the same range? like 192.168.1.x ?
2 VLANs
They can communicate with each other, checkout the GitHub Issue
Iot VLAN where only 192.168.107.2 (The openHAB RaspBerry Pi is allowed to communicate into different VLANs and Internet)
The IoT Insecure Monitor VLAN for MiHome and Alexa and all the IoT Devices that need Internet which I don’t trust.
192.168.111.4 (Xiaomi Bridge)
Can there be other protocols or ports blocked? Try to bring them together under one vlan and check, if it works than something wrong with the network config.
I’ve got mine working, OpenHABian + Xiaomi Gateway under one subnet. I’ve got mikrotik to block the outbound packets if I need to.