02-11-2025, 07:01 PM 
(This post was last modified: 02-11-2025, 07:02 PM by kencottrell.)
	
	
	(02-10-2025, 11:37 PM)Jens Noriʇzsɔɥ Wrote: Hi Ken,
as far as I know, our editors do not yet support “network connections”. It (likely) should be included when we are finished with a bit of refactoring of the new editor code.
Are you aware of the REST interface that comes with the remote access feature? I know that it does not entirely suit your plans, however, it might work for some testing purposes.
Thank you for your response, Jens.
If I can't use the web editor to generate the config the uploaded <network> block, what is the alternative approach?
I have tried to to use this command to upload a /phyphox command from a local web server, but how can I do this if the GPS experiment is already running?
I assume I have to insert the config file before I start the GPS experiment, otherwise how can it listen on port 80?
phone_url = myphone-ip-address/control?cmd=load&url=mylaptop-ip-address:8000/myfile.phyphox"
try:
response = requests.get(phone_url)
print(response.status_code, response.text)
except Exception as e:
print(f"Failed to load config file: {e}")

