Closed miniknife88 closed 3 years ago
Use the aqaragateway.exe to flash via UART TTL
Aqara Hub M1S CN ZHWG15LM
I'm getting an error:
'NullWriter' object has no attribute 'fileno'
The hub is plugged in to mains, so I assume I don't need to connect 3.3V from TTL to the hub?
With the same error
Thanks for the quick reply.
Thanks for the quick reply.
- when and why?
https://github.com/niceboygithub/AqaraM1SM2fw/commit/f56610355f83beef03b8f5eabe0fca5c03b6856f Because the progress bar is not display correctly.
- I have it plugged into the main 240VAC power, is that what you mean?
Yes
- I would prefer to use UART (see next item)
- 'custom open telnet command' doesn't work, see my comment here: https://gist.github.com/zvldz/1bd6b21539f84339c218f9427e022709#gistcomment-3733592
I tested the way 2 and way 3. It shall be work. You need to make sure that the hub is working as Mi Home mode. If it is still not working, try another network.
- Do you mean switch to Aqara home mode to boot the modified firmware after it has been flashed? I wish I could get that far 😭
After flash the modified firmware, then switch to Aqara home mode. Otherwise the telnetd will be not enabled.
1 OK, so it's unrelated. 5 Yes, see the link I posted which explains that. It is the telnet open command that I can't figure out. Which way, 2 or 3 worked for you? Would you kindly check my post to see if there is something I'm doing wrong? https://gist.github.com/zvldz/1bd6b21539f84339c218f9427e022709#gistcomment-3733592
I use way 3 to enable telnet. You can see the picture. After sent the command, M1S reply 'ok'. And saved the log to /data/miiocli.log after enable telnet.
Thanks for making the firmware
So,How to use this firmware?