What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

SkyHero v2.1 – traffic monitor system by human–AI teamwork

letgoodgrow

Occasional Visitor
Hello guys,
I have been working on something for 3 months nearly everyday to make the best possible solution...
and it's time to share it with you, the name I used for personal use was Superman but it's now changed to Superhero
I'm not a professional developer but certainly for a tech-driven person there were a lot of small details and effort behind the scenes to achieve decent quality

SkyHero v2.0 shell based script ---> published for research and as a sign of progress
SkyHero v2.1 python based script ---> superior in every way & ready for use

SkyHero-Tracking-016.jpg



SkyHero-025-ed.jpg


Sky-Hero-066-ed.jpg


man_stop_it_you_are_consuming_too_much_quota_leave_me_some_plz.jpg

Screenshot-2025-08-18-183342.jpg


Sky-Hero-030-ed.jpg


Screenshot-2025-10-14-054545.jpg


SkyHero-036-ed.jpg


Screenshot 2025-10-09 231527.jpg
Screenshot-2025-10-13-052404.jpg
why it matters?
* the Traffic Analyzer feature that Asus routers have is very unstable and often gets wiped at random times, which makes it far less useful than it should be.
* this script saves and organizes the data, and even provides additional stats to help monitor traffic usage.

what do you need?
Asus router with Asuswrt-Merlin firmware and entware installed on an external USB


key features:
- you get lightweight dashboard with separate url showing all important stats, with optional password lock.
- strong architecture that copies db records from router to an independent smart database saved project then archived into json periods files & backups
- you don’t start with zero data but all available historic data gets imported from your router and utilized.
- self healing that meant to restore internal ASUS database if it matters to you but it's disabled by default
- quick buttons to filter data based on All Time Today Yesterday Last 7 Days ‹ months navigator ›
- visual quota usage progress bar that shows current traffic usage status daily/weekly/monthly periods
- period overview that shows line bars for the selected period based on days/hours
- a pie-chart that shows 10 top Device Usage instead of the limited 5 that Asus offers
- billing period calculator , know exactly the usage based on your intent bill time
- table view showing per-device usage with warning color indicators and search bar.
- smart groups that can be saved to mark couple of devices and see their total usage and compare
- desktop mainly yet mobile is fully supported.
- device screenshot for a personalized usage summary two layouts "my favorite feature"
- the script supports multi langs but mainly English/Arabic
- new metrics like avg/peak day with Tooltips that explain each one
- warning box appears if a user exceeds +5 GB of traffic in a single day change be change from menu quota manger ,
and another one triggers if usage goes above the average for longer periods.
- stylish CLI menu to manage the entire system like password, quota, server restart and db info etc.. shortcut access type "skyhero/skyhero2"
- autostart mechanism to allow script to work after power loss or router restarts, in addition to an improvement to the USB mount handling as a bonus

where is your data and how to keep it safe?
The easiest and safest way is to copy the "data" folder It contains json files / traffic.db can hold as long record of data as you wish and it's the file that generate json file it is taken as backup and it can be used to restore router database if lost though not yet tested for that purpose / there are also built-in backup options in "Skyhero menu Cli".

unlikely but in case any problems occur during use, from the skyhero menu consider these options:
use 9) Restart Python Web Server if there’s an issue with the web side. / try 3) Run Manual Traffic Grab if data seems off. / or use the ultimate fix: 1) Install / Update, which refreshes everything.


tested routers so far, please share your feedback too?
RT-AX58U V2 ... working with no problems

Installation steps
get USB--> plug it in your router --> run the ssh command "amtm" and install ep entware (this will format and prepare everything).
either copy the script folder manually to the USB, or install it online using the commands provided. It will automatically check for all required add-ons and install them.
once done, you’ll see a success message → hit Enter and you’re inside the management menu.
you can access the menu anytime by typing skyhero or skyhero2 to control everything.
to change the default port (8082), simply open config.py and update the port number to your preferred value.

online "experiential" never tried that one before
"change usb-name" to your USB label , run the command, then run the offline commands as well
Code:
...sorry the full command is on GitHub the forum give me error when adding the curl command!


offline
download the project manfully from github then
Code:
chmod +x /tmp/mnt/usb-name/skyhero-v2/install.sh
/tmp/mnt/usb-name/skyhero-v2/install.sh

GitHub project link:
github.com/heythem500/SkyHero-Monitor/

Dashboard URL: http://<your_router_ip>:8082/
take for example: http://192.168.50.1:8082/
 
Last edited:
The curl command for installation is incomplete.
 
I installed entware on jffp partition? Can I install Skyhero on jffs, too?
I'm not so experienced with this, but as long as you have free space you can try because there's gonna be data , json data running for two months can be near 2.5mb only but traffic.db can reach up to 18mb easily for the same period yet this file can be removed without losing progress so sort yourself out. also disable the self healing auto backup for so it don't add any unnecessary storage.
just watch up for any conflicts and stability issues, monitor option number two in menu cli 2) Verify Status it will show you if the server stopped
 
Last edited:
What do you mean with “human-AI teamwork” (sic)?

(You used AI to generate parts of your code?)

PS: what’s the final name: Superman, Superhero or SkyHero?

(You use all three in the introductory post)
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top