I built a real-time web UI for CAKE SQM stats

Hi @segal_72 ,

Quick update—I’ve just released v1.0.1!

I’ve integrated some of your suggestions into the new init script. After reviewing the code, I found a few areas where we could bridge the gap:

  • Host Binding: I’ve added the -host flag so you can now bind to a specific interface/IP via the init script (defaults to 0.0.0.0).
  • Cleaner Arguments: Refactored the command with proper argument separation (\) to make it much easier to read.
  • Conservative Respawn: Changed the retry delay from 0 to 5 seconds. This gives the system a bit more breathing room if the service ever needs to restart.

For the other bits like stop_service and the binary checks, I kept my existing implementation since it already handles logging and triggers a bit more comprehensively. Regarding your feedback about stopping the service: service cake-stats stop is the standard Procd way to handle it, so I’ll stick with that instead of adding a redundant flag in the shell script.

About the cake_mq bug:

I’ve attempted a fix for that 0 B/s display issue in this version. Since I’m currently on OpenWrt 24.10.5, I don't have a multi-queue NIC setup to verify it myself just yet.

If you have some spare time to pull the latest version and see if the throughput numbers finally show up for your cake_mq setup, I’d really appreciate it!

You can grab the update here: https://github.com/galpt/cake-stats/releases/tag/v1.0.1

Cheers!