This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Send device sensor data to external http server
#1
Hi, I'm just getting started with your phyphox App.

I have a question: 

i created a test experiment and i inserted the following "lines" in phyphox  configuration file to receive data from the device spontaneously to an external web server:

<network>
<connection id="gps_stream" service="http/post" address="https://www.testdemo.com/" interval="15">
<send id="accX" type="buffer" datatype="number" keep="false">accX</send>
<send id="accY" type="buffer" datatype="number" keep="false">accY</send>
<send id="accZ" type="buffer" datatype="number" keep="false">accZ</send>
<send id="acc" type="buffer" datatype="number" keep="false">acc</send>
</connection>
</network>

It works perfectly. I receive data on my exposed web site.

My problem is that if I replace address="https://www.testdemo.com/" with an internal network address I get a connection error from the "phyphox" application.

Example address="http//10.1.1.100/" (the mobile is in the same network and has ip 10.1.1.202)

Is there any limitation to the use of internal network addresses on the phyphox application side? 

I use an iPhone 13 on which I installed phyphox. 

Thank you.
Reply


Messages In This Thread
Send device sensor data to external http server - by matc1 - 06-03-2025, 02:14 PM

Forum Jump: