phyphox Forums
Client/server - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Feature requests (https://phyphox.org/forums/forumdisplay.php?fid=8)
+--- Thread: Client/server (/showthread.php?tid=777)



Client/server - neoaliphant - 04-17-2020

While the web view is excellent

Is it possible for phyphox on a tablet for example, to process sensor data coming from a smartphone , for example spinning round in a washing machine :-)

basically so you change change graph elements, export data and use all normal phyphox viewing options
but simply sensors on another device.


RE: Client/server - Sebastian Staacks - 04-20-2020

No, this is not possible at this point. It should be possible to write a network experiment that catches the data from a phyphox that is running the remote access feature, but there is no simple out-of-the-box solution.


RE: Client/server - neoaliphant - 04-20-2020

(04-20-2020, 11:34 AM)Sebastian Staacks Wrote: It should be possible to write a network experiment that catches the data from a phyphox that is running the remote access feature,

Thanks Sebastian
Are there any examples of this?


RE: Client/server - Sebastian Staacks - 04-20-2020

Nope, I have not even tried it myself. Our network interface (https://phyphox.org/wiki/index.php/Network_Connections) is very new, but in theory it should be able to send a get-request to the remote interface of another phone in remote access mode and interpret its JSON response. In any case, it requires a lot of setup. The phone offering the sensor data needs to run an experiment configuration with the correct sensors (usually the raw-data experiments should do) and needs to enable the remote access function, then the second phone needs a configuration based on the one with the analysis you want to use and then substitute the input from the sensors with the input from this network interface. In some cases, it would also require some additional logic to avoid duplicates and to stream the received data correctly by requesting only data points that have not yet been received.

So, I am not sure if this is a feasible approach.


RE: Client/server - neoaliphant - 04-20-2020

Sound a bit beyond me, thanks for the the response