Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin not working - error 501 #44

Open
bmjvannunen opened this issue Sep 28, 2023 · 38 comments
Open

Plugin not working - error 501 #44

bmjvannunen opened this issue Sep 28, 2023 · 38 comments

Comments

@bmjvannunen
Copy link

Yesterday I was having problems with the growatt plugin, those seemed to be caused by server problems / downtime at Growatt.
Since 9:00 this morning the plugin is not working anymore with the following error (I restarted a couple of times, this is the information from the most recent restart):
2023-09-28 15:04:23.196 Growatt: Received 5 bytes of data
2023-09-28 15:04:23.196 Growatt: HTTP Details (3):
2023-09-28 15:04:23.196 Growatt: >'Status':'200'
2023-09-28 15:04:23.196 Growatt: >'Headers':
2023-09-28 15:04:23.196 Growatt: ---->'Date':'Thu, 28 Sep 2023 13:04:23 GMT'
2023-09-28 15:04:23.196 Growatt: ---->'Content-Type':'application/json;charset=UTF-8'
2023-09-28 15:04:23.196 Growatt: ---->'Transfer-Encoding':'chunked'
2023-09-28 15:04:23.196 Growatt: ---->'Connection':'keep-alive'
2023-09-28 15:04:23.196 Growatt: ---->'Set-Cookie':
2023-09-28 15:04:23.196 Growatt: --------['JSESSIONID=*********************; Path=/; Secure; HttpOnly']
2023-09-28 15:04:23.196 Growatt: --------['SERVERID=****************************|
|*************;Path=/']
2023-09-28 15:04:23.196 Growatt: >'Data':'b'{"back":{"msg":"501","success":false}}''
2023-09-28 15:04:23.197 Growatt: Retrieved following json: {"back": {"msg": "501", "success": false}}
2023-09-28 15:04:23.197 Growatt: Not received anything useful!
2023-09-28 15:04:33.069 Growatt: onHeartbeat called, Connection is alive.

Any ideas? Both the Shinephone app and the website are working.

@Achterhoeker
Copy link

Same here

@PvdGulik
Copy link

PvdGulik commented Sep 29, 2023 via email

@rick8245
Copy link

Same here let's hope for a quick solution soon

@differentieel
Copy link

have a simple one - some moments ago:
2023-09-29 15:00:03.235 Error: Growatt: Google returned a status: 504

@PvdGulik
Copy link

Also the ShinePhone app doesn't work. Only the next day you can see what your production was the day before...

@phkpr
Copy link

phkpr commented Sep 29, 2023

I have the same problem.
Website and the ShinePhone app are working okay.

I have no idea how to ask Growatt about any API changes!!
Please help

@differentieel
Copy link

you can try this one - service at ginverter dot com - i had some discussions with them
company name is : ShenZhen Growatt New Energy Co.,Ltd.
department: Oversea service email admin
my last contact was at 04 09 2023
hope this helps

@phkpr
Copy link

phkpr commented Sep 30, 2023

I have the same problem. Website and the ShinePhone app are working okay.

I have no idea how to ask Growatt about any API changes!! Please help

This morning I have reached a web-error 403 and a ShinePhone app not working anymore
Now, after changing the server from server.growatt.com into server-api.growatt.com I have a web-error 410.

Misterious !!

@tonbor
Copy link

tonbor commented Oct 1, 2023

Error 403, any fix?

@phkpr
Copy link

phkpr commented Oct 2, 2023

I published a script in the Domoticz board.
You can use it to manually enter the cumulative kWh value as shown from your ShinePhone app.
(at least 1 time a day, preferable in the evening)
Use link below and goto the post from phkpr dated October 2.

https://www.domoticz.com/forum/viewtopic.php?p=307447#p307447

@Achterhoeker
Copy link

Achterhoeker commented Oct 4, 2023

The chinese growatt server isn't reliable enough for me anymore, i've made the switch to the grott implementation (catch all data send from the inverter to the growatt server)
https://github.com/johanmeijer/grott

But I don't want to use the mqtt implementation, and only need a "simple" energy counter for every inverter i have (2). For this i wrote a simple extension on the grott. https://github.com/johanmeijer/grott/pull/433/commits

With this extension you can update a energy counter in domoticz (domoticz idx and serial id from inverter needed)
If you don't know the serial id, start grott with -v option and the data received will be printed included the serial id.

Works perfect now:
image

@oepi-loepi
Copy link

They have installed a waf in between to protect the server. I am working on it and i think i have found a reliable solution

@sincze
Copy link
Owner

sincze commented Oct 8, 2023

They have installed a waf in between to protect the server. I am working on it and i think i have found a reliable solution

That would be perfect / excellent / wonderful indeed.

@PvdGulik
Copy link

PvdGulik commented Oct 8, 2023

They have installed a waf in between to protect the server. I am working on it and i think i have found a reliable solution

What's an waf? Wife Acceptance factor?

Thanks!

@tonbor
Copy link

tonbor commented Oct 8, 2023

What is a WAF? | Web Application Firewall

@differentieel
Copy link

this is a WAF https://www.wordfence.com/

@tonbor
Copy link

tonbor commented Oct 9, 2023

They have installed a waf in between to protect the server. I am working on it and i think i have found a reliable solution

Any progression?

@sincze
Copy link
Owner

sincze commented Oct 9, 2023

I am awaiting the idea on how to solve it. For the moment I use Node-Red to get the Data.

@tonbor
Copy link

tonbor commented Oct 9, 2023 via email

@sincze
Copy link
Owner

sincze commented Oct 9, 2023 via email

@oepi-loepi
Copy link

Heb je ook de mail gekregen op je gewone mail met uitleg? Was even zoeken daarnaar

@rick8245
Copy link

I now have this script : https://github.com/johanmeijer/grott/pull/433/commits

but I still do not get this working. Is there an explanation somewhere for what to modify and where exactly ??

@Achterhoeker
Copy link

@rick8245

I now have this script : https://github.com/johanmeijer/grott/pull/433/commits

but I still do not get this working. Is there an explanation somewhere for what to modify and where exactly ??

This is a plugin on the grott service to "simple" add the data from the invertor to a energy counter in domoticz. For this, the grott service must be installed and run. Also the invertor needs to send its data to this grott service (and not the growatt server)
If this is working, the mentioned plugin is an easy way to get the data in domoticz (only energy counter)

@tonbor
Copy link

tonbor commented Oct 12, 2023

Ik krijg hem binnen:)

