Actions80
- Accessory Actions
- Authentication Actions
- Backup & Restore Actions
- Config Editor Actions
- Platform Tool Actions
- Plugin Actions
- Server Actions
- Restart Server
- Restart Child Bridge
- Stop Child Bridge
- Start Child Bridge
- Get Pairing Info
- Reset Homebridge Accessory
- Reset Cached Accessories
- Get Cached Accessories
- Delete Cached Accessories
- Delete Cached Accessory
- Get Device Pairings
- Get Device Pairing
- Delete Device Pairing
- Get Unused Port
- Get Network Interfaces
- Get Bridge Network Interfaces
- Set Bridge Network Interfaces
- Setup Wizard Actions
- Status Actions
- User Actions
Platform Tool → Download Log File
AI-generatedOverview
This node interacts with the Homebridge API to download log files from the platform tool resource. It is useful for retrieving logs for monitoring, debugging, or auditing purposes. Users can specify an access token for authentication and choose whether to include color codes in the log output.
Use Case Examples
- A user wants to download the latest Homebridge platform logs to analyze system behavior.
- A developer needs to fetch logs with color codes enabled for better readability during troubleshooting.
Properties
| Name | Meaning |
|---|---|
| Access Token | Access token from Login operation or manual entry for authentication. |
| Include Colors | Option to include color codes in the log output for better readability. |
| Request Options | Advanced HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
logFileContent- The content of the downloaded log file as a string.
Dependencies
- Homebridge API access with an access token for authentication.
Troubleshooting
- Ensure the access token is valid and has not expired to avoid authentication errors.
- If SSL issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
- Check proxy settings if behind a corporate firewall to ensure requests are routed correctly.
- Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.
Links
- Homebridge API Documentation - Official documentation for Homebridge API endpoints and usage.