Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Web docker local node access #373

Open
robot-stefan opened this issue Jan 18, 2025 · 2 comments
Open

[Feature Request]: Web docker local node access #373

robot-stefan opened this issue Jan 18, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@robot-stefan
Copy link

Description

Not sure if this is possible and I am simply not seeing it in the documentation anywhere or if its not yet supported.

I have a computer running portainer and docker. I have tried to pass over both /dev/ttyACM0 and /dev/bus/usb/###/### I can't seem to get it to list the meshtastic node the same way it would be listed on a webui running on a node.

  1. Are there additional environment variables or a
  2. specific way I need to pass through the USB or serial ie to /dev/something_else or
  3. Is this not presently supported function?

Will have this connected over USB for power and doing this would in theory allow for connection over bluetooth with the app from a mobile device. The node I am using does not allow for bluetooth and wifi connection at the same time.

Chart below for added clarity on setup.

  graph TD;
      A:[PC]-->|Network - wifi or ethernet|B:[Portainer Server with docker container];
      B:-->|USB or Serial|C:{Meshtastic Node};
Loading

Thanks,

@robot-stefan robot-stefan added the enhancement New feature or request label Jan 18, 2025
@ianmcorvidae
Copy link

to support a case like this, you would need to proxy the client API from the serial connection to an HTTP connection; the web client doesn't have a server-side component at present that does this. I have a very rough proof of concept of this sort of proxy at https://github.com/ianmcorvidae/meshtastic-http-proxy but it would need work for a high quality integration for sure. if you're willing to deal with the here-be-dragons nature of it, perhaps it can meet your use case, though!

@robot-stefan
Copy link
Author

Thanks for the clarification on this functionality. I'll try to look more at this later. Not sure I'd be getting it up and running. Looks like I would need to add something for USB/serial connection to the linked docker container? For the time it does seem simpler to experiment via bluetooth / serial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants