Command to connect to M1S in Home Assistant
telnet m1s IP
Command to enable Telnet and Public MQTT; Update M1S ti work with Home Assistant
cd /tmp && wget -O /tmp/curl "http://master.dl.sourceforge.net/project/mgl03/bin/curl?viasf=1" && chmod a+x /tmp/curl; /tmp/curl -s -k -L -o /tmp/m1s_update.sh https://raw.githubusercontent.co ... /M1S/m1s_update.sh; chmod a+x /tmp/m1s_update.sh && /tmp/m1s_update.sh
翻译下:
1.用你的ha的那个设备上的命令行里运行:
pip3 install python-miio
2.检查你的版本
miiocli device --ip xxx.xxx.xxx.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxx info