This guide helps you set up MiMoCode2API. You can connect your Xiaomi devices to your local systems through this tool. It acts as a bridge. It translates complex signals into simple data. You do not need coding skills to use this. Follow these steps to get your system running on Windows.
You need a Windows machine to run this application. Ensure you have a stable network connection. Your devices should link to the same network as your computer. Make sure you know your Xiaomi account credentials. You will need them later in the process.
The software lives on our release page. We package the latest version there. You do not need to build anything from source.
Click here to visit the release page and download your file
Look for the file ending in .exe. This is the installer for Windows. Click the file name to start the download. Save the file to your folder of choice. Most users prefer the Downloads folder.
Move the file to a permanent directory. Create a new folder on your C drive or Desktop. Name the folder MiMoTool. Move the downloaded file into this folder.
Double-click the file. Windows might show a security prompt. This happens because the file is new. Click More Info and then select Run Anyway. This starts the setup manager. Follow the on-screen prompts. Click Next until the progress bar completes. Select Finish to close the setup window.
Open your application from the Start menu. The interface shows a dashboard. You must enter your account details first. Find the Settings tab. Enter your Xiaomi username and password. The program verifies these details with the cloud server.
Look for the API key field. The software generates this key for you automatically. You need this key if you connect other smart home devices later. Save the settings. The system will indicate success with a green light in the corner of the window.
The app scans your local network for compatible Xiaomi hardware. Wait for the list to populate. This takes about one minute. Identify your device from the list. Click the small plus icon next to the name. This adds the device to your active dashboard. The status should change from Offline to Online.
Repeat this for every device you want to use. If a device does not appear, check the power cable. Ensure your Wi-Fi is active. You can press the Refresh button if you make changes to your network.
Send a test command to confirm communication. Find the dashboard for one of your devices. Click the button labeled Test Connection. The application sends a signal to your hardware. If the light blinks or the device makes a sound, you set it up correctly.
You can now use the internal API to automate your tasks. The local server runs in the background. Keep the application open for the connection to remain active. You can minimize the window to your system tray to keep your desktop clean.
Most issues originate from network settings. If you cannot see your devices, restart your router. Sometimes the firewall blocks the connection. Check your Windows Defender settings. Allow the application to access private networks. This fixes common connection drops.
If you forget your password, reset it on the official Xiaomi website. Then, update the password in the application settings. The software stores your data locally on your computer. We do not track or send your personal info to external servers.
We release updates when Xiaomi changes their cloud structure. We recommend you check the release page every month. You do not need to uninstall the old version. Just download the new installer. Run the new file over the old one. It keeps your settings intact.
Enjoy your connected home environment. The interface provides clear logs of all activity. Contact our support page if you need further help with non-standard setups.