Seite 1 von 1

Kurios - Victron SmartSolar - Nur Werte wenn mit Netzwerk verbunden

Verfasst: Di 31. Aug 2021, 20:04
von Stargazer
Hallo zusammen,

ich nutze einen Victron SmartSolar 75/15 Laderegler und wollte für unser Wohnmobil eine schöne Übersicht mit der Solaranzeige verwirklichen.
Das läuft auch soweit und erst einmal ein großes Lob an die Entwickler.

Doch es gibt zwei Dinge, die mir aufgefallen sind:

1.: Ich bekomme nur aktualisierte Werte vom Laderegler, wenn ich mit dem RasPi in einem (Internet)Netzwerk bin.

2.: Der Werte aktualisieren sich im allgemeinen etwas schleppender. Wenn ich eine fest definierte Spannung an den PV-Eingang
anschließe, dauert es so 4 - 5 Minuten, bis dieser Wert korrekt angezeigt wird. Egal, ob ich die Werte alle 5 Sekunden oder einmal
pro Minute auslesen lasse.

Hat jemand auch so etwas schon beobachten können ?

Hardware: Raspberry 3B+ mit 7" orig. Touchdisplay. Anbindung an den Regler via V.DE-Kabel. Ebenfalls auch Original.

Viele Grüße und besten Dank

André

Re: Kurios - Victron SmartSolar - Nur Werte wenn mit Netzwerk verbunden

Verfasst: Mi 1. Sep 2021, 08:04
von Ulrich
Hallo André,

kannst du bitte einmal einen Auszug aus der PHP LOG Datei posten.

/var/www/log/php.log

Re: Kurios - Victron SmartSolar - Nur Werte wenn mit Netzwerk verbunden

Verfasst: Mi 1. Sep 2021, 16:36
von Stargazer
Hallo zusammen,

hier noch ein Mitschnitt aus dem Log:

Code: Alles auswählen

