-
Notifications
You must be signed in to change notification settings - Fork 11
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
growatt script does not work anymore #18
Comments
The Node-Red version is still working. Any error messages in from the script?? I notice 3 login attempts.
{"result":0,"msg":"Username needs to be at least 8 digits long"}
{"result":0,"msg":"Username needs to be at least 8 digits long"}
{"result":1} Using the script we see an HTTP Response of 403. (Not Authorized) |
the plugin on https://github.com/sincze/Domoticz-Growatt-Webserver-Plugin/ is working again, the php script isn't. |
that is interesting indeed |
Will need some minor config changes. I need to add a additional function to extract the plantID and use that to request for the data.
|
can you try with the current version ???
|
@sincze It works again:
But first it didn't then i compared with the plugin. There i saw i was using http. In the script i changed the https calls into http and that did the job. |
Put the variable in the script debug to true and share the results shown in
the domoticz.log.
With the supplied info there is nothing we can do as we don't see what it
is doing.
…On Wed, Aug 23, 2023 at 8:13 AM Cees Bakker ***@***.***> wrote:
With me it does not work yet.
Yesterday I used the new growatt-inverter.php updated username/password,
Idx and domotics url. Then executed the file with the following result:
[image: Het gaat helemaal fout]
<https://user-images.githubusercontent.com/33065120/262570737-1177943d-8fa6-4a47-976f-228554c395bf.png>
Then, at night time I added a piece of code not to update if the counter
is not above zero:
lg('Growatt Inverter: '. $nowpower.' for domoticz: '.$str);
IF ($todaypower > 0) {
ud(DOMOTICZDEVICE,0,$str,'GrowattInverter: Generation updated');
}
I have this because I used to have many times that the counter retrieved
was zero. I kept up the hopes for this morning but no luck. I do not get
data from Growatt.
—
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMCHTLIATN6GNXZUOTWYXLXWWNRPANCNFSM6AAAAAA3WTI7VM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Just now I took the file growatt-converter.php and carefully looked if I made any mistake. Searching the file for "debug" gave no hit. The output of the read out from Growatt shows the following: What else can I look at? |
@Cees2439867 For me only http is working, still no https from the growatt servers with data. So in the growatt-inverter.php i've changed all https calls in http. |
It is not working unfortunately. Thanks for your work to help me (and others). I will enter the data manually for a while. Just bought a KWh meter from Home Wizard ([Wi-Fi kWh meter 1-fase) which promise a API. Hope this works. |
Homewizard stuff works great.
Is simple URL parsing to get it into Domoticz. There is already a Domoticz
plugin (p1. Water, plug) hopefully for the Meter as well.
…On Thu, 24 Aug 2023, 11:46 Cees Bakker, ***@***.***> wrote:
It is not working unfortunately. Thanks for your work to help me (and
others). I will enter the data manually for a while. Just bought a KWh
meter from Home Wizard ([Wi-Fi kWh meter 1-fase) which promise a API. Hope
this works.
—
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMCHTIMIEOJNKBGOFHHXSDXW4PIRANCNFSM6AAAAAA3WTI7VM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I am a newbee so do not kill me if I talk nonsense... $url='https://server.growatt.com/newPlantAPI.do?action=getUserCenterEnertyData'; I can not explain why.... |
Well the hint could as well been in the clue of Growatt themselves. {"result":0,"msg":"Username needs to be at least 8 digits long"} But then again ;-) who knows. |
2023-08-24 15:16:01.717 Status: --->> Cookie File: /home/pi/domoticz/scripts/pass2php/growatt.cookie exists! |
This indeed shows how it should be indeed. |
I updated the file, but I get only 0.0 values: 2023-08-29 10:42:11.008 Status: --->> Cookie File: /home/pi/domoticz/scripts/pass2php/growatt.cookie exists! |
Hi Sandor,
You where so right about HomeWizard! Now I have a constant flow of data in house without interfering with the data from the supplier.
Thanks for your work during the past three years.
Regards, Cees.
TypeApp voor Android downloaden
Op 24 aug. 2023 12:05, om 12:05, Sandor ***@***.***> schreef:
…Homewizard stuff works great.
Is simple URL parsing to get it into Domoticz. There is already a
Domoticz
plugin (p1. Water, plug) hopefully for the Meter as well.
On Thu, 24 Aug 2023, 11:46 Cees Bakker, ***@***.***> wrote:
> It is not working unfortunately. Thanks for your work to help me (and
> others). I will enter the data manually for a while. Just bought a
KWh
> meter from Home Wizard ([Wi-Fi kWh meter 1-fase) which promise a API.
Hope
> this works.
>
> —
> Reply to this email directly, view it on GitHub
>
<#18 (comment)>,
> or unsubscribe
>
<https://github.com/notifications/unsubscribe-auth/ABMCHTIMIEOJNKBGOFHHXSDXW4PIRANCNFSM6AAAAAA3WTI7VM>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
Reply to this email directly or view it on GitHub:
#18 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
That is annoying indeed. I just checked mine:
Slightly modified the online version again can you check again ?? |
You are most welcome. Enjoy their hardware. |
I chequed mine and it is still working..... 2023-08-29 20:12:01.743 Status: --->> Cookie File: /home/pi/domoticz/scripts/pass2php/growatt.cookie exists! |
Now it works again, thanks! What did you change? |
Github allows you to track the changes between versions |
I would say it is stored in Domoticz DB ;-) |
Yes, it is, but I cannot find the exact line or table. I know where the day values are stored. So I wonder where the years are stored. Or is it calculated when I load the page? |
Ok great. Check for a column named calendar_meter or meter_calendar. |
Since some days no values get in any more
The text was updated successfully, but these errors were encountered: