aurc / melview-mitsubishi-au-nz

Apache License 2.0
9 stars 5 forks source link

Failed to process platform discovery #13

Open gavb2005 opened 1 year ago

gavb2005 commented 1 year ago

It seems to be detecting the correct 3 units, but

Describe Your Problem:

Logs: 28/06/2023, 13:51:25Airconditioner Mitsubishi Au Nz Bridge starting 28/06/2023, 13:51:31SmartThings Ik BridgeSmartthings Plug (IK)ERRORMissing button status from Wine Rack LED 28/06/2023, 13:51:37Airconditioner Mitsubishi Au Nz BridgeLoaded plugin 'homebridge-airconditioner-mitsubishi-au-nz' 28/06/2023, 13:51:37Airconditioner Mitsubishi Au Nz BridgeLoading 1 platforms... 28/06/2023, 13:51:37Airconditioner Mitsubishi Au Nz BridgeBridge is running on port 51826. 28/06/2023, 13:51:38Airconditioner Mitsubishi Au Nz BridgeMitsubishiAUNZDiscovered Building [ 60709 ] = ' Building ' with 3 units! 28/06/2023, 13:51:38Airconditioner Mitsubishi Au Nz BridgeMitsubishiAUNZAdding new accessory: Bedroom [ 206197 ]: 8c456e3c-1096-4001-9185-27be5c0e58c2 28/06/2023, 13:51:38Airconditioner Mitsubishi Au Nz BridgeMitsubishiAUNZSet Device: Bedroom 28/06/2023, 13:51:38Airconditioner Mitsubishi Au Nz BridgeMitsubishiAUNZERRORFailed to process platform discovery. Fix the problem and restart the service.

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

{ "platform": "MitsubishiAUNZ", "user": "gavan@aspiremediagroup.com.au", "password": "xxxx" }

Screenshots:

Environment:

klautusi commented 2 months ago

This look lie the same issue as one below and I added some details here: https://github.com/aurc/melview-mitsubishi-au-nz/issues/8#issuecomment-2149298788

klautusi commented 2 months ago

I am also seeing this issue btw

klautusi commented 2 months ago

Figured out a fix for it and commented on the original issue if you are interested: https://github.com/aurc/melview-mitsubishi-au-nz/issues/8#issuecomment-2149438540

It is a mitsubishi issue, though we could have better logging here so people aren't stuck with how to fix it (reset your password)

@aurc if you would like me to make a PR that logs when there is no auth token returned, and gives instructions to reset your password i am happy to do it. That will at least remind me i need to do the same thing again 😅

klautusi commented 2 months ago

Ok i just added a PR that suggests resetting your password when auth is missing. Would love a better solution, but that is probably better than nothing