How angrycuban13/pshomebridge works
PSHomebridge is a PowerShell 7 client module for the Homebridge UI API. Its user-facing workflow is to establish or select a saved connection, then invoke typed commands for Homebridge status, accessories, plugins, diagnostics, or backups. The tree documents those command families and private configuration/security helpers, but the sampled source contains no PowerShell implementation; internal call wiring and persistence details therefore remain unspecified.
Main entry points: Invoke-HomebridgeApiRequest.ps1 API request · Set-PSHomebridgeConnection.ps1 Set connection · Get-PSHomebridgeConnection.ps1 Get connection · Remove-PSHomebridgeConnection.ps1 Remove connection
Components 17
Connections and security
- Set connection
PSHomebridge/Source/Public/Set-PSHomebridgeConnection.ps1 - Get connection
PSHomebridge/Source/Public/Get-PSHomebridgeConnection.ps1 - Remove connection
PSHomebridge/Source/Public/Remove-PSHomebridgeConnection.ps1 - Configuration helpers
PSHomebridge/Source/Private - Secret protection
PSHomebridge/Source/Private/Protect-PSHomebridgeConfigurationSecret.ps1
API access
- API request
PSHomebridge/Source/Public/Invoke-HomebridgeApiRequest.ps1 - Homebridge UI API
Homebridge resources
- Status
PSHomebridge/Source/Public/Get-HomebridgeStatus.ps1 - Accessories and layout
PSHomebridge/Source/Public/Get-HomebridgeAccessory.ps1 - Accessory layout
PSHomebridge/Source/Public/Get-HomebridgeAccessoryLayout.ps1 - Plugin commands
PSHomebridge/Source/Public - Server diagnostics
PSHomebridge/Source/Public/Get-HomebridgeServerDiagnostic.ps1
Backup management
- Create backup
PSHomebridge/Source/Public/New-HomebridgeBackup.ps1 - Get backup
PSHomebridge/Source/Public/Get-HomebridgeBackup.ps1 - Save backup
PSHomebridge/Source/Public/Save-HomebridgeBackup.ps1 - Remove backup
PSHomebridge/Source/Public/Remove-HomebridgeBackup.ps1
Other components
- PowerShell user
Connections 14
- PowerShell user → Set connection: invokes
- PowerShell user → Get connection: invokes
- PowerShell user → Remove connection: invokes
- PowerShell user → API request: invokes
- PowerShell user → Status: invokes
- PowerShell user → Accessories and layout: invokes
- PowerShell user → Accessory layout: invokes
- PowerShell user → Plugin commands: invokes
- PowerShell user → Server diagnostics: invokes
- PowerShell user → Create backup: invokes
- PowerShell user → Get backup: invokes
- PowerShell user → Save backup: invokes
- PowerShell user → Remove backup: invokes
- API request → Homebridge UI API: requests