For Internet penetration. Only Mi WiFi Router. and Update IP to cloudflare
please copy .env.example to .env and populate all information before run this library
run python3 main.py start
to check if you have public ip, if not router it self will redial pppoe it self and update to cloudflare DNS account
or run python3 main.py reload
to restart pppoe and run same as start
or run python3 main.py get_ip
to get the ip only once.
Python 3
and requests
and cloudflare
library
pip3 install requests
for installing requests
pip3 install cloudflare
for installing cloudflare
or install using requirement.txt
pip3 install -r requirement.txt
Py Mi WiFi utils.py partly from this repo.
and thanks for LollipopKit for first developing this libary
Apache License 2.0