[30-Aug-2021 19:48:21 Europe/Berlin] PHP Notice:  Undefined index: Produkt in /var/www/html/victron_solarregler.php on line 228
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Ladestatus in /var/www/html/victron_solarregler.php on line 276
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Batteriespannung in /var/www/html/phpinc/funktionen.inc.php on line 641
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Batterieladestrom in /var/www/html/phpinc/funktionen.inc.php on line 642
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Batterieentladestrom in /var/www/html/phpinc/funktionen.inc.php on line 643
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: BatterieladestromMaxHeute in /var/www/html/phpinc/funktionen.inc.php on line 644
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: BatterieSenseTemp in /var/www/html/phpinc/funktionen.inc.php on line 645
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Solarspannung in /var/www/html/phpinc/funktionen.inc.php on line 648
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Solarstrom in /var/www/html/phpinc/funktionen.inc.php on line 649
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Solarleistung in /var/www/html/phpinc/funktionen.inc.php on line 650
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: SolarspannungMaxHeute in /var/www/html/phpinc/funktionen.inc.php on line 651
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: maxWattHeute in /var/www/html/phpinc/funktionen.inc.php on line 652
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Ladestatus in /var/www/html/phpinc/funktionen.inc.php on line 655
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: LoadStatus in /var/www/html/phpinc/funktionen.inc.php on line 656
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Temperatur in /var/www/html/phpinc/funktionen.inc.php on line 657
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: Optionen in /var/www/html/phpinc/funktionen.inc.php on line 658
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: WattstundenGesamtHeute in /var/www/html/phpinc/funktionen.inc.php on line 661
[30-Aug-2021 19:48:25 Europe/Berlin] PHP Notice:  Undefined index: WattstundenGesamt in /var/www/html/phpinc/funktionen.inc.php on line 662
[30-Aug-2021 19:51:21 Europe/Berlin] PHP Notice:  Undefined index: Produkt in /var/www/html/victron_solarregler.php on line 228
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Ladestatus in /var/www/html/victron_solarregler.php on line 276
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Batteriespannung in /var/www/html/phpinc/funktionen.inc.php on line 641
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Batterieladestrom in /var/www/html/phpinc/funktionen.inc.php on line 642
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Batterieentladestrom in /var/www/html/phpinc/funktionen.inc.php on line 643
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: BatterieladestromMaxHeute in /var/www/html/phpinc/funktionen.inc.php on line 644
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: BatterieSenseTemp in /var/www/html/phpinc/funktionen.inc.php on line 645
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Solarspannung in /var/www/html/phpinc/funktionen.inc.php on line 648
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Solarstrom in /var/www/html/phpinc/funktionen.inc.php on line 649
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Batterieladestrom in /var/www/html/phpinc/funktionen.inc.php on line 642
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Batterieentladestrom in /var/www/html/phpinc/funktionen.inc.php on line 643
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: BatterieladestromMaxHeute in /var/www/html/phpinc/funktionen.inc.php on line 644
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: BatterieSenseTemp in /var/www/html/phpinc/funktionen.inc.php on line 645
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Solarspannung in /var/www/html/phpinc/funktionen.inc.php on line 648
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Solarstrom in /var/www/html/phpinc/funktionen.inc.php on line 649
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Solarleistung in /var/www/html/phpinc/funktionen.inc.php on line 650
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: SolarspannungMaxHeute in /var/www/html/phpinc/funktionen.inc.php on line 651
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: maxWattHeute in /var/www/html/phpinc/funktionen.inc.php on line 652
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Ladestatus in /var/www/html/phpinc/funktionen.inc.php on line 655
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: LoadStatus in /var/www/html/phpinc/funktionen.inc.php on line 656
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Temperatur in /var/www/html/phpinc/funktionen.inc.php on line 657
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: Optionen in /var/www/html/phpinc/funktionen.inc.php on line 658
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: WattstundenGesamtHeute in /var/www/html/phpinc/funktionen.inc.php on line 661
[30-Aug-2021 19:51:25 Europe/Berlin] PHP Notice:  Undefined index: WattstundenGesamt in /var/www/html/phpinc/funktionen.inc.php on line 662
[30-Aug-2021 19:54:07 Europe/Berlin] PHP Notice:  Undefined index: Produkt in /var/www/html/victron_solarregler.php on line 228
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Ladestatus in /var/www/html/victron_solarregler.php on line 276
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Batteriespannung in /var/www/html/phpinc/funktionen.inc.php on line 641
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Batterieladestrom in /var/www/html/phpinc/funktionen.inc.php on line 642
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Batterieentladestrom in /var/www/html/phpinc/funktionen.inc.php on line 643
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: BatterieSenseTemp in /var/www/html/phpinc/funktionen.inc.php on line 645
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Solarspannung in /var/www/html/phpinc/funktionen.inc.php on line 648
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Solarstrom in /var/www/html/phpinc/funktionen.inc.php on line 649
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Solarleistung in /var/www/html/phpinc/funktionen.inc.php on line 650
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: maxWattHeute in /var/www/html/phpinc/funktionen.inc.php on line 652
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Ladestatus in /var/www/html/phpinc/funktionen.inc.php on line 655
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Temperatur in /var/www/html/phpinc/funktionen.inc.php on line 657
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: Optionen in /var/www/html/phpinc/funktionen.inc.php on line 658
[30-Aug-2021 19:54:08 Europe/Berlin] PHP Notice:  Undefined index: WattstundenGesamt in /var/www/html/phpinc/funktionen.inc.php on line 662
[30-Aug-2021 19:59:21 Europe/Berlin] PHP Notice:  Undefined index: Produkt in /var/www/html/victron_solarregler.php on line 228
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Ladestatus in /var/www/html/victron_solarregler.php on line 276
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Batteriespannung in /var/www/html/phpinc/funktionen.inc.php on line 641
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Batterieladestrom in /var/www/html/phpinc/funktionen.inc.php on line 642
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Batterieentladestrom in /var/www/html/phpinc/funktionen.inc.php on line 643
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: BatterieladestromMaxHeute in /var/www/html/phpinc/funktionen.inc.php on line 644
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: BatterieSenseTemp in /var/www/html/phpinc/funktionen.inc.php on line 645
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Solarspannung in /var/www/html/phpinc/funktionen.inc.php on line 648
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Solarstrom in /var/www/html/phpinc/funktionen.inc.php on line 649
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Solarleistung in /var/www/html/phpinc/funktionen.inc.php on line 650
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: SolarspannungMaxHeute in /var/www/html/phpinc/funktionen.inc.php on line 651
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: maxWattHeute in /var/www/html/phpinc/funktionen.inc.php on line 652
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Ladestatus in /var/www/html/phpinc/funktionen.inc.php on line 655
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: LoadStatus in /var/www/html/phpinc/funktionen.inc.php on line 656
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Temperatur in /var/www/html/phpinc/funktionen.inc.php on line 657
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: Optionen in /var/www/html/phpinc/funktionen.inc.php on line 658
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: WattstundenGesamtHeute in /var/www/html/phpinc/funktionen.inc.php on line 661
[30-Aug-2021 19:59:25 Europe/Berlin] PHP Notice:  Undefined index: WattstundenGesamt in /var/www/html/phpinc/funktionen.inc.php on line 662
[30-Aug-2021 21:56:02 Europe/Berlin] PHP Warning:  fopen(/dev/ttyUSB0): failed to open stream: No such file or directory in /var/www/html/phpinc/funktionen.inc.php on line 10
[30-Aug-2021 21:57:01 Europe/Berlin] PHP Warning:  fopen(/dev/ttyUSB0): failed to open stream: No such file or directory in /var/www/html/phpinc/funktionen.inc.php on line 10
[30-Aug-2021 21:58:01 Europe/Berlin] PHP Warning:  fopen(/dev/ttyUSB0): failed to open stream: No such file or directory in /var/www/html/phpinc/funktionen.inc.php on line 10
Einen direkten Hinweis auf ein Netzwerkeintrag kann ich aktuell nicht erkennen...

