Repository navigation
Make convert friendlier: Wi-Fi picker, clearer prompts, redirect check - #4
Merged
Merged
Conversation
Found while converting the first real plug with this package. - convert lists the Wi-Fi networks the computer can see (netsh on Windows, nmcli on Linux, the current network on macOS) and leaves out 5 GHz-only ones. Typing a name still works. - The convert question says "Found 1 plug. It will become sbplug-xxxxxx. Convert it?" instead of leading with MAC addresses. - When wohand.com already points at another machine on the network, convert says so. If a Switchback server answers there it offers to follow it; otherwise it asks before touching the plug. Before, the plug converted from the other server while convert reported FAILED. - README: the no-install uvx command comes first, the install steps include the PATH step, and troubleshooting covers both problems. - CHANGELOG: 0.4.0 dated. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes found while converting the first real plug with this package.
What changed
convertlists the Wi-Fi networks the computer can see (netsh on Windows, nmcli on Linux, the current network on macOS). You pick a number and type the password. Networks that are 5 GHz only are left out. Typing a name still works.wohand.comalready points at another machine on the network,convertsays so. If a Switchback server answers there, it offers to follow that server. Otherwise it asks before touching the plug. Before, the plug converted from the other server whileconvertreported FAILED.uvxcommand comes first. The install steps include the PATH step. Troubleshooting covers both problems.Checked
switchback serve.Not yet tested
The Windows network list is tested against sample
netshoutput only, not on a real Windows machine. If the scan fails,convertfalls back to asking for the name.🤖 Generated with Claude Code