TP-Link-Archer-C50-API
TP-Link-Archer-C50-API copied to clipboard
TL-MR6400 (300 Mbps Wireless N 4G LTE Router)
Please add support for my tp-link TL-MR6400 LTE Router
(Firmware Version:1.16.0 0.9.1 v0001.0 Build 191223 Rel.66638n Hardware Version:TL-MR6400 v4 00000002)
Mainly I need this for device tracking in my home assistant setup.
I clicked everything I could find in the first file (exept reboot):
Login
(Tab Basic)
((Menu) Network Map)
-Internet
-TL-MR6400
-Wireless Clients
-Wired Clients
-Message
(Menu) Internet
(Menu) Wireless
(Menu) Guets Network
(Menu) Parental Controls
(Tab) Advanced
((Menue) Status)
(Menu) Operation Mode
(Menu) Network
-Internet
-PIN Management
-Data Settings
-LAN Settings
-Dynamic DNS
-Ststic Routing
-IPv6 Tunnel
-USSD
(Menu) SMS
- Inbox
New Message
Outbox
Drafts
SMS Settings
(Menu) Wireless
-Wireless Sttings
-WPS
-Wireless Schedule
-Advanced Settings
(Menu) Guest Networks
(Menu) NAT Forwarding
-ALG
-Virtual Servers
-Port Triggering
-DMZ
-UPnP
(Menu) Parental Controls
(Menu) QoS
-Settings
-Database
(Menu) Security
-Firwall & DoS Protection
-Service Filtering
-Access Control
-IP & MAC Binding
IPv6 Firewall
(Menu) VPN
-OpenVPN
-PPTP VPN
-IPSec VPN
-VPN Connections
(Menu) System Tools
-Time Settings
-LED Control
-Diagnostics
-Firmware Upgrade
-Backup & Restore
-Reboot
-Administration
-System Log
-CWMP Settings
-SNMP Settings
-Traffic Monitor
Log out -> (Are you sure to log out?) Yes
The scond file ist only login and reboot:
Login
Reboot -> (The device will reboot. Are you sure to continue?) Yes
thanks a lot in advance for your support!
Try this script: MR6400 Test Script that attempts to login and retrieve a list of connected devices. Remember to replace the username and password with your appropriate login data.
Let me know if it works successfully.
Note: For Error: No module named 'Crypto'
pip3 install pycryptodome- Locate the crypto folder in your Python's site-packages and rename the folder to Crypto
Thank you very much for working on my router type!
python3 mr6400_test.py
gives back
Retrieving PublicKey...
Retrieving JSessionID...
Retrieving Token...
True
Notes:
- I had to install
aiohttp - This router type has no username field. You just have to enter a password
Please replace line 233 as follows:
- print(macResults)
+ print(self.last_results)
Run the script again and ensure that MAC Addresses are being printed
Retrieving PublicKey...
Retrieving JSessionID...
Retrieving Token...
<MASKED MAC ADDRESSES>
Edit by @menahishayan: Masked your MAC Addresses for privacy reasons
Hello menahishayan,
what do I have to do next? Sorry I know nothing about programming.
If you are still looking for a client for TL-MR6400 - I have one https://github.com/AlexandrErohin/TP-Link-Archer-C6U And Home Assistant Integration https://github.com/AlexandrErohin/home-assistant-tplink-router I have tested it with TL-MR6400 v5