[Modul] Shelly

Die Meldungen sollten im Log sein.

Grüße,
Kai

Hallo Kai,
das müsste der passende Ausschnitt aus der Log-Datei sein:

13.01.2024 21:42:00 | 42622 | MESSAGE | VariableManager      | [Haus\Energie und Strom\shellyem3-34945475593B\berechnete Variablen\Strombezug heute] = 12.4660000000
13.01.2024 21:42:00 | 58746 | MESSAGE | ShellyPlusPMMini     | Ident: Current Type: double
13.01.2024 21:42:00 | 36318 | DEBUG   | VariableManager      | [Kuchen\Energie und Strom\Kuchen Balkonkraftwerk\Stromstärke] = 0.0000000000
13.01.2024 21:42:00 | 58746 | MESSAGE | ShellyPlusPMMini     | Ident: Voltage Type: double
13.01.2024 21:42:00 | 18876 | MESSAGE | VariableManager      | [Kuchen\Energie und Strom\Kuchen Balkonkraftwerk\Volt] = 236.2000000000
13.01.2024 21:42:00 | 58746 | MESSAGE | ShellyPlusPMMini     | Ident: Power Type: double
13.01.2024 21:42:00 | 20185 | DEBUG   | VariableManager      | [Kuchen\Energie und Strom\Kuchen Balkonkraftwerk\Leistung] = 0.0000000000
13.01.2024 21:42:00 | 58746 | MESSAGE | ShellyPlusPMMini     | Ident: Frequency Type: double
13.01.2024 21:42:00 | 47836 | DEBUG   | VariableManager      | [Kuchen\Energie und Strom\Kuchen Balkonkraftwerk\Frequenz] = 50.0000000000
13.01.2024 21:42:00 | 58746 | MESSAGE | ShellyPlusPMMini     | Ident: TotalEnergy Type: double
13.01.2024 21:42:00 | 25024 | DEBUG   | VariableManager      | [Kuchen\Energie und Strom\Kuchen Balkonkraftwerk\Gesamt Energie] = 12.4664310000
13.01.2024 21:42:00 | 58746 | MESSAGE | ShellyPlusPMMini     | Ident: Error Type: array
13.01.2024 21:42:00 | 41155 | DEBUG   | VariableManager      | [IPSLogger\LastMessage Output] = <div style="color:#000000;background:#FF0000;">Error: Warning: Cannot auto-convert value for parameter Value (Type does not match)
   Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</div>
