harmony-java-client icon indicating copy to clipboard operation
harmony-java-client copied to clipboard

Xmpp access broken by Logitech

Open nikshriv opened this issue 6 years ago • 11 comments

As you have probably heard, Logitech decided to kill local network access via Xmpp. Any chance you could change to the local websocket API?

nikshriv avatar Dec 20 '18 17:12 nikshriv

I've been reading about that. I'm not really using this these days (I wrote this to integrate with openHAB, but I've been using Homeseer lately), so I'm unlikely to put the time into doing that, but hopefully someone else will pick that up in some form.

tuck182 avatar Dec 20 '18 18:12 tuck182

I might give a shot to update to the websockets api, but that may go away someday as well.

bwssytems avatar Dec 20 '18 21:12 bwssytems

We have the same issue with openHAB (https://github.com/openhab/openhab2-addons/issues/4411). @digitaldan also has some plans to look into this. It may save time if we concentrate our efforts.

wborn avatar Dec 20 '18 22:12 wborn

I'm in the process of porting this to websockets, I'm hoping to have something working this weekend. I will post something as soon as i can. @tuck182 as I'm writing this, I'm realizing the vast majority of the code is around XMPP processing and will go away. ATM, I'm only planning on using the classes in net/whistlingfish/harmony/config , and a few method signatures (sendButton for example). I think it would be best to start from scratch with a clean project, do you have any objections?

digitaldan avatar Dec 20 '18 22:12 digitaldan

No, that seems totally reasonable to me.

tuck182 avatar Dec 20 '18 22:12 tuck182

I can help test. I have many users clamoring for an update as well.

bwssytems avatar Dec 20 '18 23:12 bwssytems

There is a beta firmware now which reenables the XMPP access: Source

pytz avatar Dec 22 '18 08:12 pytz

Yes they now commit to supporting the XMPP API for local control and don't guarantee other undocumented APIs (Websockets API) remain available.

wborn avatar Dec 22 '18 23:12 wborn

uhg, i wish they would make up their mind. I just spent the whole day building a websocket library. I would acutally prefer this over XMPP, much simpler for sure and easier to support, but it sounds like they are leaving the door open to not supporting it down the road.

digitaldan avatar Dec 23 '18 06:12 digitaldan

So I have a really basic version working using websockets at https://github.com/digitaldan/harmony-client . I do like how light weight this is without XMPP. Since logitech is now going back to XMPP this may not be necessary, but I will keep tinkering with it. Eventually I would like it to be more compatible with the API in this library and also change the name space back to this project's, or maybe org.openhab.harmonyclient and encourage others to work on it.

digitaldan avatar Dec 23 '18 20:12 digitaldan

I think changing to the openhab namespace is totally reasonable. I just threw this project together originally to tinker with it. I ended up going a different direction, but I'm glad it's provided a basis for something useful.

On Sun, Dec 23, 2018, 12:15 PM Dan Cunningham <[email protected] wrote:

So I have a really basic version working using websockets at https://github.com/digitaldan/harmony-client . I do like how light weight this is without XMPP. Since logitech is now going back to XMPP this may not be necessary, but I will keep tinkering with it. Eventually I would like it to be more compatible with the API in this library and also change the name space back to this project's, or maybe org.openhab.harmonyclient and encourage others to work on it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tuck182/harmony-java-client/issues/27#issuecomment-449660927, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtoQuF6zcvQPYiP1EhM2yTSsbdk1HF9ks5u7-R5gaJpZM4Zckmf .

tuck182 avatar Dec 23 '18 20:12 tuck182