g30r93g / homebridge-panasonic

A Homebridge plugin for Panasonic Viera TV's. Written to support the new Homekit TV accessory.
MIT License
21 stars 3 forks source link

Crash #29

Closed xeronex closed 4 years ago

xeronex commented 4 years ago

I get this error anyone know why it may be?

ypeError: properties.find is not a function at Subscription.powerStateSubscription.on (/usr/lib/node_modules/homebridge-panasonic-viera-tv/index.js:288:38) at emitOne (events.js:116:13) at Subscription.emit (events.js:211:7) at xmlResponseParser (/usr/lib/node_modules/homebridge-panasonic-viera-tv/node_modules/node-upnp-subscription/index.js:37:37) at Parser. (/usr/lib/node_modules/homebridge-panasonic-viera-tv/node_modules/xml2js/lib/parser.js:306:18) at emitOne (events.js:116:13) at Parser.emit (events.js:211:7) at SAXParser.onclosetag (/usr/lib/node_modules/homebridge-panasonic-viera-tv/node_modules/xml2js/lib/parser.js:264:26) at emit (/usr/lib/node_modules/homebridge-panasonic-viera-tv/node_modules/sax/lib/sax.js:624:35) at emitNode (/usr/lib/node_modules/homebridge-panasonic-viera-tv/node_modules/sax/lib/sax.js:629:5) [2019-12-10 18:20:53] Got SIGTERM, shutting down Homebridge... pi@raspberrypi:~ $

g30r93g commented 4 years ago

Hi there @xeronex. Thanks for bringing this to my attention. This occurs on occasion when Homebridge polls the TV to get the power state via UPnP subscription. I have a bit more time to look into issues like this so hopefully I will be able to sort this for you.

g30r93g commented 4 years ago

Duplicate of #22

g30r93g commented 4 years ago

Please can you continue discussing any issues you encounter regarding this in issue #22

g30r93g commented 4 years ago

Hopefully v7.1.1 fixes this. If not, please comment in #37