Sroose / homebridge-loxone-ws

Websocket based Loxone plugin for homebridge
MIT License
39 stars 26 forks source link

Not working with release of Loxone 9.0.9.26 #16

Closed jdstroy70 closed 7 years ago

jdstroy70 commented 7 years ago

homebridge-loxone-ws doesn't work anymore since update 9.0.9.26. I noticed that one way status update from Loxone to HomeKit worked but after some reboots of the homebridge pi this functionality is also broken.

COMHOME commented 7 years ago

correct, the lightcontroller2 got a new uid after converting.

jdstroy70 commented 7 years ago

Is there a way to fix it?

Nexus2k commented 7 years ago

+1 doesn't work anymore. As far as I understand they changed the Authentication mechanism: https://www.loxone.com/dede/wp-content/uploads/sites/2/2016/08/0900_Communicating-with-the-Miniserver.pdf "Tokens have been introduced in Loxone Config 9. They are used for authentication instead of passwords. Tokens can expire, be revoked without changing the password - and they allow for a much more refined permission handling. See separate section for details on how to handle tokens." I guess we need a way to create and refresh the tokens.

Nexus2k commented 7 years ago

This will need to be fixed in https://github.com/alladdin/node-lox-ws-api as that part does the Authentication.

zllimit commented 7 years ago

is it fixed now?

idoodler commented 7 years ago

I just created pull request #19 which includes the correct node-lox-ws-api dependency

Sroose commented 7 years ago

@idoodler Thank you for the help! PR is merged

twischi commented 7 years ago

Until npm Version is updated to 1.0.3 you can install it directly from github see #14