Thank you for your answers.
Could it be possible for you to share the .php file you ran on your server for this live experiment ?
By studiying it, it could help me a lot to understand how to create my own project. Thank you !
I succed to create a "hello world" .php page on the server of my laptop. I can see this page on my smartphone as well.
So i tried to create an experiment for phyphox. The smartphone measure tha accelerometer value and average it every seconds.
I would like to send this value every second to my laptop but it did'nt work. (This just in order to test. I don't really need it for any project.)
The phyphox file is :
<phyphox xmlns="http://phyphox.org/xml" xmlns:editor="http://phyphox.org/editor/xml" version="1.7" editor:version="1.0" locale="en">
<title>live test</title>
<category>no category</category>
<description></description>
<data-containers>
<container size="1000" static="false">abs</container>
</data-containers>
<network>
<connection address="https://192.168.1.41:6023/blog/live.php" autoConnect="true" service="http/post" mode="trigger" id="submit" conversion="json" interval="10">
<send id="abs" type="buffer">abs</send> </connection>
</network>
<input>
<sensor editor:uuid="97" editor:posx="250.66665649414062" editor:posy="241.30556106567383" rate="1" average="true" type="accelerometer">
<output component="abs">abs</output>
</sensor>
</input>
<output>
</output>
<analysis sleep="0" onUserInput="false">
</analysis>
<views>
<view label="value">
<value editor:uuid="104" editor:posx="800.5694580078125" editor:posy="248.63887405395508" label="value" size="1" precision="2" scientific="false" factor="1" >
<input>abs</input>
</value>
</view>
</views>
<export>
</export>
</phyphox>
The file on my serveur is :
<?php
echo $_GET["abs"]
?>
And i get this error :
Notice: Undefined index: abs in C:\ENTBOX\htdocs\blog\live.php on line 2
Could it be possible for you to share the .php file you ran on your server for this live experiment ?
By studiying it, it could help me a lot to understand how to create my own project. Thank you !
I succed to create a "hello world" .php page on the server of my laptop. I can see this page on my smartphone as well.
So i tried to create an experiment for phyphox. The smartphone measure tha accelerometer value and average it every seconds.
I would like to send this value every second to my laptop but it did'nt work. (This just in order to test. I don't really need it for any project.)
The phyphox file is :
<phyphox xmlns="http://phyphox.org/xml" xmlns:editor="http://phyphox.org/editor/xml" version="1.7" editor:version="1.0" locale="en">
<title>live test</title>
<category>no category</category>
<description></description>
<data-containers>
<container size="1000" static="false">abs</container>
</data-containers>
<network>
<connection address="https://192.168.1.41:6023/blog/live.php" autoConnect="true" service="http/post" mode="trigger" id="submit" conversion="json" interval="10">
<send id="abs" type="buffer">abs</send> </connection>
</network>
<input>
<sensor editor:uuid="97" editor:posx="250.66665649414062" editor:posy="241.30556106567383" rate="1" average="true" type="accelerometer">
<output component="abs">abs</output>
</sensor>
</input>
<output>
</output>
<analysis sleep="0" onUserInput="false">
</analysis>
<views>
<view label="value">
<value editor:uuid="104" editor:posx="800.5694580078125" editor:posy="248.63887405395508" label="value" size="1" precision="2" scientific="false" factor="1" >
<input>abs</input>
</value>
</view>
</views>
<export>
</export>
</phyphox>
The file on my serveur is :
<?php
echo $_GET["abs"]
?>
And i get this error :
Notice: Undefined index: abs in C:\ENTBOX\htdocs\blog\live.php on line 2