sincze / domoticz Goto Github PK
View Code? Open in Web Editor NEWPass2PHP Domoticz Scripts
Pass2PHP Domoticz Scripts
Hi,
Since today, the script does not return any data from the growatt server. I guess something has changed server side. Any chance you can have a look at it?
I do not get any info from the Growatt API, when debugging the return is 502.
My credentials are ok..
The script passes data correctly to Domoticz:
2022-07-22 08:50:03.418 Status: --->> Growatt Inverter: 810.4 for domoticz: 810.4;1500
But the today value is not show correctly:
Funny thing: it says -2.1kWh, but with every update that number is higher, so in a couple of updates it will be more than 0.
Hello Sincze,
During the past days I am losing data on my connection to the Growatt server. At first I show you the data from the Growatt app:
Now the data showing in Domotics:
You can see the drops in the data arriving back here in the Netherlands. I suspect that the internet is very busy because of the Corona exchange of data now very high.
Maybe a solution is the take the data retrieved from Growatt servers and update the total for the day with it? There is a difference between the Growatt number, in this example 17 KWh and the Domoticz amount of 15.894 KWh. In the reporting of Domoticz I am short 1.106 for this day.
Sorry if I am not clear enough but I hope I have addressed the issue correctly.
Best regards, Cees
I got the solarman script working.
But an hour after I got everything in order there was a popup that said they where changing server to China.
Does the script have to be changed?
Because I can't get it to work anymore and I'm not sure it's due to the server change or something I did.
It did work for a while
I'm running the script for over a week now and the first few days it was reporting the total amount in the daily graph. then it was good for a few days, reporting the daily amount of power from Growatt portal in the daily graph, but now it is reporting the total amount again on the daily graph. See attached image
I hope there is (or will be) a fix and something to undo the 'damage' in the data...
Kind regards,
BC
Anybody else experiencing issues with Growatt? the api does not return any data since a today.
This is the CURL result from the php:
{"back":{"msg":"507","success":false}}
Since yesterday (12 October 2022) the generated and current power is not updated anymore. There's no error shown when running the script from terminal.
Hi,
When installign teh Growatt php script, executing "sudo apt-get install php7.0 php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mcrypt php7.0- php7.0-cli" I get all kinds of errors. See below. Any idea how to overcome this?
I've installed the latest Rasbian and Domoticz (stable) versions.
Pls let me know!
H.
QUOTE
pi@raspberrypi:~ $ sudo apt-get install php7.0 php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mcrypt php7.0- php7.0-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php7.0-thrift' for regex 'php7.0'
Note, selecting 'php7.0-remctl' for regex 'php7.0'
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php7.0-curl' for regex 'php7.0'
Note, selecting 'php-remctl' instead of 'php7.0-remctl'
Note, selecting 'php7.0-thrift' for regex 'php7.0'
Note, selecting 'php7.0-remctl' for regex 'php7.0'
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php7.0-curl' for regex 'php7.0'
Package 'php7.0-common' is not installed, so not removed
Note, selecting 'php-remctl' instead of 'php7.0-remctl'
Package 'php7.0-thrift' is not installed, so not removed
Package 'php7.0-curl' is not installed, so not removed
Package php7.0-curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php7.0-curl' has no installation candidate
E: Unable to locate package php7.0-gd
E: Couldn't find any package by glob 'php7.0-gd'
E: Couldn't find any package by regex 'php7.0-gd'
E: Unable to locate package php7.0-imap
E: Couldn't find any package by glob 'php7.0-imap'
E: Couldn't find any package by regex 'php7.0-imap'
E: Unable to locate package php7.0-json
E: Couldn't find any package by glob 'php7.0-json'
E: Couldn't find any package by regex 'php7.0-json'
E: Unable to locate package php7.0-mcrypt
E: Couldn't find any package by glob 'php7.0-mcrypt'
E: Couldn't find any package by regex 'php7.0-mcrypt'
E: Unable to locate package php7.0-cli
E: Couldn't find any package by glob 'php7.0-cli'
E: Couldn't find any package by regex 'php7.0-cli'
pi@raspberrypi:~ $ ^C
pi@raspberrypi:~ $ sudo apt-get install php7.0 php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mcrypt php7.0- php7.0-cli
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php7.0-curl' for regex 'php7.0'
Note, selecting 'php-remctl' instead of 'php7.0-remctl'
Note, selecting 'php7.0-thrift' for regex 'php7.0'
Note, selecting 'php7.0-remctl' for regex 'php7.0'
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php7.0-curl' for regex 'php7.0'
Package 'php7.0-common' is not installed, so not removed
Note, selecting 'php-remctl' instead of 'php7.0-remctl'
Package 'php7.0-thrift' is not installed, so not removed
Package 'php7.0-curl' is not installed, so not removed
Package php7.0-curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php7.0-curl' has no installation candidate
E: Unable to locate package php7.0-gd
E: Couldn't find any package by glob 'php7.0-gd'
E: Couldn't find any package by regex 'php7.0-gd'
E: Unable to locate package php7.0-imap
E: Couldn't find any package by glob 'php7.0-imap'
E: Couldn't find any package by regex 'php7.0-imap'
E: Unable to locate package php7.0-json
E: Couldn't find any package by glob 'php7.0-json'
E: Couldn't find any package by regex 'php7.0-json'
E: Unable to locate package php7.0-mcrypt
E: Couldn't find any package by glob 'php7.0-mcrypt'
E: Couldn't find any package by regex 'php7.0-mcrypt'
E: Unable to locate package php7.0-cli
E: Couldn't find any package by glob 'php7.0-cli'
Reading package lists... Doneby regex 'php7.0-cli'
Building dependency tree
Reading state information... Done
Note, selecting 'php7.0-thrift' for regex 'php7.0'
Note, selecting 'php7.0-remctl' for regex 'php7.0'
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php7.0-curl' for regex 'php7.0'
Note, selecting 'php-remctl' instead of 'php7.0-remctl'
Note, selecting 'php7.0-thrift' for regex 'php7.0'
Note, selecting 'php7.0-remctl' for regex 'php7.0'
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php7.0-curl' for regex 'php7.0'
Package 'php7.0-common' is not installed, so not removed
Note, selecting 'php-remctl' instead of 'php7.0-remctl'
Package 'php7.0-thrift' is not installed, so not removed
Package 'php7.0-curl' is not installed, so not removed
Package php7.0-curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php7.0-curl' has no installation candidate
E: Unable to locate package php7.0-gd
E: Couldn't find any package by glob 'php7.0-gd'
E: Couldn't find any package by regex 'php7.0-gd'
E: Unable to locate package php7.0-imap
E: Couldn't find any package by glob 'php7.0-imap'
E: Couldn't find any package by regex 'php7.0-imap'
E: Unable to locate package php7.0-json
E: Couldn't find any package by glob 'php7.0-json'
E: Couldn't find any package by regex 'php7.0-json'
E: Unable to locate package php7.0-mcrypt
E: Couldn't find any package by glob 'php7.0-mcrypt'
E: Couldn't find any package by regex 'php7.0-mcrypt'
E: Unable to locate package php7.0-cli
E: Couldn't find any package by glob 'php7.0-cli'
E: Couldn't find any package by regex 'php7.0-cli'
UNQUOTE
errors around line 174
was working with older php (7.0)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.