Hi,
Like many others, I'm using sincze's growatt script to read my solar panel data from the growatt server.
Now I've added a 2nd setup, and registered its datalogger in the growatt portal, under my account.
However, I'm not sure how I can have that data imported in Domoticz.
For now, I can see that the Growatt Inverter-device only shows the information of my first plant.
Any thoughts?
Growatt: 2nd plant/data logger
Moderator: leecollings
- Rolandet
- Posts: 95
- Joined: Thursday 31 January 2019 21:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: The Netherlands
- Contact:
Growatt: 2nd plant/data logger
Custodes Septentrionum
-
- Posts: 20
- Joined: Monday 20 June 2022 21:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Growatt: 2nd plant/data logger
Hi Rolandet,
I'm not a php expert, but I assumed it must be somewhere in the lines of the script where the URL for the data is setup:
$curl = curl_init();
$url='http://server-api.growatt.com/newPlantA ... EnertyData';
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_COOKIEJAR, COOKIE_FILE);
curl_setopt($curl, CURLOPT_COOKIEFILE, COOKIE_FILE);
curl_setopt($curl, CURLOPT_USERAGENT, USER_AGENT);
curl_setopt($curl, CURLOPT_POSTFIELDS, "language=1" );
curl_setopt($curl, CURLOPT_HTTPHEADER, HEADER);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt ($curl, CURLOPT_SSLVERSION, 1);
$result = curl_exec($curl);
I guess somebody with PHP experience can answer this question.
Best regards, Michiel.
I'm not a php expert, but I assumed it must be somewhere in the lines of the script where the URL for the data is setup:
$curl = curl_init();
$url='http://server-api.growatt.com/newPlantA ... EnertyData';
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_COOKIEJAR, COOKIE_FILE);
curl_setopt($curl, CURLOPT_COOKIEFILE, COOKIE_FILE);
curl_setopt($curl, CURLOPT_USERAGENT, USER_AGENT);
curl_setopt($curl, CURLOPT_POSTFIELDS, "language=1" );
curl_setopt($curl, CURLOPT_HTTPHEADER, HEADER);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt ($curl, CURLOPT_SSLVERSION, 1);
$result = curl_exec($curl);
I guess somebody with PHP experience can answer this question.
Best regards, Michiel.
- Rolandet
- Posts: 95
- Joined: Thursday 31 January 2019 21:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: The Netherlands
- Contact:
Re: Growatt: 2nd plant/data logger
Let's see if we can lure Sincze in this topicsincze wrote:

Custodes Septentrionum
-
- Posts: 20
- Joined: Monday 20 June 2022 21:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Growatt: 2nd plant/data logger
Hi Rolandet,
as you can see I also posted an issue with the Growatt script. Do you also have issues that the script doesn't read the power continuously? Are you using the latest version from github?
Best regards, Michiel.
as you can see I also posted an issue with the Growatt script. Do you also have issues that the script doesn't read the power continuously? Are you using the latest version from github?
Best regards, Michiel.
- Rolandet
- Posts: 95
- Joined: Thursday 31 January 2019 21:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: The Netherlands
- Contact:
Re: Growatt: 2nd plant/data logger
The interval is 5 minutes, so indeed it doesn't read the output continuouslymvanrijnbach wrote: ↑Saturday 11 March 2023 9:04 Hi Rolandet,
as you can see I also posted an issue with the Growatt script. Do you also have issues that the script doesn't read the power continuously? Are you using the latest version from github?
Best regards, Michiel.
Custodes Septentrionum
-
- Posts: 20
- Joined: Monday 20 June 2022 21:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Growatt: 2nd plant/data logger
It is supposed to read it every 5 minutes and it used to do that, but now the data looks like this:
I guess I'll try to reset the whole thing and see if it makes any difference.
Best regards, Michiel.
I guess the data doesn't come through every 5 minutes anymore.I guess I'll try to reset the whole thing and see if it makes any difference.
Best regards, Michiel.
- Rolandet
- Posts: 95
- Joined: Thursday 31 January 2019 21:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: The Netherlands
- Contact:
Re: Growatt: 2nd plant/data logger
Oh right. Well, there's been a lot of chatter about the poor data servers of growatt
Custodes Septentrionum
Who is online
Users browsing this forum: No registered users and 1 guest