Another server with Node-RED make the orchestration and integration of all the sensors and services. The best implementation for this use case is WEMOS D1 mini PRO, since a large WiFi range required.
The code is released under the GNU General Public License. This is an example code I wrote in order to test the ADNS-3080 optical flow sensor. It was inspired by this ...