Iâm facing the same issue as @max-nz above.
It seems to be loading the meter ID ok as I see a number listed (which Iâll blank out below with xxx)
Warning: Undefined array key âmeter:xxxxxxxxâ in E:\PHP\FroniusData.php on line 41
Warning: Trying to access array offset on value of type null in E:\PHP\FroniusData.php on line 41
Warning: Trying to access array offset on value of type null in E:\PHP\FroniusData.php on line 41
Warning: Trying to access array offset on value of type null in E:\PHP\FroniusData.php on line 41
Warning: Trying to access array offset on value of type null in E:\PHP\FroniusData.php on line 41
Warning: Undefined array key âmeter:xxxxxxxxâ in E:\PHP\FroniusData.php on line 42
Warning: Trying to access array offset on value of type null in E:\PHP\FroniusData.php on line 42
Warning: Trying to access array offset on value of type null in E:\PHP\FroniusData.php on line 42
Warning: Trying to access array offset on value of type null in E:\PHP\FroniusData.php on line 42
Warning: Trying to access array offset on value of type null in E:\PHP\FroniusData.php on line 42
23:55,42566.143611111,0,42566.143611111
Then repeats for the next 5min increment but reports the same errors above each time then ends with what looks like the time and usage details we are after on the last line above before it repeats againâŚ
Iâm running Windows 11 and downloaded PHP version 8.1.2 - VS16 x64 Non Thread Safe (2022-Jan-19 10:43:46), I also installed the mentioned Visual C++ Redistributable for Visual Studio 2015-2019 Pack that did not help.
Any idea what might cause the above? I have made the following changes to the PHP file:
$dataManagerIP = â192.168.1.200â;
$country = âAustraliaâ;
$capitalCity =âBrisbaneâ;
$date = â2022-02-11â;
$time = â23:59â; (tried commenting this out as well)
P.S. I also tried to use the âVS16 x64 Non Thread Safe (2022-Jan-19 10:43:46)â Version of PHP as well as the 32bit âVS16 x86 Non Thread Safe (2022-Jan-19 10:44:10)â but got the same errors with the script on these builds of PHP as well.
P.S. Iâve also noticed the Energy Consumed does not seem to bright for our system that Iâll need to look into next (I had the same issue with the main PVOutput push script by needing to add a /n switch at the end of the export URL to export "netâ usage I believeâŚ
