Closed salmundo11 closed 4 years ago
another occurrence with SIGTERM:
[5/14/2020, 5:10:43 PM] TypeError: that.log.error is not a function
at WundergroundAPI.<anonymous> (/usr/local/lib/node_modules/homebridge-weather-plus/apis/weatherunderground.js:58:15)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-weather-plus/node_modules/request/request.js:185:22)
at Request.emit (events.js:210:5)
at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-weather-plus/node_modules/request/request.js:1154:10)
at Request.emit (events.js:210:5)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-weather-plus/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:299:28)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1183:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
[5/14/2020, 5:10:43 PM] Got SIGTERM, shutting down Homebridge...
another occurrence at startup:
[5/14/2020, 7:52:05 PM] TypeError: that.log.error is not a function
at WundergroundAPI.<anonymous> (/usr/local/lib/node_modules/homebridge-weather-plus/apis/weatherunderground.js:58:15)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-weather-plus/node_modules/request/request.js:185:22)
at Request.emit (events.js:210:5)
at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-weather-plus/node_modules/request/request.js:1154:10)
at Request.emit (events.js:210:5)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-weather-plus/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:299:28)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1183:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
[5/14/2020, 7:52:05 PM] Got SIGTERM, shutting down Homebridge...
At this point, I've removed weather-plus from my config.
Thanks for reporting. I cannot test weather underground and therefore rely on community feedback. Error handling for weather underground is better in v3.2.1
this error sequence killed off Homebridge. I restarted HB and interrogated the plugin via Siri, no issues.