I am quite interested in what you come up with!
When I struggled with the problem, I used crossbar.io
to allow sensor code residing on different hardware communicating over the web
and providing a command interface.
For many applications this would be overkill: I am looking forward to more
info in this thread!