telmomarques / xiaomi-360-1080p-hacks

Hacks for the Xiaomi Mi 360 1080p camera (MJSXJ02CM).
761 stars 129 forks source link

Token via Telnet #19

Closed sicciaman closed 4 years ago

sicciaman commented 4 years ago

I'm trying to find Xiaomi 360 1080P camera through Telnet but I can't find where it's located

telmomarques commented 4 years ago

I don't know if I understood your question correctly, you can't find the IP address of the camera? You can find the IP in the Mi Home app: General settings -> More settings -> Network info

sicciaman commented 4 years ago

No, I have the IP of the camera, but to communicate using miio-python library, it's necessary also a Token

telmomarques commented 4 years ago

I'm not sure this version of the camera is supported by miio-python.

I can see in the documentation that there are multiple ways of obtaining tokens, check the docs and try the documented methods.

sicciaman commented 4 years ago

I've already try some of those methods, but with this Camera seems not working. So in another firmware Github page I've found that it's possible get the token directly from Telnet. I'm searching between all directories and files but I didn't found nothing.

telmomarques commented 4 years ago

Seems like this camera model is not supported by that library... You can maybe try reaching out to python-miio repo for help.

sicciaman commented 4 years ago

Ok thanks anyway!

sicciaman commented 4 years ago

Found a way to get Token for Xiaomi Mijia 360 1080p (with your Firmware). Connect via Telnet to the camera, follow the address: /mnt/data/bin and execute command mortoxd that show some info (token is in the field: miio_token