hagaygo / OpenWrtManager

Mobile app for interacting with your OpenWrt device.
GNU General Public License v3.0
145 stars 10 forks source link

[Feature Request] Add support for other third party firmware #14

Closed Generator closed 2 months ago

Generator commented 2 years ago

Description

Like OpenWRT there are other third party firmware for routers, like DD-WRT and Tomato, some routers are not compatible with OpenWRT.

DD-WRT can be used on X86 (bare-bone or VM) for development (see DD-WRT forums for latest build), Tomato only works on Broadcom SoC (MIPS/ARM) (see FreshTomato).

If the case, perhaps will be needed to change the app name for example WRTManager (or something).

hagaygo commented 2 years ago

Hi

I used to have a DD-WRT router about 3-4 years ago, currently i have only OpenWRT devices.

From what i remember , there was no "standard" Web GUI API that we can use for a mobile app and even the web GUI did not show/have most the info/data available on OpenWRT which this app uses.

While i heard of Tomato , never really used it.

So unless you or any one else can come up with a documented API i can't really do much (even if it comes available , no promises 😄 )

Generator commented 2 years ago

Didn't find any API documentation on wiki, however there are some similar apps to manager DD-WRT remotely:

DD-WRT Companion also have a Tomato (experimental), connects over SSH.

From DD-WRT there's remote scripts examples https://wiki.dd-wrt.com/wiki/index.php/Remote_Scripts Also more user programs can be found on DD-WRT foruns

(Fresh)Tomato can be harder to implement, since only works on limited devices. DD-WRT will probably work only over SSH.

PS: The free version of "DD-WRT Companion" have a (remote) demo on the app, you can try it without having a device with DD-WRT

Generator commented 2 years ago

There's a simpler way to monitoring, with SNMP.

Here's an example with SNMP Router Traffic Grapher

With SNMP would be easier to use with DD-WRT and Tomato (and maybe others). Docs: https://forum.dd-wrt.com/wiki/index.php/SNMP

hagaygo commented 2 years ago

I am vaguely familiar with SNMP , if "SNMP Router Traffic Grapher" app works fine with SNMP on your setup, why you need support for SNMP in this app ?

Generator commented 2 years ago

Is just a suggestions for more compatible with other firmware, also SNMP is more limited, you cant have the same stats/control like other API/SSH