Before setting, please download the smartmi link APP and register your smartmi ID。
To smartmi link APP: reset the Wi-Fi setting of P1 following user manual, make sure the P1 is on the same Wi-Fi(2.4GHz required) network as your phone, the P1 should automatically* display on the APP to be connected. Choose the Wi-Fi and enter the password, then wait for the connection to complete. After establishing the connection, in just a few preference settings, your P1 is good to go!
*If the device doesn't pop up, press the + button on the top-right corner on the screen to start manual searching. Make sure both the P1 and your phone are on the same Wi-Fi!
To Homekit: after connecting to smartmi link APP, press the setting(in gear icon) button on the top-right corner, then select "Add to Homekit". Scan the barcode/enter the code on sticker at the bottom-back of your P1 near the power port, then finish the setting on your iPhone.
To Google Assistant: after connecting to smartmi link APP, open Google Home APP, press the setting(in gear icon) button on the middle of the screen, then scroll down and select "Works on Google". Search "smartmi link", then follow the steps thereafter to finish the setting.
To Alexa: after connecting to smartmi link APP, open Alexa APP, select the "Device" section, then press the "Your Smart Home Skill" under "Add Device" section. On the next page, press the search(in magnifier icon) button on the top-right corner, search "smartmi link", then follow the steps thereafter to finish the setting.