13.01.2024 21:42:00 | 36449 | MESSAGE | VariableManager      | [IPSLogger\Messages Output] = <style>.row-highlight tr:hover {
							 background-color: rgba(255, 255, 255, 0.1) !important;
							 color:#808080 !important;}</style>
						<table width="100%" class="row-highlight" style="font-family:courier; font-size:11px; "><colgroup><col width="25px"><col width="40px"><col width="100px"><col width="200px"><col></colgroup><tr id="441294" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:32:06.521</td><td><DIV>Notice: Trying to access array offset on value of type bool<BR>    Error in Script /var/lib/symcon/scripts/36207.ips.php on Line 144</DIV></td></tr><tr id="441295" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:32:06.533</td><td><DIV>Notice: Trying to access array offset on value of type bool<BR>    Error in Script /var/lib/symcon/scripts/36207.ips.php on Line 146</DIV></td></tr><tr id="441296" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:32:06.580</td><td><DIV>Notice: Trying to access array offset on value of type bool<BR>    Error in Script /var/lib/symcon/scripts/36207.ips.php on Line 148</DIV></td></tr><tr id="441297" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:32:06.600</td><td><DIV>Notice: Trying to access array offset on value of type bool<BR>    Error in Script /var/lib/symcon/scripts/36207.ips.php on Line 150</DIV></td></tr><tr id="441298" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:32:06.622</td><td><DIV>Notice: Trying to access array offset on value of type bool<BR>    Error in Script /var/lib/symcon/scripts/36207.ips.php on Line 152</DIV></td></tr><tr id="441299" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:32:06.623</td><td><DIV>Maximal ErrorCount exceeded for this Session --> Abort Processing</DIV></td></tr><tr id="441300" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:32:46.657</td><td><DIV>Notice: Undefined offset: 0<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/ShellyConfigurator/module.php on Line 793</DIV></td></tr><tr id="441301" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:33:05.245</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr><tr id="441302" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:34:00.855</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr><tr id="441303" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:34:10.536</td><td><DIV>Notice: Undefined offset: 0<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/ShellyConfigurator/module.php on Line 793</DIV></td></tr><tr id="441304" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:35:00.818</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr><tr id="441305" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:35:55.775</td><td><DIV>Notice: Undefined offset: 0<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/ShellyConfigurator/module.php on Line 793</DIV></td></tr><tr id="441306" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:36:00.820</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr><tr id="441307" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:37:00.814</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr><tr id="441308" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:38:00.846</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr><tr id="441309" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:38:20.381</td><td><DIV>Notice: Undefined offset: 0<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/ShellyConfigurator/module.php on Line 793</DIV></td></tr><tr id="441310" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:39:00.808</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr><tr id="441311" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:40:00.810</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr><tr id="441312" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:41:00.804</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr><tr id="441313" style="color:#000000;background:#FF0000;"><td>IPS</td><td>-Err-</td><td title="PHP">PHP</td><td>2024-01-13 21:42:00.797</td><td><DIV>Warning: Cannot auto-convert value for parameter Value (Type does not match)<BR>    Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135</DIV></td></tr></table>
13.01.2024 21:42:00 | 00000 | CUSTOM  | PHP                  | Error: Warning: Cannot auto-convert value for parameter Value (Type does not match)
   Error in Script /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on Line 135
13.01.2024 21:42:00 | 58746 | ERROR   | FlowHandler          | Kann Daten nicht zur Instanz #58746 weiterleiten: 
Warning: Cannot auto-convert value for parameter Value (Type does not match) in /var/lib/symcon/modules/.store/info.schnittcher.ips.shelly/libs/ShellyModule.php on line 135
RESULT:
13.01.2024 21:42:00 | 42979 | DEBUG   | VariableManager      | [Kuchen\Energie und Strom\Kuchen Balkonkraftwerk\Energiezaehler (Spannung-Strom)\Counter] = 15.9755300164
13.01.2024 21:42:00 | 49521 | DEBUG   | VariableManager      | [Kuchen\Energie und Strom\Kuchen Balkonkraftwerk\Energiezaehler (Spannung-Strom)\Current] = 0.0000000000
13.01.2024 21:42:00 | 51870 | DEBUG   | VariableManager      | [Kuchen\Energie und Strom\Kuchen Balkonkraftwerk\Energiezaehler (Watt)\Counter] = -12.3967355556
13.01.2024 21:42:00 | 10554 | DEBUG   | VariableManager      | [Kuchen\Energie und Strom\Kuchen Balkonkraftwerk\Energiezaehler (Watt)\Current] = 0.0000000000
13.01.2024 21:42:00 | 50858 | DEBUG   | VariableManager      | [Entertainment\Sonos-Lautsprecher\Symfonisk EG WoZi\Symfonisk-EG-WoZi\Lautstärke] = 20

Viele Grüße
Thorsten

Danke, ich habe den Fehler glaube ich gefunden. :slight_smile:

Grüße,
Kai

Frage zum Shelly pro 3EM

Mein Zweiwegerichtungszähler wird ausgetauscht, damit passt mein alter Powerfox Adapter nicht mehr, heißt, ich müssten mir auf jeden Fall einen neuen Adapter kaufen… H
Kauf ich mir einen Powerfox muss ich in 8 Jahren wieder was neues kaufen…

Deshalb die Überlegung einen Shelly pro 3EM zu installieren.

Info: Habe eine PV mit drei-phasiger Einspeisung.

Wie ist das mit den 3 Phasen vom Shelly wird dort eine saldierte Leistung je Phase angezeigt? Oder gibt es nur eine Saldierung über alle drei Phasen.
Evtl. könnte jemand der auch eine Einspeisung hat einen Screenshot posten?

Habe jetzt seit April 23 den Thread gelesen, und KaiS schrieb im August, dass nun die Saldierung funktioniert…

Wäre wirklich für eine kurze Erklärung ggf. mit Screenshot dankbar.

VG
Jürgen

Würde ich heute nicht mehr mit einem Shelly machen, lieber einen richtigen (Zwischen)Zähler mit Modbus.

8 Beiträge wurden in ein neues Thema verschoben: ModBus Zähler anstatt Shelly

Es sollte eine neue Beta Version geben, da sollte der Fehler gefixt sein.

Grüße,
Kai

Bei mir kommt die Temperatur an.

Edit: ich habe die V1 Plugs.
Kannst du mal ein Debug erzeugen?

Grüße,
Kai

Ich dachte ich hätte V2, bin aber gar nicht sicher wo ich das erkenne.
Meine sind glatt aussenherum und haben keine Vertiefungen (Rillen oder so).
So schaut das in der Cloud aus. Aber ich finde in der Cloud die Temp schon nicht. Weiss jemand wo die dort zu finden ist?
Haben V2 (falls ich die habe) evtl. gar keine Temp mehr?

In welchem Moment brauchst den Debug, einfach laufen lassen oder bei einer bestimmten Aktion?

Danke und Gruss Seppm

Schau mal bitte im Konfigurator, da erkennst du das.

Grüße,
Kai

ah, ja da steht es. V1

ausgewählt ist es überall

Hab jetzt auf die neueste Beta updated.
Danach hat er bei Aktualisieren auch noch einen weiteren gefunden der früher schon mal eingebunden war, aber dann im Configurator fast 2 Wochen nicht mehr kam. Ein Fünfter (Lichterkette wird da auch nciht gefunden, den hab ich händisch ergänzt.

Jetzt kommen bei 3 von 5 die Temp alle 1 Minute.
Bei zweien gar nicht, obwohl bei einem mal am 27.12. einmal ein Wert kam.

Hier ein Debug Configurator V2 wenn ich auf „Aktualisieren“ drücke, oder brauchst da was anders?
dump_Shelly_configV2.txt (5,8 KB)

Soll ich 2 die keine Temp bringen mal wegwerfen und neu einbinden? Da hängt erst bei einem mehr dran (Visu etc.)

Cheers Seppm

Lösche die Instanzen und bin diese mal neu ein.

Grüße,
Kai

OK, muss ich heute Abend machen. Werde berichten,
Bei einer anderen Maschine hab ich auch die Beta eingespielt und V2 nochmal. Seitdem kommen da auch die Temps, das ist ja schon mal super.

Hab ich bei einer schnell gemacht.
Hat sich nicht gelohnt da die Temp weiter nicht gesendet wird.
Er hat das Ding sauber im V2 gefunden und angelegt, aber die Temp mag nicht.

Kann das sein dass der Shelly das einfach nicht schickt?
Hab den auch schon neu gestartet. Temp kommt nicht.

Danke und Gruss Seppm

Seit dem letzten Update der Beta findet der Konfigurator nur mehr einen Shelly Plug S (ich hab nur die im Einsatz).
Nach dem Update war die Instanz des Konfigurators (nicht V2) als fehlerhaft markiert. Ich hab die Instanz gelöscht und neu angelegt, dann war der Fehler weg.
In beiden Versionen („nicht V2“ und V2) wird nur ein Plug gefunden.

ja, nach dem Update ging der normale Konfigurator bei mir auch auf Fehler. Hab ich aber nicht romprobiert da ich den eh nicht genutzt habe.
Denke, ich werde den löschen.
Cheers Seppm

Es gibt da einige Fehler in meinem Log


Die Instanz ist der Shelly Konfigurator V2

Und noch das

Fehlermeldung Konfigurator V2:

kann den Debug nicht einschlaten Fehlermeldung kommt gleich nach start:

Konnte Konfigurationsform nicht laden
Warning: Undefined array key „IPv4“ in /mnt/data/symcon/modules/.store/info.schnittcher.ips.shelly/ShellyConfigurator/module.php on line 665

Fatal error: Uncaught TypeError: strtolower(): Argument #1 ($string) must be of type string, null given in /mnt/data/symcon/modules/.store/info.schnittcher.ips.shelly/ShellyConfigurator/module.php:667
Stack trace:
#0 /mnt/data/symcon/modules/.store/info.schnittcher.ips.shelly/ShellyConfigurator/module.php(667): strtolower(NULL)
#1 /-(3): ShellyConfigurator->GetConfigurationForm()
#2 {main}
thrown in /mnt/data/symcon/modules/.store/info.schnittcher.ips.shelly/ShellyConfigurator/module.php on line 667 (Code: -32603)

Erstell doch mal über einen etwas längeren Zeitraum von dem Shelly ein Debug.

Grüße,
Kai

Kannst du von dem Konfigurator mal ein Debug erstellen?

Grüße,
Kai