pip3 install python-miio --upgrade obtain the token ... export MIROBO_IP=192.168.179.52 export MIROBO_TOKEN=...