On Mon, 9 Oct 2023, 17:34 oepi-loepi, @.> wrote: Hi Sandor, Werkt het om op deze manier een mail te versturen? Kun je anders jouw directe mailadres sturen. Dan hoef ik geen code in het openbaar te delen. Groet, Rob (oepi-loepi) Van: Sandor @.> Verzonden: maandag 9 oktober 2023 17:22 Aan: sincze/Domoticz-Growatt-Webserver-Plugin @.> CC: oepi-loepi @.>; Comment @.> Onderwerp: Re: [sincze/Domoticz-Growatt-Webserver-Plugin] Plugin not working - error 501 (Issue #44) I am awaiting the idea on how to solve it. For the moment I use Node-Red to get the Data. — Reply to this email directly, view it on GitHub < #44 (comment)> , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AO7G5YYH3TBCVJFZWM3EXKDX6QJA5AVCNFSM6AAAAAA5K6DHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGIYTKMRUHE> . You are receiving this because you commented. < https://github.com/notifications/beacon/AO7G5Y7XBLITVOUGTLQKKHDX6QJA5A5CNFSM6AAAAAA5K6DHXOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIP7YRC.gif> Message ID: @. @.> > -- Dit e-mailbericht is met AVG-antivirussoftware gecontroleerd op virussen. www.avg.com — Reply to this email directly, view it on GitHub <#44 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMCHTO6S6RLQWSHQ2EXQ6LX6QKQHAVCNFSM6AAAAAA5K6DHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGIZTMOJVGI . You are receiving this because you commented.Message ID: @.>

is there a fix?

@tonbor
Copy link

tonbor commented Oct 20, 2023

2 weeks ago oepi-loepi had a solution, will anybody implement thisnfix please, much obliged

@oepi-loepi
Copy link

No i did not succeed in a most stable way yet. Use the node red option or grott for the moment

@sincze
Copy link
Owner

sincze commented Oct 26, 2023

I just noticed: sincze/Domoticz#18 (comment)
Hope it will be the same for the plugin.

@tonbor
Copy link

tonbor commented Oct 26, 2023

yes, but for how long?

@sincze
Copy link
Owner

sincze commented Oct 26, 2023

Good Point indeed.
That is a valid question for SAAS services in general.

If you want total control read the inverter locally / install additional kWh meter (HomeWizard) https://www.homewizard.com/nl/kwh-meter/

@rensbr
Copy link

rensbr commented Oct 26, 2023

I just noticed: sincze/Domoticz#18 (comment) Hope it will be the same for the plugin.

It works here again. Hopefully it stays like that.

@phkpr
Copy link

phkpr commented Oct 26, 2023

Same for me! Regarding the plugin!

@PvdGulik
Copy link

PvdGulik commented Oct 27, 2023 via email

@rensbr
Copy link

rensbr commented Nov 14, 2023

Plugin stopped working since friday now. No that the output of the PV panels is great these days.

Edit: Enabled and disabled the plugin a few times and it works again.

@tonbor
Copy link

tonbor commented Nov 14, 2023

Plugin stopped working since friday now. No that the output of the PV panels is great these days.

not with me

@phkpr
Copy link

phkpr commented Nov 14, 2023

No problems here !

@jan-vandenberg
Copy link
Contributor

It's been down since Nov 6 for me.

@tonbor
Copy link

tonbor commented Nov 14, 2023

It's been down since Nov 6 for me.

Is shinephone working?

@rensbr
Copy link

rensbr commented Nov 14, 2023

It's been down since Nov 6 for me.

Is shinephone working?

Yes, here it is. I have restarted the plugin a few times now and it seems to work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests