muppet3000 / homeassistant-growatt_server_api

Home Assistant Integration for Growatt - Upstream repo for the growatt_server integration that is part of the Core Home Assistant repository
MIT License
52 stars 6 forks source link

BUG - [Work one day yes, one day no...] #52

Open sagara939 opened 2 weeks ago

sagara939 commented 2 weeks ago

Describe the bug Hi. The application work fine, but work one day yes, one day no. I need to recharge the integration via home assistant and, sometimes, it restart. it does not have continuity of operation. Also, when it works fine on home assistant, I get blocked on the "shinephone" smartphone application

To Reproduce

Growatt Device Type

Device(s):

Home Assistant information

Additional context

N/A

muppet3000 commented 2 weeks ago

I recommend reading the "IMPORTANT NOTICE" on the home page: https://github.com/muppet3000/homeassistant-growatt_server_api?tab=readme-ov-file#important-notice

caitotheonlypotato commented 2 days ago

@muppet3000

I use multiple visitor accounts which are set up inside and work fine with the pvplusanz (Jinko) portal. I assume this would also work with the Growatt portals. The HA integration easily accepts any of the visitor logins which I alternate to the next one each time the data stops flowing (I delete the entry and add a new one with the next credential in the list).

Each visitor login can use the identical email address (see the image), so no need to have multiple email addresses, just portal logins as visitors. eg user 1, user 2, user 3, user 4 etc. HA login just uses the visitor user name (eg user1) and the password you've setup


Now if within the integration setup process we could specify a number/group of credentials and then auto rotate those credentials daily (eg at midnight or at a specified time), then I think all the issues would be solved for everyone.

image

Currently I delete and then re-add here with the new visitor login every day or so, sometimes it lasts longer between changes.

image

caitotheonlypotato commented 2 days ago

Setup is easy in the portal, just set user, can be anything. Set passwords can be anything, but I keep mine the same Add name and nickname if you like.

image

muppet3000 commented 2 days ago

As I've announced on the landing page of this repo I have decided to stop adding features to this repo due to the various issues with the API integration.

I have switched my focus to the Grott implementation and actively support and maintain that instead.

However, if people wish to submit PRs to this repo I will happily review and release them.

As I am no longer a user of the integration I have no way of testing it.