homebridge-leviton
homebridge-leviton copied to clipboard
Crashing Homebridge, repeatedly -- Unexpected token < in JSON at position 0
Ran into an infinite loop of crashing Homebridge for several minutes. I can appreciate that Leviton API may have issues, but still feel these types of issues would be best handled better. It's a repeat problem.
Thanks @tabrindle
[10/9/2023, 5:01:20 PM] [homebridge-leviton] 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. [10/9/2023, 5:01:20 PM] [homebridge-leviton] 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. [10/9/2023, 5:01:20 PM] [homebridge-leviton] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info. [10/9/2023, 5:01:20 PM] [homebridge-leviton] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info. [10/9/2023, 5:01:20 PM] [homebridge-leviton] 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. [10/9/2023, 5:01:20 PM] [homebridge-leviton] 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. [10/9/2023, 5:01:20 PM] [homebridge-leviton] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info. [10/9/2023, 5:01:21 PM] FetchError: invalid json response body at https://my.leviton.com/api/IotSwitches/1318374 reason: Unexpected token < in JSON at position 0 at /usr/local/lib/node_modules/homebridge-leviton/node_modules/node-fetch/lib/index.js:273:32 at processTicksAndRejections (node:internal/process/task_queues:95:5) at LevitonDecoraSmartPlatform.setupLightbulbService (/usr/local/lib/node_modules/homebridge-leviton/index.js:389:20) [10/9/2023, 5:01:21 PM] Got SIGTERM, shutting down Homebridge...