Skip to content

docs: document product IDs, UWB Lock, Lock Nano and Lock Ultra Quick Key - #55

Merged
donavanbecker merged 1 commit into
latestfrom
docs/pyswitchbot-3.8
Nov 13, 2026
Merged

donavanbecker merged 1 commit into
latestfrom
docs/pyswitchbot-3.8

Conversation

@donavanbecker

Copy link
Copy Markdown
Collaborator

What

Documents what pySwitchbot 3.2.0–3.8.1 implements.

  • README: product IDs. Newer products have no single-byte Device Type; they're identified by a 4-byte product ID at the end of the service data. pySwitchbot looks at the last 4 bytes, then the 4 bytes before the last byte. This adds a table of every product ID in pySwitchbot's SUPPORTED_TYPES (32 products), generated from pySwitchbot 3.8.1's source.
  • Lock page:
    • UWB Lock: Lock 2 broadcast layout, model byte 0x07.
    • Lock Nano: its own broadcast layout (process_lock_nano), model byte 0x0c, and its lock-info data.
    • The command table and model-byte table now include both.
    • New Lock Ultra Quick Key section: read and write commands, the config byte, the update byte, motor speed, and an example taken from pySwitchbot's tests.

The Bot inverse direction from 3.2.0 needs no change: the 0x03 act-mode byte already documents the inverse bits.

The same changes are ported to node-switchbot in node-switchbot#362.


Generated by Claude Code

From pySwitchbot 3.2.0-3.8.1:
- README: newer products are identified by a 4-byte product ID at the end
  of the service data; table of every product ID pySwitchbot lists.
- Lock: UWB Lock (Lock 2 layout, model byte 0x07), Lock Nano broadcast
  layout and model byte 0x0c, Lock Nano lock info data, and the Lock
  Ultra Quick Key read/write commands and config byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TYWa2RXoWsaUTWh76oNv8s
@donavanbecker
donavanbecker merged commit 6a9231f into latest Nov 13, 2026
@donavanbecker
donavanbecker deleted the docs/pyswitchbot-3.8 branch November 13, 2026 13:17
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.

2 participants