VG

André

Re: Kurios - Victron SmartSolar - Nur Werte wenn mit Netzwerk verbunden

Verfasst: Mi 1. Sep 2021, 16:53
von Ulrich
Der Fehler ist die USB Verbindung /dev/ttyUSB0

Da das Netzwerk auch auf dem USB Kanal werkelt musst du in diese Richtung suchen. Es sieht so aus, als wenn das Netzwerk gestoppt wird, alle USB Ports mit ausfallen.

Re: Kurios - Victron SmartSolar - Nur Werte wenn mit Netzwerk verbunden

Verfasst: Do 2. Sep 2021, 10:06
von solarfanenrico
Ulrich hat geschrieben:
Mi 1. Sep 2021, 16:53
Der Fehler ist die USB Verbindung /dev/ttyUSB0

Da das Netzwerk auch auf dem USB Kanal werkelt musst du in diese Richtung suchen. Es sieht so aus, als wenn das Netzwerk gestoppt wird, alle USB Ports mit ausfallen.
Hallo,
ich habe gerade mit meinen Growatt-Wechselrichtern diesen Test durchgeführt.
Diese WR sind alle über RS485 am Raspberry Pi4 angeschlossen.
Der Raspberry über LAN mit einem Repeater ins Netzwerk.

1.Versuch
Netzwerkkabel vom Repeater abgezogen > Datenlogging i.o
2.Versuch
Netwerkkabel vom Raspberry abgezogen > i.o.

Da mein Raspberry auch WLAN aktiviert hat,
3.Versuch
auch den Repeater vom Netz genommen > trotzdem Datenlogging i.o.

Obwohl der Raspberry über WLAN ohne den Repeater nicht erreichbar ist hat er Daten aus den WR bezogen. Also bleiben bei mir auch die USB-Ports scharf geschalten.

Ich würde an den Raspberry mal eine Tastatur/Maus und HDMI-Bildschirm verbinden. Nachdem er gestartet ist, wird Grafana angezeigt. Dies kann man mit STRG +F4 beenden. Dann kommt der offizielle Raspi-Bildschirm, wo man oben rechts die Netzwerkkonfiguration durchführen kann.
Wenn dort WLAN aktiviert wird, so sucht die Schnittstelle wohl immer nach dem WLAN-Netz und somit wird auch auf die USB-Ports geachtet.

Die LAN-Verbindung selbst wird immer als erstes genommen, auch wenn WLAN aktiviert ist.

Enrico