Closed mikeinblue closed 3 years ago
Open Aqara P3 telnet can use python-miio
miiocli gateway --ip xxx.xxx.xxx.xxx --token xxxxxxx raw_command set_ip_info '{"ssid":"\"\"","pswd":"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd"}'
Replace xxx with your ip and token
Open Aqara P3 telnet can use python-miio
miiocli gateway --ip xxx.xxx.xxx.xxx --token xxxxxxx raw_command set_ip_info '{"ssid":"\"\"","pswd":"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd"}'
Replace xxx with your ip and token
Thanks I will have a try.
I am trying to get the token.
- Press the button 10 times in a row
- P3 will give a sound prompt to restore the factory setting successfully.
- Then quickly contact and press the button twice.
- If successful, you will hear a ringtone. restart,then Pressing the button for 5 seconds will prompt you to open Mi home app pairing.
thank you so much.I will have a try.
finally,I solved it.Thanks for your great work.
Open Aqara P3 telnet can use python-miio
miiocli gateway --ip xxx.xxx.xxx.xxx --token xxxxxxx raw_command set_ip_info '{"ssid":"\"\"","pswd":"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd"}'
Replace xxx with your ip and token
I tried this command but got this error:
WARNING:miio.device:Found an unsupported model 'lumi.aircondition.acn05' for class 'Gateway'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/ ERROR:miio.miioprotocol:Got error when receiving: timed out Error: No response from the device
what can I do?
Is there anyone can tell me how to use the custom open telnet command,thank you!