KraigM / homebridge-harmonyhub

HomeBridge Plugin for Logitech Harmony Hub
182 stars 52 forks source link

depricated npmjs components #92

Open aguaman15 opened 7 years ago

aguaman15 commented 7 years ago

Hi,

When I install HarmonyHub I receive 2 errors:

npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package https://www.npmjs.com/package/@xmpp/xml

npm WARN deprecated node-xmpp-jid@2.3.0: use @xmpp/jid package https://www.npmjs.com/package/@xmpp/jid

I've tried installing the components from the above web sites, but then I get errors from Homebridge. So... any suggestions?

Homebridge and the HarmonyHub plugin seem to work fine at first, but after a while (a day or two) the HarmonyHub plugin stops working or, worse, gets confused with other devices. I imagine it's because of the above errors, but it's just a guess.

Any ideas?

CooperCGN commented 7 years ago

I don't know if it has anything to do with that (I get that error too while installing) but my homebridge throws every now and then an error related with XMPP authentication failure. I wonder if this plug in is still under further development though.

Error: Uncaught, unspecified "error" event. (XMPP authentication failure) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Client.emit (events.js:166:17) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Client._handleAuthState (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-client/lib/Client.js:298:10) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Client._handleStanza (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-client/lib/Client.js:234:12) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Client.onStanza (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-client/lib/Client.js:222:8) Jun 12 04:21:31 raspberrypi homebridge[3511]: at emitOne (events.js:96:13) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Connection.emit (events.js:191:7) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Connection.onStanza (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/Connection.js:369:10) Jun 12 04:21:31 raspberrypi homebridge[3511]: at StreamParser. (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/Connection.js:226:10) Jun 12 04:21:31 raspberrypi homebridge[3511]: at emitOne (events.js:96:13) Jun 12 04:21:31 raspberrypi homebridge[3511]: at StreamParser.emit (events.js:191:7) Jun 12 04:21:31 raspberrypi homebridge[3511]: at SaxLtx. (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/StreamParser.js:58:14) Jun 12 04:21:31 raspberrypi homebridge[3511]: at emitOne (events.js:96:13) Jun 12 04:21:31 raspberrypi homebridge[3511]: at SaxLtx.emit (events.js:191:7) Jun 12 04:21:31 raspberrypi homebridge[3511]: at SaxLtx._handleTagOpening (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/ltx/lib/parsers/ltx.js:28:22) Jun 12 04:21:31 raspberrypi homebridge[3511]: at SaxLtx.write (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/ltx/lib/parsers/ltx.js:105:26) Jun 12 04:21:31 raspberrypi homebridge[3511]: at StreamParser.write (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/StreamParser.js:123:17) Jun 12 04:21:31 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE Jun 12 04:21:31 raspberrypi systemd[1]: Unit homebridge.service entered failed state.

RXM307 commented 7 years ago

Perhaps there was a hub update?

Mine are both running 4.12.36, which was released 21st Nov 2016 https://support.myharmony.com/en-us/release-notes

I'm seeing this also today

was working 6/12/2017, 6:25:05AM AEST

but has been failing since 6/12/2017, 08:16 AEST

errorhub XMPP authentication failure errorhub XMPP authentication failure

Cheers,

Anthony

On 12 June 2017 at 16:18, CooperCGN notifications@github.com wrote:

I don't know if it has anything to do with that (I get that error too while installing) but my homebridge throws every now and then an error related with XMPP authentication failure. I wonder if this plug in is still under further development though.

Error: Uncaught, unspecified "error" event. (XMPP authentication failure) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Client.emit (events.js:166:17) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Client._handleAuthState (/usr/lib/nodemodules/homebridge-harmonyhub/node modules/node-xmpp-client/lib/Client.js:298:10) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Client._handleStanza (/usr/lib/nodemodules/homebridge-harmonyhub/node modules/node-xmpp-client/lib/Client.js:234:12) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Client.onStanza (/usr/lib/nodemodules/homebridge-harmonyhub/node modules/node-xmpp-client/lib/Client.js:222:8) Jun 12 04:21:31 raspberrypi homebridge[3511]: at emitOne (events.js:96:13) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Connection.emit (events.js:191:7) Jun 12 04:21:31 raspberrypi homebridge[3511]: at Connection.onStanza (/usr/lib/nodemodules/homebridge-harmonyhub/node modules/node-xmpp-core/lib/Connection.js:369:10) Jun 12 04:21:31 raspberrypi homebridge[3511]: at StreamParser. (/usr/lib/nodemodules/homebridge-harmonyhub/node modules/node-xmpp-core/lib/Connection.js:226:10) Jun 12 04:21:31 raspberrypi homebridge[3511]: at emitOne (events.js:96:13) Jun 12 04:21:31 raspberrypi homebridge[3511]: at StreamParser.emit (events.js:191:7) Jun 12 04:21:31 raspberrypi homebridge[3511]: at SaxLtx. (/usr/lib/nodemodules/homebridge-harmonyhub/node modules/node-xmpp-core/lib/StreamParser.js:58:14) Jun 12 04:21:31 raspberrypi homebridge[3511]: at emitOne (events.js:96:13) Jun 12 04:21:31 raspberrypi homebridge[3511]: at SaxLtx.emit (events.js:191:7) Jun 12 04:21:31 raspberrypi homebridge[3511]: at SaxLtx._handleTagOpening (/usr/lib/nodemodules/homebridge-harmonyhub/node modules/ltx/lib/parsers/ltx.js:28:22) Jun 12 04:21:31 raspberrypi homebridge[3511]: at SaxLtx.write (/usr/lib/nodemodules/homebridge-harmonyhub/node modules/ltx/lib/parsers/ltx.js:105:26) Jun 12 04:21:31 raspberrypi homebridge[3511]: at StreamParser.write (/usr/lib/nodemodules/homebridge-harmonyhub/node modules/node-xmpp-core/lib/StreamParser.js:123:17) Jun 12 04:21:31 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE Jun 12 04:21:31 raspberrypi systemd[1]: Unit homebridge.service entered failed state.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/KraigM/homebridge-harmonyhub/issues/92#issuecomment-307698701, or mute the thread https://github.com/notifications/unsubscribe-auth/ABaYC8lT0BwqYTGYoRUBYzPKcWPQaB41ks5sDNgggaJpZM4NM4uA .

CooperCGN commented 7 years ago

My hub is running 4.12.36 too. I guess all we can hope for is a fix as my JavaScript skillls are horrible ;) Until then I keep auto restarting homebridge or hope now that Apple has lifted HomeKit restrictions Logitech will make it HomeKit compatible with the release of iOS 11

RXM307 commented 7 years ago

An today it is working again.

very Odd!

On 12 June 2017 at 19:49, CooperCGN notifications@github.com wrote:

My hub is running 4.12.36 too. I guess all we can hope for is a fix as my JavaScript skillls are horrible ;) Until then I keep auto restarting homebridge or hope now that Apple has lifted HomeKit restrictions Logitech will make it HomeKit compatible with the release of iOS 11

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/KraigM/homebridge-harmonyhub/issues/92#issuecomment-307742339, or mute the thread https://github.com/notifications/unsubscribe-auth/ABaYC8Mb5APeCeJFNY6LBk8Xu-HIk-Bnks5sDQmmgaJpZM4NM4uA .