Web GUI

I’ve got an RB711 I’m using to create a bridge. Want to use some existing web structures for configuration and monitoring pages. So far I’ve been able to load a page and have index2 redirect to it. Looks great. Now I need to start passing around parameters, and am looking for a little guidance. I need to code to simplify downstream AWS (Or I could do that today).

How can I embed ROS commands/queries as markup? What documentation would you point me at? (It doesn’t seem to be either Hotspot or API, but both are close). Code examples - even snippets, would be great.

Thanks!

There’s nothing you could “embed” as part of the router. As far that THAT strategy goes, WebFig is the best, and in fact only, thing you’ve got.

What you could do is create a web interface at your own server, which router administrators can then connect to via their router (that is, a device sitting “behind” their router). Once they do that, your web server could connect back to their router using the API. With that approach, you can provide whatever UI and features you want.

Of course, the drawback here is that they’ll need internet connectivity to connect to that web interface, plus you’ll need to make sure the API service is enabled before you deploy the router.

Thanks! I was coming to this conclusion, but the host and version variables threw me. I will explore the cloud server idea, but I still need enough code on the device for minimum configuration. I’ll try skinning down Webfig to only the Quick Set page for the time being.