- Install Node.js wrapper using "npm i -g miio".
- Reset a device by holding both top and back switch simultaneously 5 seconds.
- Connect to the device's ad-hoc wifi. It should have a name like "zhmi-airpurifier-vX-miapYYYY", which X is a model version and YYYY is last 4 characters of the device's mac address.
- Find the device's id and ip address using "miio discover".
- Force set the device's token using "miio tokens update <device_id|ip_address> --token <your_desired_hexadecimal_token>"
- Specify a wifi network for the device using "miio configure <device_id|ip_address> --ssid "your_ssid" --passwd "your_password".
- The device will beep once and connected to the wifi network.
I hereby claim:
- I am titipat on github.
- I am titipats (https://keybase.io/titipats) on keybase.
- I have a public key ASA1XSRh_OUHtEUK4jRiPCR_oaIw7HGenOT6aZlmf9Kbago
To claim this, I am signing this object: