Problem with Xiaomi IR Remote token

If you have not yet got it going, forget the mi home app… Just use the Miio NPM module from your command line: miio - npm

And setup like so:

# 1. Connect to the IR remote's wifi access point (when it's in initial setup mode)
# 2. Get the token:
miio discover --sync

# 3. Connect the remote to your wifi network like so:
miio configure 192.168.4.1 --ssid xxxxxx --passwd xxxxxx

# 4. Configure your home assistant as per: https://www.home-assistant.io/components/remote.xiaomi_miio/
2 Likes