Make remote device system not only Wi-Fi.
During the investigation of remote wifi plugin, I've got an idea to have such remote settings feature not only for WiFi but generally for entire settings of a remote device.
Backend
foris-client
allows us to easily specify controller_id. Thus it should not be a big change in reForis backend code.
Plugins
Although foris-controller
should have an endpoint with a list of installed reForis plugins of modules. I know that it's already there or it's in development by @mmatejek.
Another problem that if you wish to use some of the plugins on a remote device you should have it installed on the master device. I'm not sure how to better solve it yet but I can see two a few here:
- Simple said user that he should install the proper plugin at the master device.
- Master device will request a slave device for proper JS plugin application from the slave.
Frontend
Where to place it
Here are a few ways again:
- Navigation
- Topbar
Navigation
Probably the easiest thing todo. Due to the possibility of plugins to define that menu. It will look something
TopBar
I feel like that is the better place for device selector but it's will create more work as plugins don't have the possibility to modify topbar for now.
But as the remote module is part of foris-controller
then we don't need to create a plugin for that. That means that it can be built-in into reForis.
Priority
If plugin for remote Wi-Fi setting covers most of our needs then I would add it a low priority otherwise middle.
Development time
I see that feature will cost average 3-5 weeks including testing and solving probable incompatibility with foris-controller
. It this way I would put it after all plugins are done as I think that it is more important.
Conclusion
I would like to see the opinion/brainstorming of @mhrusecky, @kkoci and @mmatejek here. Other Turri's team members are welcome as well. :)