reyntjensw / Homey-FusionSolar

GNU General Public License v3.0
2 stars 4 forks source link

Huawei app not working #90

Open mattias-23 opened 1 year ago

mattias-23 commented 1 year ago

I get always this error, and if i put web version it says wrong user or password even if they arw correct

IMG_2688

sunnanfjord commented 1 year ago

Hi,

The web login is no longer working after Huawei has added a verification code when signing in.

/Daniel

mattias-23 commented 1 year ago

And how can i connect it? Even with system after 2023 it says null is not an object

Il giorno sab 12 ago 2023 alle 08:59 sunnanfjord @.***> ha scritto:

Hi,

The web login is no longer working after Huawei has added a verification code when signing in.

/Daniel

— Reply to this email directly, view it on GitHub https://github.com/reyntjensw/Homey-FusionSolar/issues/90#issuecomment-1675749681, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB3SRH7IBYTYRPTKCXW23PLXU4STVANCNFSM6AAAAAA3M7HFVI . You are receiving this because you authored the thread.Message ID: @.***>

sunnanfjord commented 1 year ago

I was only able to get web login to work before Huawei decided to add verifiication code to the login window. I also get "null is not an object" if I choose anything else than web login. At the moment, I can not connect to the inverter at all with this app.

/Daniel

ulrikviebke commented 1 year ago

I logged in to https://eu5.fusionsolar.huawei.com/ and found that there is a kiosk mode, which enables me to use a readonly view through a simple url (including a hash for my environment). Maybe the app can be rewritten to use the kiosk mode url instead and scrape the data from that view?

sunnanfjord commented 1 year ago

Actually, the web login seems to be working again since Huawei removed the verification code from the login page.

/Daniel

MorganHolm70 commented 1 year ago

Dear anyone I am trying to add the Huawei-unit to my Homey-system, but I get the same issue as Sunnanfjord, Mattias and the rest above. or at times the message the the login credentials are not valid.

I am able to authenticate at the fusionssolar.huawei-online with my credentials. Does anybody know why it wil not be added as a unit in the Homey app?

Most of the times it reads: "Cannot read property 'name' of undefined"

Many Thanks!