web icon indicating copy to clipboard operation
web copied to clipboard

[Feature Request]: Autoconnect to Device Hosted Page (ESP32/Portduino)

Open Talie5in opened this issue 1 year ago • 3 comments

Description

Detect on initial page load if the HOST field in the Header responds to the API endpoint and bypass the connection dialog.

This would mean less clicks to get started when using the inbuilt hosted Web client on ESP32 devices or Portduino.

As mentioned in Discord by @Enjayhch https://discord.com/channels/867578229534359593/972586878337433670/1252223911135940738

Talie5in avatar Jun 17 '24 11:06 Talie5in

image

Hunter275 avatar Jun 17 '24 18:06 Hunter275

I was actually about to suggest something similar, It seems a touch cumbersome to go through the connection dialogue when there is a serial connection locally that would be useful, even if I could specify a http endpoint as part of the configuration, kind of a way to make the page statically connect to a given endpoint.

FamousL avatar Nov 18 '24 23:11 FamousL

Or even storing connections in local storage so the n number of IP/BT/serial(?) connections you've had in the past are remembered.

Related: https://github.com/meshtastic/web/issues/164

kquinsland avatar Jan 25 '25 04:01 kquinsland

So this has been thought about and we aren't going to be implementing connection parameters. But we will be adding a feature that will save previous connections on the connections page, and if the connection is HTTP and you mark it as "default" it will auto connect using that connection next time you open the web client site.

danditomaso avatar Oct 31 '25 00:10 danditomaso