youridijk / homebridge-kaku-ics2000

HomeKit support for Klik Aan Klik Uit ICS-2000
Apache License 2.0
21 stars 6 forks source link

Bridge not working #10

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi Youri, I'am trying to activate KaKu Ics2000 Bridge, but it is giving a yellow exclamation mark. The error in the log says 'unhandled rejection: Error: Email and/ or password missing', but that data is correct. I hade made a ticket at Hoobs (6346-FAE2-A875-527C-62E4-3DB4). They suggested to do an update, which I did without results. Do you have a solution for me?

Regards Bert

youridijk commented 1 year ago

I never heard of Hoobs, so don't have any experience with that platform. That error isn't thrown by this library. If you don't provide a username and/ or password, the plugin throws an error saying'Error: Missing mandatory data. If the credentials are incorrect, the library throws an error Error: Username/ password combination incorrect . Maybe you could provide a screenshot of the error? Or maybe you used the wrong keys to specify the email and/or password? Could you provide a screenshot of the config for this plugin (replace your credentials with random text)?

ghost commented 1 year ago

Hi,

Ok, this plugin is available in the setup for a so called Hoobs box. But ok, enclosed some screenshots.

Regards

Bert

ghost commented 1 year ago

Hi Yourdi,

Just for your information. In the past I had an account on their website (klikaanklikuit.nl), but that’s not the case anymore. The credentials are only necessary for their app (Smart Home from Trust) which is using, so it looks like, a cloud for storing a backup. There is no data which kind of cloud this is.

Regards

Bert

youridijk commented 1 year ago

Please only type the text of your new comment, not the whole conversation and mail data in every comment. I can’t see ant screenshot, I guess something went wrong?

ghost commented 1 year ago

Hi Youri, I'am trying to activate KaKu Ics2000 Bridge, but it is giving a yellow exclamation mark. The error in the log says 'unhandled rejection: Error: Email and/ or password missing', but that data is correct. I hade made a ticket at Hoobs (6346-FAE2-A875-527C-62E4-3DB4). They suggested to do an update, which I did without results. Do you have a solution for me?

Regards Bert

ghost commented 1 year ago

Hi Yourdi,

Just for your information. In the past I had an account on their website (klikaanklikuit.nl), but that’s not the case anymore. The credentials are only necessary for their app (Smart Home from Trust) which is using, so it looks like, a cloud for storing a backup. There is no data which kind of cloud this is.

Regards Bert Config1 Config2 Config3

youridijk commented 1 year ago

Try to change the platform value to KAKU-ICS2000. Maybe that fixes your problems.

ghost commented 1 year ago

I tried, but it is automaticely going back to 'ExampleHomebridgePlugin' after Save.

youridijk commented 1 year ago

I think you’re using an older version of this plugin. Try to delete and reinstall this plugin or update it.

ghost commented 1 year ago

I have done that yesterday already. The installed version is 1.0.5 Is that the latest?

ghost commented 1 year ago

I have done a reinstall, now it says 1.0.6, but still the wrong platform data. Can't change it.

youridijk commented 1 year ago

That's weird behavior. Maybe it's caching the name somewhere and that is causing the revert. 1.0.6 is the latest at the moment of writing. You were talking about errors saying missing username/password, can you provide a screenshot of that?

ghost commented 1 year ago

Hoobs log

youridijk commented 1 year ago

It appears to be some configuration issue. Don’t know if your provided config is correct or wrong, but this weekend I will install hoobs locally to test it out.

ghost commented 1 year ago

Ok, great, thanks. Will be waiting on the results.

youridijk commented 1 year ago

I installed HOOBS on a Debian VM and got it working. I had the same error but managed to fix it. Your need to manually edit the config of your bridge and fill in the right data. Like this:

Config

I don't know why HOOBS is acting so annoying with this plug-in but this works. Note: after you manually edited the config and made it working, the plug-in settings will have default values and not you're username and password.

youridijk commented 1 year ago

It seems that the config shown in HOOBS uses an old version of config.schema.json, but the latest version is downloaded from NPM. Don't know why unfortunately.

ghost commented 1 year ago

Ok, but can I do something about it or should I report that to Hoobs?

youridijk commented 1 year ago

I installed HOOBS on a Debian VM and got it working. I had the same error but managed to fix it. Your need to manually edit the config of your bridge and fill in the right data. Like this:

I added a solution to make it working here.

ghost commented 1 year ago

Ok, thanks. Was able to get it working.