Skip to content

Improve NanoKVM Pro support and device compatibility handling#16

Open
chiconws wants to merge 10 commits intodevfrom
pro-support-followup
Open

Improve NanoKVM Pro support and device compatibility handling#16
chiconws wants to merge 10 commits intodevfrom
pro-support-followup

Conversation

@chiconws
Copy link
Copy Markdown
Collaborator

Summary

This PR expands NanoKVM Pro support and tightens device compatibility handling across the client.

What changed

  • added missing NanoKVM Pro client methods for:
    • scripts
    • HID shortcuts and leader key
    • Wake-on-LAN MAC management
    • AP-mode Wi-Fi helpers
    • custom EDID upload/delete
    • LCD time format
    • LED strip
    • timezone and time sync
    • menu bar config
    • static IP
    • stream configuration
    • Tailscale login URL
    • PiKVM switch
    • kvmadmin and assistant endpoints
  • unified virtual device parsing so shared client code works with both legacy and Pro response shapes
  • improved Pro model coverage with richer types for:
    • EDID presets
    • LCD time format
    • stream mode
    • OLED type
  • normalized compatibility edge cases for Pro payloads:
    • nullable files
    • nullable wifiList
    • nullable edidList
    • nested Wi-Fi details
    • optional pn / arch
  • preserved partial LED strip updates by filling missing values from current device state
  • fixed password change behavior so it respects the detected password mode
  • improved shared API error handling so undocumented device error codes are surfaced correctly
  • normalized the empty Wake-on-LAN file state to an empty list
  • mapped legacy swap 404 responses to NanoKVMNotSupportedError

Notes

  • the branch keeps the current explicit hardware-detection requirement for hardware-gated methods
  • image download route selection remains aligned with the current dev behavior
  • the changes are focused on client behavior and compatibility, without broad refactoring of the existing architecture

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