kiwi-cam / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
304 stars 95 forks source link

Exception/SIGTERM on Learn Timeout #710

Open shanemcw opened 5 months ago

shanemcw commented 5 months ago

Exception thrown, SIGTERM on "learn" timeout

[6/18/2024, 2:01:52 PM] [Broadlink RM pro] [INFO] Scan RF (scanning)
[6/18/2024, 2:01:52 PM] [Broadlink RM pro] [ACTION] Hold down the button that sends the RF frequency.
[6/18/2024, 2:01:52 PM] [Broadlink RM pro] [INFO] Scan RF (scanning)
[6/18/2024, 2:01:52 PM] [Broadlink RM pro] [ACTION] Hold down the button that sends the RF frequency.
[6/18/2024, 2:02:53 PM] [Broadlink RM pro] [INFO] Scan RF (stopped - 60s timeout)
[6/18/2024, 2:02:53 PM] TypeError: closeClient is not a function
    at Timeout._onTimeout (/var/lib/homebridge/node_modules/homebridge-broadlink-rm-pro/helpers/learnRFData.js:140:7)
    at listOnTimeout (node:internal/timers:573:17)
    at processTimers (node:internal/timers:514:7)
[6/18/2024, 2:02:53 PM] Got SIGTERM, shutting down Homebridge...
[6/18/2024, 2:02:53 PM] Got SIGTERM, shutting down child bridge process...

also saw this

[6/18/2024, 2:28:37 PM] [Broadlink RM pro] Learn Code (ready)
[6/18/2024, 2:28:37 PM] [homebridge-broadlink-rm-pro] This plugin threw an error from the characteristic 'On': Unhandled error thrown inside write handler for characteristic: log is not a function. See https://homebridge.io/w/JtMGR for more info.