gnuton / asuswrt-merlin.ng

Extends the support of Merlin firmware to more ASUS routers
Other
1.4k stars 82 forks source link

Web API to configure the node/mesh #216

Open megamorf opened 2 years ago

megamorf commented 2 years ago

Is your feature request related to a problem? Please describe. I'm always frustrated when my wifi devices are having connectivity issues. It seems to be a common practice to factory reset the asus mesh nodes.

Describe the solution you'd like When I factory reset a device I do it to start from a clean state so I cannot import a previously exported config. I'd like to be able to configure a node/mesh via API after a factory reset to quickly get my setup into a usable state again. This can be as simple as a bash script that simply fires a bunch of requests against some endpoint or as elaborate as an Ansible role that acts as an abstraction layer.

People are sharing various stability and performance tweaks on forums such as https://www.snbforums.com/ so the device configuration can end up being heavily customized.

Describe alternatives you've considered I have reported this feature request to Asus but I'm afraid they will not implement it.

Additional context I'm running a 2-node XT8 (RTAX95Q) mesh but I'm happy to go more into detail.

gnuton commented 2 years ago

I do not see this simple to be implemented since AIMesh is a closed source component and its specification can change any time. So the options are two for me. One you use the communication protocol used by the router now, and the other option you develop a paraller endpoint as you said. Before adding something like this to a custom firmware I would rather see this being developed as separate AMTM script.

Maybe dumping the nvram and restoring it is just what you need and may restore all settings you need.. but I never tried that. Maybe the endpoint could just do that..