robertklep / homebridge-nefit-easy

DEPRECATED — Homebridge plugin for Nefit Easy™
14 stars 3 forks source link

XMPP Error Code on New Homebridge Instance with Worcester Wave (Nefit Easy UK) #39

Closed SebAndBlocks closed 2 years ago

SebAndBlocks commented 2 years ago

I have started a new Homebridge Instance Error on My Raspberry Pi 4. I am Using The Official Homebridge Image from the Raspberry Pi Imager and when I re-enabled my Nefit Easy Plugin, It keeps giving me "XMPP Authentication Error" In my Homebridge Console. In My Config, All my 3 Codes are Laid out like this: "accessory": "NefitEasy", "name": "Wave Heating", "options": { "serialNumber": "NEFIT****", "accessKey": "NEFIT***", "password": "NEFIT_*" }

All My Codes are Copy-Pasted from my Worcester Wave app. (The App DOES work, before you ask)

robertklep commented 2 years ago

What are those NEFIT_ prefixes you're using? They shouldn't be there.

SebAndBlocks commented 2 years ago

I was doing it without the NEFIT but got another XMPP Auth Error and the instructions on NMP made it look like that I then needed The NEFIT Prefix.

On Tue, 5 Apr 2022 at 06:18, Robert Klep @.***> wrote:

What are those NEFIT_ prefixes you're using? They shouldn't be there.

— Reply to this email directly, view it on GitHub https://github.com/robertklep/homebridge-nefit-easy/issues/39#issuecomment-1088277833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTVZVXWJ2GV2ZR7H45GETDVDPELNANCNFSM5SQQHVIA . You are receiving this because you authored the thread.Message ID: @.***>

robertklep commented 2 years ago

Sorry for the confusion, but you don't need the NEFIT_ prefix.

XMPP authentication relies on the serial number (which should consist of only digits) and the access key (digits and characters, case sensitive). The password is only used for encryption/decryption, so only used when an XMPP connection has already been established.

SebAndBlocks commented 2 years ago

Thanks! Btw, Is there any other tips for getting this plugin working with Worcester Wave? (Was working on old install)

On Tue, 5 Apr 2022 at 18:05, Robert Klep @.***> wrote:

Sorry for the confusion, but you don't need the NEFIT_ prefix.

XMPP authentication relies on the serial number (which should consist of only digits) and the access key (digits and characters, case sensitive). The password is only used for encryption/decryption, so only used when an XMPP connection has already been established.

— Reply to this email directly, view it on GitHub https://github.com/robertklep/homebridge-nefit-easy/issues/39#issuecomment-1089052205, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTVZVT44E4VBGIUPAITPKLVDRXGJANCNFSM5SQQHVIA . You are receiving this because you authored the thread.Message ID: @.***>

robertklep commented 2 years ago

I never tested the code against a Worcester Wave, I was only told it worked.

For a bit more easy debugging, you can install bosch-xmpp and use its command line tool to test and see if you can connect. It's a bit easier than a change-config-and-restart cycle with Homebridge.

Like I said, the serial number should be all-digits, and the access key should be digits and characters (no hyphens). For the Nefit Easy, these were printed on the packaging. The password was user-defined from the mobile app.

SebAndBlocks commented 2 years ago

That is Pretty Much the same for Worcester Wave (as in the way you get the codes) Thanks for the Help! ISSUE CLOSED!!!