This is a simple python script which checks JioFi battery every 2 Minutes and notifies if level is lower than desired value. You can also run script jiofi_once.py for check battery level once. This Script works on both Linux and Windows. If you want you can also include max desired level in script for notify on battery full.
Python 3
pip install requests
pip install py-notifier
pip install win10toast
-> url - JioFI's gateway address ( Use route -n for find ) (Most Probably 192.168.225.1 or 192.168.255.1)
-> min - Minimum Percentage Required
Simple Use
python jiofi_battery_notifier.py
Check Once
python jiofi_once.py
Auto Start at Boot
Follow guidelines for your operating system for running python scripts at startup.
https://www.youtube.com/watch?v=_FRg6Q0JLlk
Change default gateway Url of your JioFi
Print response using using print(response.text) and find out what pattern is used for your device
Debug your code and find out what is going wrong and if you need my help reach me at "git.hrca@gmail.com"
https://github.com/Parveshdhull
https://twitter.com/ParveshMonu
https://youtube.com/right2trick