Homebridge icon

Homebridge

Interact with Homebridge API

Actions80

Server → Delete Cached Accessories

AI-generated

Overview

This node interacts with the Homebridge API to delete cached accessories on the Homebridge server. It is useful for managing and cleaning up cached accessory data, which can help resolve issues related to stale or corrupted accessory cache files. For example, a user can specify multiple accessories by their UUIDs and cache file paths to be deleted in batch, improving server performance and accuracy of accessory states.

Use Case Examples

  1. Deleting cached accessories after accessory configuration changes to ensure the server uses updated accessory data.
  2. Cleaning up cache files for accessories that are no longer in use to free up server resources.

Properties

Name Meaning
Access Token Access token from Login operation. If not connected to Login node, enter manually.
Accessories to Delete List of accessories to delete, each specified by UUID and cache file path.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • response - Response from the Homebridge API after deleting cached accessories.

Dependencies

  • Homebridge API with authentication token

Troubleshooting

  • Ensure the access token is valid and has not expired; otherwise, authentication errors will occur.
  • Verify the UUID and cache file paths are correct to avoid deletion failures.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Check proxy settings if network requests fail due to connectivity issues.
  • Adjust timeout settings if the server response is slow to prevent premature request abortion.

Links

Discussion