Skip to content

Add ser2net launchd agent for USB serial over TCP#58

Open
GregHilston wants to merge 1 commit into
masterfrom
feat/ser2net-launchd
Open

Add ser2net launchd agent for USB serial over TCP#58
GregHilston wants to merge 1 commit into
masterfrom
feat/ser2net-launchd

Conversation

@GregHilston
Copy link
Copy Markdown
Owner

Summary

  • Adds ser2net to Homebrew brews for exposing USB serial devices over TCP
  • New ser2net.nix module: launchd user agent (follows the oMLX pattern)
  • Stow-managed config at ~/.config/ser2net/ser2net.yaml with placeholder device paths
  • Imported on dungeon with stow deployment in postActivation

OrbStack has no USB passthrough (orbstack/orbstack#43). This exposes Zigbee (TCP 20108) and Z-Wave (TCP 20109) USB sticks so Docker containers can connect via tcp://host.orb.internal:<port>.

Supersedes #56 (native zigbee2mqtt/zwavejs approach). Companion PR: home-lab#18.

Test plan

  • darwin-rebuild switch succeeds
  • launchctl list | grep ser2net shows the service
  • Plug in USB sticks, update device paths in ~/.config/ser2net/ser2net.yaml
  • nc -z localhost 20108 and nc -z localhost 20109 confirm TCP ports are open

Exposes Zigbee (port 20108) and Z-Wave (port 20109) USB sticks over TCP
so OrbStack Docker containers can connect without USB passthrough.
Managed as a launchd user agent following the oMLX pattern.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant