Open Eckart0 opened 4 years ago
Hi, that would interest me too. I have the gateway and cannot use it like that.
Any news on this at all? Or maybe a different way to get the key?
Hi .. same issue here ... with Xiaomi Gateway 3 (ZNDMWG03LM) ordered on Aliexpress .... Works fine with Xiaomi App .. but not possible to add to ioBroker .... No "About" menu in app to read key, nor a switch to activate LAN-MODE in App .. I've found partial possts where the soldering is feasible, but RX connectivity ... (https://forum.iobroker.net/user/coupeaze) .. I presume no one was yet able to get this new device connected with ioBroker yet ?
Hi, I have the EU Version Xiaomi Smart Multimode Gateway (ZNDMWG02LM) https://www.amazon.de/gp/product/B082XCWH71/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
There is also no option to enable the LAN Mode in the Xiaomi App and I can't get the key. So I connected the Serial convertor to UART Ports and came to the Bootloader. There is a way to get the telnet password (the EU version ist protected with an Password). After I got the password, I activated the telnet with miio commands and bekame a connection to the gateway over telnet. In the file /data/miio/device.conf you can find the DID and the KEY. But there is an other Problem. The Firmware VERSION=1.4.6_0043 has no option to enable the LAN Mode. There is no service on the device to open the port 9898. :-( This port is needed for ioBroker.
I will trie to flash an older Firmware and test again.
@lastoks Hi, if it works, it would be nice if you could write instructions on it. I have the same gateway, but directly from China. Unfortunately, it's so completely useless to me. Thank you
Hi @Der-Noeri, you can find the intruction here: https://github.com/serrj-sv/lumi.gateway.mgl03/tree/main/uart_recovery. But this firmware works only with Home Assistent, because they get the data over telnet and need a open telnet port.
The modified firmware has the following features:
Based on official 1.4.7_0065, built by @zvldz
List of modifications:
enabled 'telnetd'
disabled gen password
removes password if exists
mosquitto port is open for access
run on startup '/data/run.sh'
added 'curl'
added 'dropbear' (to start add in '/data/run.sh' line '/bin/dropbear -R -B')
replaced 'silabs_ncp_bt' with modified version (works without internet)
Actually I know no way to open the port 9898. I don't know, if there is an other way to get the data from the gateway without the port 9898. A translation from https://github.com/AlexxIT/XiaomiGateway3 to the ioBroker adapter could be a way.
Or install a Home Assistant instance with the modified gateway and connect Home Assistence to ioBroker. Not a nice way, but it could work...
Here you can find the desciption how it works with Home Assistant https://gadget-freakz.com/xiaomi-gateway-3-highly-hackable/
Now, we need someone who build an adapter like the Home Assistant https://github.com/AlexxIT/XiaomiGateway3
I installed a HASS instance and successfully connected the XIAOMI EU Gateway v3 (ZNDMWG02LM) with hacked telnet account. Then I connected the HASS instance with the ioBroker adapter https://github.com/ioBroker/ioBroker.hass. Now, I have the Xiaomi temperature and humidity sensors in ioBroker.
It's a quick and dirty workaround... => von hinten durch die Brust ins Auge...
Hi, is there an update planned for the new mijia gateway? (Item ZNDMWG03LM)? It seems to be more difficult to enable the LAN mode. I found a desc in [https://community.home-assistant.io/t/xiaomi-mijia-smart-multi-mode-gateway-zndmwg03lm-support/159586/75], and a workaround via Apple Homekit, but I'd prefer a direct integration in iobroker. Regards, Eckart