OpenDTU V.24.2.16 Strings werden nicht ausgelesen
Verfasst: So 10. Mär 2024, 13:19
Hallo Forum,
ich bekomme keine Werte aus den Strings in die Datenbank.
solaranzeige.log
2.user.config.php
ich bekomme keine Werte aus den Strings in die Datenbank.
solaranzeige.log
im php Log ist folgender Fehler:10.03. 11:18:08 -Verarbeitung von: '2.user.config.php' Regler: 89
10.03. 11:18:08 |------------------- Start opendtu.php ---------------------
10.03. 11:18:08 o -Hardware Version: Raspberry Pi 5 Model B Rev 1.0
10.03. 11:18:09 -Inverter Seriennummer: 11619120
10.03. 11:18:09 -AC leistung aktuell: 280.4
10.03. 11:18:09 -InfluxDB => [ Info zentralerTimestamp=1710065891,DeviceName="msr-dtu",Firmware="v4.4.6-dirty",Objekt="",Modell="OpenDTU" 1710065889
DTU DC_Leistung=0,Produktion=1,Anz_Inverter=1,AC_Leistung=280.4,Energie_Inverter_Heute=1134,Energie_Inverter_Total=252820.98,Temperatur=0 1710065889
11619120 limit_absolute=1500,Seriennummer=11619120,Aktiv=0,Anz_Channel=0,LimitPower=100,Name="WR-1 HM-1500 Garage",Status="1",AC_Spannung=0,AC_Strom=0,AC_Leistung=0,AC_Scheinleistung=0,Frequenz=0,PF=,Temperatur=0,Energie_Inverter_Heute=,Energie_Inverter_Total=0,Effizienz=0 1710065889
]
10.03. 11:18:09 -Daten nicht zur lokalen InfluxDB gesendet! info: array (
'url' => 'http://localhost/write?db=opendtu1&precision=s',
'content_type' => 'application/json',
'http_code' => 400,
'header_size' => 648,
'request_size' => 716,
'filetime' => -1,
'ssl_verify_result' => 0,
'redirect_count' => 0,
'total_time' => 0.006806,
'namelookup_time' => 2.2E-5,
'connect_time' => 0.0001,
'pretransfer_time' => 0.000134,
'size_upload' => 563.0,
'size_download' => 374.0,
'speed_download' => 54951.0,
'speed_upload' => 82721.0,
'download_content_length' => 374.0,
'upload_content_length' => 563.0,
'starttransfer_time' => 0.006771,
'redirect_time' => 0.0,
'redirect_url' => '',
'primary_ip' => '127.0.0.1',
'certinfo' =>
array (
),
'primary_port' => 8086,
'local_ip' => '127.0.0.1',
'local_port' => 47016,
'http_version' => 2,
'protocol' => 1,
'ssl_verifyresult' => 0,
'scheme' => 'HTTP',
'appconnect_time_us' => 0,
'connect_time_us' => 100,
'namelookup_time_us' => 22,
'pretransfer_time_us' => 134,
'redirect_time_us' => 0,
'starttransfer_time_us' => 6771,
'total_time_us' => 6806,
)
10.03. 11:18:14 -InfluxDB => [ Info zentralerTimestamp=1710065891,DeviceName="msr-dtu",Firmware="v4.4.6-dirty",Objekt="",Modell="OpenDTU" 1710065889
DTU DC_Leistung=0,Produktion=1,Anz_Inverter=1,AC_Leistung=280.4,Energie_Inverter_Heute=1134,Energie_Inverter_Total=252820.98,Temperatur=0 1710065889
11619120 limit_absolute=1500,Seriennummer=11619120,Aktiv=0,Anz_Channel=0,LimitPower=100,Name="WR-1 HM-1500 Garage",Status="1",AC_Spannung=0,AC_Strom=0,AC_Leistung=0,AC_Scheinleistung=0,Frequenz=0,PF=,Temperatur=0,Energie_Inverter_Heute=,Energie_Inverter_Total=0,Effizienz=0 1710065889
]
10.03. 11:18:14 -Daten nicht zur lokalen InfluxDB gesendet! info: array (
'url' => 'http://localhost/write?db=opendtu1&precision=s',
'content_type' => 'application/json',
'http_code' => 400,
'header_size' => 648,
'request_size' => 716,
'filetime' => -1,
'ssl_verify_result' => 0,
'redirect_count' => 0,
'total_time' => 0.027514,
'namelookup_time' => 3.8E-5,
'connect_time' => 0.0,
'pretransfer_time' => 0.000103,
'size_upload' => 563.0,
'size_download' => 374.0,
'speed_download' => 13593.0,
'speed_upload' => 20462.0,
'download_content_length' => 374.0,
'upload_content_length' => 563.0,
'starttransfer_time' => 0.027483,
'redirect_time' => 0.0,
'redirect_url' => '',
'primary_ip' => '127.0.0.1',
'certinfo' =>
array (
),
'primary_port' => 8086,
'local_ip' => '127.0.0.1',
'local_port' => 47016,
'http_version' => 2,
'protocol' => 1,
'ssl_verifyresult' => 0,
'scheme' => 'HTTP',
'appconnect_time_us' => 0,
'connect_time_us' => 0,
'namelookup_time_us' => 38,
'pretransfer_time_us' => 103,
'redirect_time_us' => 0,
'starttransfer_time_us' => 27483,
'total_time_us' => 27514,
)
10.03. 11:18:19 -Multi-Regler-Ausgang. -4
10.03. 11:18:19 -OK. Datenübertragung erfolgreich.
10.03. 11:18:19 |------------------- Stop opendtu.php ----------------------
10.03. 11:18:21 -Multi Regler Auslesen [Stop].
Code: Alles auswählen
[10-Mar-2024 11:18:09 Europe/Berlin] PHP Notice: Undefined index: DC in /var/www/html/opendtu.php on line 263
[10-Mar-2024 11:18:09 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/opendtu.php on line 263
[10-Mar-2024 11:18:09 Europe/Berlin] PHP Notice: Undefined index: AC in /var/www/html/opendtu.php on line 275
[10-Mar-2024 11:18:09 Europe/Berlin] PHP Notice: Trying to access array offset on value of type null in /var/www/html/opendtu.php on line 275
[10-Mar-2024 11:18:09 Europe/Berlin] PHP Notice: Trying to access array offset on value of type null in /var/www/html/opendtu.php on line 275
[10-Mar-2024 11:18:09 Europe/Berlin] PHP Notice: Trying to access array offset on value of type null in /var/www/html/opendtu.php on line 275
Code: Alles auswählen
$Regler = "89";
$GeraeteNummer = "2";
$WR_IP = "10.1.x.x"; // Keine führenden Nullen! 67.xx Ja!, 067.xx Nein!
$WR_Port = "80";
$WR_Adresse = "1"; // Achtung Adresse als Dezimalzahl eingeben / 1 bis 256
$DTU_User = "admin";
$DTU_Kennwort = "password";