The following error message appears in the homebridge console when I interact with the device via homekit:
[05/11/2024, 20:27:48] [homebridge-http-lightbulb] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
The homebridge support page for this error recommends:
Make sure the callback() is called.
Make sure you are catching any possible exceptions and still calling the callback() even if an error occurred.
If the action does take some time to complete, adjust your plugin code to return the callback() instantly, and call characteristic.updateValue once the action has completed.
Recommend your users run your plugin as a Child Bridge. This won't prevent the log message from occurring, but will prevent your plugin from impacting other plugins.
The following error message appears in the homebridge console when I interact with the device via homekit:
[05/11/2024, 20:27:48] [homebridge-http-lightbulb] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
The homebridge support page for this error recommends:
Make sure the callback() is called. Make sure you are catching any possible exceptions and still calling the callback() even if an error occurred. If the action does take some time to complete, adjust your plugin code to return the callback() instantly, and call characteristic.updateValue once the action has completed. Recommend your users run your plugin as a Child Bridge. This won't prevent the log message from occurring, but will prevent your plugin from impacting other plugins.