swissmanu / harmonyhubjs-client

A Node.JS library which allows you to interact with your Logitech Harmony Hub.
https://github.com/swissmanu/harmonyhubjs-client
MIT License
155 stars 42 forks source link

Doesn't seem to work yet? #2

Closed iDVB closed 9 years ago

iDVB commented 10 years ago

Currently running... OSX v10.9.1 Node v0.8.26

I have installed all the node-XMPP dependencies (i think, I'm no longer getting any errors) However, I'm still getting a warning Cannot load StringPrep-0.1.0 bindings. Which XMPP guys say should not be an issue since it should fallback.

However, Nothing happens when I run the Usage example with my login, pass and IP. it just drops back to prompt with no error other then the one above.

I tried putting in a dummy login and ip and the same thing happens. So I'm thinking that either this code is still a work in progress or my setup is still erroring out somehow.

swissmanu commented 10 years ago

the stringprep problem should not matter indeed. unfortunatly, it seems that logitech changed authentication process: on hub.js#65, harmonyclient expects to get an identity token which is not returned anymore. we need to investigate further down to see how the authentication has now to be done.

swissmanu commented 9 years ago

see #4

swissmanu commented 9 years ago

the latest version 1.1.1 (now available on npm too) fixed the authentication problems described in #4. harmonyhubjs is working again. happy hacking!